From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 207E7C433E0 for ; Sat, 23 Jan 2021 14:16:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E25AF22B51 for ; Sat, 23 Jan 2021 14:16:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725881AbhAWOQ2 (ORCPT ); Sat, 23 Jan 2021 09:16:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:34472 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbhAWOQY (ORCPT ); Sat, 23 Jan 2021 09:16:24 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6FD1B22B51; Sat, 23 Jan 2021 14:15:41 +0000 (UTC) Date: Sat, 23 Jan 2021 14:15:39 +0000 From: Catalin Marinas To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, Will Deacon , Mark Rutland , David Brazdil , Alexandru Elisei , Ard Biesheuvel , Jing Zhang , Ajay Patil , Prasad Sodagudi , Srinivas Ramana , James Morse , Julien Thierry , Suzuki K Poulose , kernel-team@android.com Subject: Re: [PATCH v4 16/21] arm64: Make kvm-arm.mode={nvhe,protected} an alias of id_aa64mmfr1.vh=0 Message-ID: References: <20210118094533.2874082-1-maz@kernel.org> <20210118094533.2874082-17-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210118094533.2874082-17-maz@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 18, 2021 at 09:45:28AM +0000, Marc Zyngier wrote: > Admitedly, passing id_aa64mmfr1.vh=0 on the command-line isn't > that easy to understand, and it is likely that users would much > prefer write "kvm-arm.mode=nvhe", or "...=protected". > > So here you go. This has the added advantage that we can now > always honor the "kvm-arm.mode=protected" option, even when > booting on a VHE system. > > Signed-off-by: Marc Zyngier Acked-by: Catalin Marinas