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=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,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 73C5EC433B4 for ; Thu, 8 Apr 2021 17:27:04 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7BE7D610C8 for ; Thu, 8 Apr 2021 17:27:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7BE7D610C8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Subject:Cc:To: From:Message-ID:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ls7Ip9o94pkp32/vVzkF704dp0SyXCofojlsaK33nFE=; b=knnRiBFGvvNAuGTg2Al20+9NJ SrN9ZrmhnKObXoRy5lXfPUHLMnmIy1yK8uYJVC8sBBdg5WR4tjgR8HF7Uf95XZrfsAWdW9Ekehuo4 pmQCk8Kat8KxMEjgFySMVzPH66NGrm3oJuz9hopSFmKTaKGpyweefR8ivm4fLtR+4kaf8nN74bqwE 0jT4yJY9e4uybSeYaC6UAE0G/qrYRpUUVsi0VRSy4ghE9zsrHvk77vk955BmNAfEbLOlJGKfZ5paQ fr1YscaK551C0tsOi4pG+/SBiuoMstPHP55Gop1sUgIDZyGJdXMG3L29570R3dXxlRBW4nTGyiV/L bU0n4352A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lUYOo-008mAo-ED; Thu, 08 Apr 2021 17:24:58 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUYON-008m79-7Z for linux-arm-kernel@lists.infradead.org; Thu, 08 Apr 2021 17:24:48 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5602261131; Thu, 8 Apr 2021 17:24:29 +0000 (UTC) Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lUYOJ-006MoZ-1I; Thu, 08 Apr 2021 18:24:27 +0100 Date: Thu, 08 Apr 2021 18:24:25 +0100 Message-ID: <87o8eoofjq.wl-maz@kernel.org> From: Marc Zyngier To: Will Deacon Cc: linux-arm-kernel@lists.infradead.org, Hector Martin , Arnd Bergmann , Mark Rutland , Catalin Marinas , kernel-team@android.com Subject: Re: [PATCH v3 3/3] arm64: Get rid of CONFIG_ARM64_VHE In-Reply-To: <20210408165912.GA18321@willie-the-truck> References: <20210408131010.1109027-1-maz@kernel.org> <20210408131010.1109027-4-maz@kernel.org> <20210408165912.GA18321@willie-the-truck> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: will@kernel.org, linux-arm-kernel@lists.infradead.org, marcan@marcan.st, arnd@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, kernel-team@android.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210408_182431_879785_FB3A6E7F X-CRM114-Status: GOOD ( 24.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 08 Apr 2021 17:59:14 +0100, Will Deacon wrote: > > On Thu, Apr 08, 2021 at 02:10:10PM +0100, Marc Zyngier wrote: > > CONFIG_ARM64_VHE was introduced with ARMv8.1 (some 7 years ago), > > and has been enabled by default for almost all that time. > > > > Given that newer systems that are VHE capable are finally becoming > > available, and that some systems are even incapable of not running VHE, > > drop the configuration altogether. > > > > Anyone willing to stick to non-VHE on VHE hardware for obscure > > reasons should use the 'kvm-arm.mode=nvhe' command-line option. > > > > Suggested-by: Will Deacon > > Signed-off-by: Marc Zyngier > > --- > > .../admin-guide/kernel-parameters.txt | 3 +-- > > arch/arm64/Kconfig | 20 ------------------- > > arch/arm64/kernel/cpufeature.c | 4 ---- > > arch/arm64/kernel/hyp-stub.S | 2 -- > > 4 files changed, 1 insertion(+), 28 deletions(-) > > Huh, I was really expecting to see ARM64_VHE crop up in some Makefiles, but > it doesn't seem to! So: It was a design decision from the very beginning that all the VHE code would always be compiled in to avoid bitrot. It probably helped weeding out some early bugs. > Acked-by: Will Deacon Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel