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 4CBB4C4725D for ; Fri, 19 Jan 2024 10:33:46 +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=wq3H9u8HvfE8AGTsIjfOBEVbCT2/Kd8i+OuhXSth6Bs=; b=pJxi+vrM+a8onj 8F91fx7F/ja9R8N0NMOv1SnJOME8Zt5aCFgizAIIwYqpciOZk80jYu0WVj1jBfgzYBN8ooil+O9IH sqRtvzq40iH5N8qp8h6HL4pHcc2iI39hpPxTfjbA2RNwi9DMPtL0XyF8EaKtAgJv03HQJAsWVoJ4t RiHk00rlHxhavoO2zWJJtFy1R4K6HEo1Qqo6ISfUyxWsKk3dFmj+TaDT3OEXMHUoEmxRxDcGDqCDt esYWEKy/m5PS2b5zQqtTisUQ2nhPRSeO0fgx+wPI4luzUZT5yF6bRHAiX4ebHlzhedS0Y+DE0eI1T La2QaNpFbz66Prw/sZJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rQmBX-0056ID-2f; Fri, 19 Jan 2024 10:33:15 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rQmBU-0056Ho-17 for linux-arm-kernel@lists.infradead.org; Fri, 19 Jan 2024 10:33:14 +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 AD8C21042; Fri, 19 Jan 2024 02:33:53 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.47.176]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C3E173F73F; Fri, 19 Jan 2024 02:33:05 -0800 (PST) Date: Fri, 19 Jan 2024 10:32:59 +0000 From: Mark Rutland To: Will Deacon Cc: linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, kernel-team@android.com, stable@vger.kernel.org, robh@kernel.org, james.morse@arm.com Subject: Re: [PATCH 0/2] arm64: fix+cleanup for ARM64_WORKAROUND_SPECULATIVE_UNPRIV_LOAD Message-ID: References: <20240116110221.420467-1-mark.rutland@arm.com> <170557561037.3200718.6656632532505785315.b4-ty@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <170557561037.3200718.6656632532505785315.b4-ty@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240119_023312_531358_A1B91B66 X-CRM114-Status: GOOD ( 19.92 ) 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, Jan 18, 2024 at 12:02:26PM +0000, Will Deacon wrote: > On Tue, 16 Jan 2024 11:02:19 +0000, Mark Rutland wrote: > > While testing an unrelated patch on the arm64 for-next/core branch, I > > spotted an issue in the ARM64_WORKAROUND_SPECULATIVE_UNPRIV_LOAD > > workaround. The first patch fixes that issue, and the second patch > > cleans up the remaining logic. > > > > The issue has existed since the workaround was introduced in commit: > > > > [...] > > Cheers, I picked these up, but you might need to shepherd them > through -stable, so please keep an eye out for any "failed to apply" > mails. > > Talking of which, the original workaround didn't make it to any kernels > before 6.1: > > [5.15] https://lore.kernel.org/r/2023100743-evasion-figment-fbcc@gregkh > [5.10] https://lore.kernel.org/r/2023100745-statute-component-dd0f@gregkh >From a quick look, these failed because we forgot to backport some prior errata workarounds (which are still missing from stable), and backported others out-of-order relative to mainline, so every subsequent backport is likely to hit a massive text conflict in the diff. I'll have a go at backorting the missing pieces in-order to get this closer to mainline. I suspect that'll take a short while... Going forwards, we should check that errata patches are CC'd to stable appropriately when we merge them in the arm64 tree, and we should make sure those are successfully backported in-order. Mark. > > Please can you or Rob have a crack at that? > > [1/2] arm64: entry: fix ARM64_WORKAROUND_SPECULATIVE_UNPRIV_LOAD > https://git.kernel.org/arm64/c/832dd634bd1b > [2/2] arm64: entry: simplify kernel_exit logic > https://git.kernel.org/arm64/c/da59f1d051d5 > > 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