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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A29B3C4332F for ; Wed, 13 Dec 2023 17:39:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gGHAuJrp+/pG8ZyFpXOx1337HFDdWEbTUUrk1HPeWtA=; b=rRh+Nt6XGm32/4 Oal6LzaMEQ8HrNCEyKRbLwssQGjoZ9suG38EPVU/3aY2B+bYSQVTiygG89TrCW1e81Iv9PWSOL1JS kbICKzBFeQKV/W7lcWkUSWUoD6VBsoTYuliFL6Ut/nEQgGX/B7BWhbHIeEiLKYHeWll/tQa3wRghl hUmv6dg7+2JOcPkxZkqMVDotSpHZcQekApmrzUu9gFPTfBxqhfqEEnqoq2649OfpanuD0X46z4lsV NrljvPYZKkzd7RpGkJ07k81Hm6gCIIK7RaT+cTK1SR3m7ao2klsewPHBMBrzHVlz2+j3UqfMUVXL6 vPKsFuokbuVh08qBlTXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDTCr-00FdJE-0I; Wed, 13 Dec 2023 17:39:37 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDTCn-00FdHZ-2j for linux-arm-kernel@lists.infradead.org; Wed, 13 Dec 2023 17:39:35 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 73445C15; Wed, 13 Dec 2023 09:40:14 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.44.208]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 803CB3F762; Wed, 13 Dec 2023 09:39:27 -0800 (PST) Date: Wed, 13 Dec 2023 17:39:24 +0000 From: Mark Rutland To: Will Deacon Cc: linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, kernel-team@android.com, ardb@kernel.org Subject: Re: [PATCH 0/2] arm64: cpucap handling cleanups Message-ID: References: <20231212170910.3745497-1-mark.rutland@arm.com> <170248332281.2991306.7731192579703060918.b4-ty@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <170248332281.2991306.7731192579703060918.b4-ty@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231213_093933_948651_3A2FC549 X-CRM114-Status: GOOD ( 16.46 ) 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 Wed, Dec 13, 2023 at 05:25:18PM +0000, Will Deacon wrote: > On Tue, 12 Dec 2023 17:09:08 +0000, Mark Rutland wrote: > > The recent changes to remove cpus_have_const_cap() left a period between > > detecting cpucaps and patching alternatives where it is necessary to use > > cpus_have_cap() to check that a cpucap has been detected. During this > > period we do a few things, and there's a risk that code using a mixture > > of cpus_have_cap() and alternative_has_cap_*() sees an inconsistent > > state. > > > > [...] > > Applied to arm64 (for-next/cpufeature), thanks! > > Basing the series on for-next/fixes makes it fiddly to manage, so I > dropped the kpti_install_ng_mappings() hunk from patch 1 and will > re-introduce it when I merge the branches together. Thanks, and sorry for the hassle! The changes and resolution in that branch look good to me (and build and boot cleanly); I'll go throw that on my test system and see if anything blows up overnight. Mark. > [1/2] arm64: Cleanup system cpucap handling > https://git.kernel.org/arm64/c/63a2d92e1461 > [2/2] arm64: Align boot cpucap handling with system cpucap handling > https://git.kernel.org/arm64/c/eb15d707c252 > > Cheers, > -- > Will > > https://fixes.arm64.dev > https://next.arm64.dev > https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel