Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1807283pxb; Sat, 23 Jan 2021 06:17:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRuV40WL348dRTClA89aYeHLcRdOIfQgbB5pNDXL2Aabc/+fVARXtm11Z2u0MY4Zl61Epj X-Received: by 2002:a17:906:6887:: with SMTP id n7mr1010256ejr.362.1611411439219; Sat, 23 Jan 2021 06:17:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611411439; cv=none; d=google.com; s=arc-20160816; b=fB5tfodlqQ4I5oGp5VC3l3xYArY3bB6Gj680xjicnwO70b+G9Tb/UVp1C86mvuW0rQ R5dBd1JRTaELKk0eICfdQBmrdc/YWKUuzSjFcr7zuMSf5CH87XOz3oIfCDNRq1lkDUwj ArhA4eL9hJ2OcknLJeBSUZbiba1TAZKZaZDSt4uxaGNnMHUQSg5NRSliyvQuyL16IhFj HJlgXUHzDB5eX7yfyKYzNKVy+B4UlLRvgYwBIm2IUCukoNo9WtuxKlNqxGiBGch8XYIS 3wHHkabbAIaMSEsYaW94bqudnka3cZJJ0uy5VPT7u+j68XIqUtLGjKEfjoDuTDoZvcuZ 8W7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=pOwVNIusBQWkR7Vh2AbvYxgGcO36LoOreT9ZLU4j44I=; b=IfRH3Y65LfJkFstI9VnZkFWPErcpsMCj9ygWhV7bv3WBq53mT1yjARir7sh/rfnnei LSdm+HUS2qss8Id6zNERaCpsKiW3BjdCCwjqt4Si46Ebdz61byIM06KmvAOQG7vAMocI KX2MkgXM68Fmm8ExTaFADLKnmy8xD0OhTXLpm7qH8uWWFQv9Tq9Rt2CsQ9oQP8WBXGzR iCc1pFqJGaY1mmXe1g5xWE4uN61hUnbEFqpZHBzrYguVYP8IFB/eZgkkXUKgIzkOron/ YlnjkaTaZoIhS+bnOAr+jBZDioQVthOMqFksWE0kbqWZ09+p0muFxKWmmJqc0Nz7fgYj CI9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bl6si4346135ejb.204.2021.01.23.06.16.55; Sat, 23 Jan 2021 06:17:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725798AbhAWOQ1 (ORCPT + 99 others); Sat, 23 Jan 2021 09:16:27 -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