Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1132504rdd; Wed, 10 Jan 2024 09:30:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHSmMJf22prxiNak9wV7AndGnIyGqmDnt/YEjfFrdgkZiCV8aF65zxTuAliE2pyfpNlfD79 X-Received: by 2002:a05:6358:6f98:b0:175:9763:6918 with SMTP id s24-20020a0563586f9800b0017597636918mr1812270rwn.51.1704907825138; Wed, 10 Jan 2024 09:30:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704907825; cv=none; d=google.com; s=arc-20160816; b=mxRSPsCLcKEQAEK14CI77C51zf4xah2ChoNCaqdR3QAA8MSunjIpgF64o580w6gCAG fxd0g1ZRs52sgyK9MON4OItjv5NTLyb6ffUIHBUVFaRRKMXy2SGt4QoNQCynoAII9xpl qBXczwcNIpzAjiCirsIJceH/mmUsgqUSIP7lf7XxsJZD460bWF5X5MEcTkuCB7AT9NP0 34WM1/t7kKKumBtfWttnfMVzQoyqhrsbmYuAUvQdQhYTykLbkRodCDHOyGmcveZVMsuU 3hl7shVJ2DuUhTSfHLhV/GpLjQ5Q7ivyEsNGBsO2FJWES17RrX4Bqtrl9DHUFjcPXR08 rRWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=GSW3AHyNI4kCb5tsOFmxuVwOd4SXa/T0sj+PmSarjUw=; fh=BtiBzfyGCXG0105aiYJfh9JjVYJ0Lc+4+J30WZyrfGs=; b=rGqmKZvuDTn7KW6oDCn8C19hTphhdrKYTF5mFqp1kRg5iytkgWhVeBJOG26crboE1H DiEG0AB3fEuWuVzUNItGPWIsdjemHbHVDHupED91AHnyJ4Yt4Yd2liazvrjC0DSxUkfb SVE/mV9yteH3ZDFp/FtaAyCzE9FbTT00nY+Wc0dBMCHHnkZHsr+5MOqvKDK3eSc8Hm86 31Dj8bmkGEeBhphHJgfsRvybTvdJxH00MHv6qlmOYMYF/kddKhqn7czIS9H3VFoAZw4X l7vjit3uxvNOvpgIkmQ79Gdse+LnTss+UMTQLdpp3hBfsHz0u7S3/shmv+4loZAn09a3 KUtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qBarvP5B; spf=pass (google.com: domain of linux-kernel+bounces-22536-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22536-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d18-20020a639752000000b005cdec52cdddsi3949368pgo.837.2024.01.10.09.30.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 09:30:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22536-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qBarvP5B; spf=pass (google.com: domain of linux-kernel+bounces-22536-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22536-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 84F29280E2C for ; Wed, 10 Jan 2024 17:29:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C93194CE1A; Wed, 10 Jan 2024 17:29:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qBarvP5B" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0BDC24CDF5 for ; Wed, 10 Jan 2024 17:29:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A763C433F1; Wed, 10 Jan 2024 17:29:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704907789; bh=bs26RKWgi7kqNcbQdz2YXo3TwzsgW9dgH547QBX5bPo=; h=From:Subject:Date:To:Cc:From; b=qBarvP5Bv8UVYmar7xviZ+TB/2xX57G7D0DNZrNj4MwiBFoyRj1A9IZlGwU62AfE9 RoNOkNQPIOjU+SnQgY5OjK7jBrJ7yMmVcwDR8CCeIxyfR//I0PF82PGRd+/YspgvJ+ IA+CQA7GR1k5h7ZO0yv4tQo7aStYbU3MhfK2jPoQr/F3gGdr7Z8aIvYpAolsbuNxOC rCoMvG4DPUryI5xr372YlRIgo7bEeVTIpGUepyWFROBkoN9cWeXV8AAAK/k6B+Cqpu rN11ahfFwYBG0ne5EG9AAz7O7Eb4iuBBovHuN4PtL/QqpZPfqhhhuhZfNOeO6oA9Of 4Do6XIh1j+T3w== Received: (nullmailer pid 2134034 invoked by uid 1000); Wed, 10 Jan 2024 17:29:48 -0000 From: Rob Herring Subject: [PATCH 0/2] arm64: Cortex-A510 erratum 3117295 workaround Date: Wed, 10 Jan 2024 11:29:19 -0600 Message-Id: <20240110-arm-errata-a510-v1-0-d02bc51aeeee@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAO/TnmUC/x3MMQqAMAxA0auUzBaaqoNeRRxCjZrBKqmIUHp3i +Mb/s+QWIUTjCaD8iNJzliBjYGwU9zYylIN3vnOITpLelhWpZss9dW+DcHjwAHZQa0u5VXe/zj NpXyTmFQXYQAAAA== To: Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.13-dev This short series enables the existing speculative unprivileged load workaround from Cortex-A520 on Cortex-A510 cores which are also affected by the erratum. The erratum number is 3117295 and details are available in the SDEN[1]. Rob [1] https://developer.arm.com/documentation/SDEN1873361/latest/ Signed-off-by: Rob Herring --- Rob Herring (2): arm64: Rename ARM64_WORKAROUND_2966298 arm64: errata: Add Cortex-A510 speculative unprivileged load workaround Documentation/arch/arm64/silicon-errata.rst | 2 ++ arch/arm64/Kconfig | 18 ++++++++++++++++++ arch/arm64/kernel/cpu_errata.c | 21 +++++++++++++++++---- arch/arm64/kernel/entry.S | 2 +- arch/arm64/tools/cpucaps | 2 +- 5 files changed, 39 insertions(+), 6 deletions(-) --- base-commit: b85ea95d086471afb4ad062012a4d73cd328fa86 change-id: 20240110-arm-errata-a510-23cc219ec1e0 Best regards, -- Rob Herring