From patchwork Mon Sep 30 11:17:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Rutland X-Patchwork-Id: 13815840 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 06AB0CF6497 for ; Mon, 30 Sep 2024 11:18:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=EZAPJ7UM8auo7a5LnFIFErYidaReDogyAn0ARu+Z4j4=; b=DHjeSjFpo4e+8j7NUC75nDk8Ik MPMooBbFAtA9v2EWx0iv2kIZ+idG5KREgpsLkOtcdUVJ1kiM7DOJS1k24djzUVALwJNavJ/gNFI3Q GWi1mOhkOlnsP7qxK1BypzkJZ3LjdWfIe1jZgluUyNW24wWnSaBjhyI/8Ip/DAh89dQjZPU/vrbH3 fzlTNI7ugJpSr3jf8LEqMP6h4uZ5NoSMu3vCPeJohe2CKiX5iVNr6AZmZYRDoRoo+GK0YiGk4Ds0F gTmqEviOaZKfal8cVPhKBpPc40dgRnRYScfvLUVT+jh9CeKtLCRCbfzH3sOiDVEXcfHKM7VJ8esOh OGYj/E1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svEQM-0000000GpHr-3kL6; Mon, 30 Sep 2024 11:18:42 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svEOt-0000000Gp5A-3oyr for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2024 11:17:13 +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 CA510DA7; Mon, 30 Sep 2024 04:17:40 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 639C73F58B; Mon, 30 Sep 2024 04:17:10 -0700 (PDT) From: Mark Rutland To: linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, james.morse@arm.com, mark.rutland@arm.com, will@kernel.org Subject: [PATCH 0/2] arm64: errata: Expand speculative SSBS workaround once more Date: Mon, 30 Sep 2024 12:17:03 +0100 Message-Id: <20240930111705.3352047-1-mark.rutland@arm.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_041712_324514_5BC48F10 X-CRM114-Status: UNSURE ( 8.63 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org In a recent bunch of SDEN updates, it was revealed that Cortex-A715 and Neoverse-N3 suffer from the common SSBS erratum whereby an MSR to the SSBS special-purpose register does not affect subsequent speculative instructions, permitting speculative store bypassing for a window of time. These patches enable the mitigation for Cortex-A715 and Neoverse-N3. Fingers crossed, this should be the last batch of CPUs affected by this erratum. I haven't given this a Cc stable since (as with the prior batches) some manual work is necessary to backport to some of the stable trees, and it'll be easier to prepare all the backports manually in one go. Mark. Mark Rutland (2): arm64: cputype: Add Neoverse-N3 definitions arm64: errata: Expand speculative SSBS workaround once more Documentation/arch/arm64/silicon-errata.rst | 4 ++++ arch/arm64/Kconfig | 2 ++ arch/arm64/include/asm/cputype.h | 2 ++ arch/arm64/kernel/cpu_errata.c | 2 ++ 4 files changed, 10 insertions(+)