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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=no 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 AE6C5C00A89 for ; Fri, 30 Oct 2020 11:00:28 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 222BF206E5 for ; Fri, 30 Oct 2020 11:00:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Agtc8uqs"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="AagIEkax" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 222BF206E5 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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=sE4Xzq7RA0CEediBveuM4QN+gzngA86pz3QpIr9Vq3o=; b=Agtc8uqsiwwuY2+bucGhQ8jHd cwZxscOz+LSJIc2SxPvmgo/81AhriROMX6f8envfAguSEjMzIwTbP1WAVBkVn6jgZc+J9MzTVsMsQ x2ZBN642ShFrUEovWmU1WgibDlsVpJbQO+jKG9TV/AmJCbSyVwpOGITon8/poPikHCln9NtnGqxTK yttODGfHux5EGSY+V3qPPiuBR+B3czxlMAQkCL6Poj8p9+kmr4uHr21O0udtz7YnpvE1V2xx6w40x a5o0ulGMza/OTha0bJ3IplSH3qwTSqyWUNSebEEgvsDdjHSRL87hQD2Ab4N0yu+zMNNlXfFeYEzWy l6aW55HRQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYS8S-0004KI-VA; Fri, 30 Oct 2020 10:59:57 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYS8P-0004JD-U1 for linux-arm-kernel@lists.infradead.org; Fri, 30 Oct 2020 10:59:55 +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 BDCB1206E5; Fri, 30 Oct 2020 10:59:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604055592; bh=vFZEiRq+VecUTO7gR7w+iRbltgcn6QhEUpa9PM9Lnqg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AagIEkaxQuVS2TTTJQV1psjKPvM2l4eSshChK31N9XQUBSCRa9y++jEBg3ureBnIW ObchYQeRUR57y78V8U7cWE1l3BWyvfzeKqQBRVRtw+3qjqDkIZYmwJzOKyDKL6MZwq ltLgoRKpXRttsryl9RyLEMuC+5+MFOLUS3LiTeyA= Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=hot-poop.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kYS8M-005iuS-HR; Fri, 30 Oct 2020 10:59:50 +0000 From: Marc Zyngier To: kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, Mark Rutland Subject: Re: [PATCHv2 0/3] arm64: kvm: avoid referencing cpu_hwcaps from hyp Date: Fri, 30 Oct 2020 10:59:44 +0000 Message-Id: <160405552315.3015506.5626903450319191695.b4-ty@kernel.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201026134931.28246-1-mark.rutland@arm.com> References: <20201026134931.28246-1-mark.rutland@arm.com> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, mark.rutland@arm.com, will@kernel.org 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-20201030_065954_064096_3EB7D606 X-CRM114-Status: GOOD ( 12.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: will@kernel.org 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 Mon, 26 Oct 2020 13:49:28 +0000, Mark Rutland wrote: > In a few places we use cpus_have_const_cap() in hyp code, usually > because this is hidden within a helper that's also used in regular > kernel context. As cpus_have_const_cap() generates code to read the > cpu_hwcaps array before capabilities are finalized, this means we > generate some potentially-unsound references to regular kernel VAs, but > this these are redundant as capabilities are finalized before we > initialize the kvm hyp code. > > [...] Applied to next, thanks! [1/3] KVM: arm64: Factor out is_{vhe,nvhe}_hyp_code() commit: e9a33caec90e05673e2f7fb7c80f172031964d25 [2/3] arm64: cpufeature: reorder cpus_have_{const, final}_cap() commit: dfc4e3f08903ed8fe0b66cc25b64524a82654166 [3/3] arm64: cpufeature: upgrade hyp caps to final commit: d86de40decaa14e6613af1b2783bf4d589d0f38b Cheers, 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