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 A2F19C433EF for ; Fri, 18 Mar 2022 12:16:30 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rzFHT50xNWzzhF2E98dr0l/P2k8lpUAKOD/WROtDyeg=; b=pwSMf/0k5Wu/cI0OvMpMCOGRBa S041vPyN5vt3nWX7OpOqjD3PJRW3Nu7Dv6e72NdsOpKDYvEbCJdj/0srdLuzbHloeMnlY7/ko1c9f LKOULs89mqqL/cJyRzCwMDCl659F/Rh+rxEB1sZAHTsuMcuhTAwFDSKr1XzXdX8sirvqVaNTiyuug YdxrToSNKeBrWXGBH3/c3v1e8ejBqAjLUqAh0UIdlhT8wpwPAW7YJmqDmEcw/hQTNDlYm/nG8uoDF dCcEHooKy0PKzbemqbn1FrSFnL2yGR+rbsVYJddrN31IfNaN7Th5KOX5/rqHXcMRYN0l1oazn/nWX owoUeKng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVBVu-001WqD-Cu; Fri, 18 Mar 2022 12:15:26 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVBVq-001WpA-8G for linux-arm-kernel@lists.infradead.org; Fri, 18 Mar 2022 12:15:23 +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 BE6A91424; Fri, 18 Mar 2022 05:15:18 -0700 (PDT) Received: from [10.57.88.118] (unknown [10.57.88.118]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EF9EB3F7F5; Fri, 18 Mar 2022 05:15:17 -0700 (PDT) Subject: Re: [stable:PATCH v5.4.184 00/22] arm64: Mitigate spectre style branch history side channels To: Greg KH , Sasha Levin Cc: stable@vger.kernel.org, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org References: <20220315182415.3900464-1-james.morse@arm.com> From: James Morse Message-ID: <6d749d6c-aa5b-0c82-a404-62633a3da8ee@arm.com> Date: Fri, 18 Mar 2022 12:15:13 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220318_051522_400183_99EE7109 X-CRM114-Status: GOOD ( 17.84 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Greg, On 3/17/22 10:00 AM, Greg KH wrote: > On Wed, Mar 16, 2022 at 11:41:07AM -0400, Sasha Levin wrote: >> On Tue, Mar 15, 2022 at 06:23:53PM +0000, James Morse wrote: >>> Hi Greg, >>> >>> Here is the state of the current v5.4 backport. Now that the 32bit >>> code has been merged, it doesn't conflict when KVM's shared 32bit/64bit >>> code needs to use these constants. >>> >>> I've fixed the two issues that were reported against the v5.10 backport. >>> >>> I had a go at bringing all the pre-requisites in to add proton-pack.c >>> to v5.4. Its currently 39 patches: >>> https://git.gitlab.arm.com/linux-arm/linux-jm.git /bhb/alternative_backport/UNTESTED/v5.4.183 >>> (or for web browsers: >>> https://gitlab.arm.com/linux-arm/linux-jm/-/commits/bhb/alternative_backport/UNTESTED/v5.4.183/ >>> ) >> >> I've queued it up. > > Thanks for merging these, and James, thanks for the backports! I agree, > this way is a bit "simpler", but thanks for trying the other way as > well. > Does this mean that the 4.19 and older backports will be easier? It means they'll be based on the versions I posted on before. But: the last review comment that needs addressing is the A76 ID macros that came in with an errata workaround, but the workaround wasn't backported. I need to work out how easy that is to do. Thanks, James _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel