From: Steven Price <steven.price@arm.com>
To: Catalin Marinas <catalin.marinas@arm.com>,
Marc Zyngier <maz@kernel.org>, Will Deacon <will@kernel.org>
Cc: kvmarm@lists.cs.columbia.edu,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, James Morse <james.morse@arm.com>,
Julien Thierry <julien.thierry.kdev@gmail.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Steven Price <steven.price@arm.com>
Subject: [PATCH 0/2] arm64: Workaround for Cortex-A55 erratum 1530923
Date: Mon, 11 Nov 2019 14:11:55 +0000 [thread overview]
Message-ID: <20191111141157.55062-1-steven.price@arm.com> (raw)
This series enables a workaround for Cortex-A55 erratum 1530923. The
erratum potentially allows TLB entries to be allocated as a result of a
speculative AT instruction. This may happen in the middle of a guest
world switch while the relevant VMSA configuration is in an inconsistent
state, leading to erroneous content being allocated into TLBs.
The existing workaround for Cortex-A76 erratum 1165522 is the same, so
the first patch renames this workaround to a generic name
(SPECULATIVE_AT), the second patch then adds the detection for the
Cortex-A55 erratum 1530923.
Steven Price (2):
arm64: Rename WORKAROUND_1165522 to SPECULATIVE_AT
arm64: Workaround for Cortex-A55 erratum 1530923
Documentation/arm64/silicon-errata.rst | 2 ++
arch/arm64/Kconfig | 17 +++++++++++++++++
arch/arm64/include/asm/cpucaps.h | 2 +-
arch/arm64/include/asm/kvm_host.h | 2 +-
arch/arm64/include/asm/kvm_hyp.h | 7 +++----
arch/arm64/kernel/cpu_errata.c | 23 ++++++++++++++++++-----
arch/arm64/kvm/hyp/switch.c | 6 +++---
arch/arm64/kvm/hyp/tlb.c | 8 ++++----
8 files changed, 49 insertions(+), 18 deletions(-)
--
2.20.1
next reply other threads:[~2019-11-11 14:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-11 14:11 Steven Price [this message]
2019-11-11 14:11 ` [PATCH 1/2] arm64: Rename WORKAROUND_1165522 to SPECULATIVE_AT Steven Price
2019-11-11 15:42 ` Marc Zyngier
2019-11-11 16:07 ` Steven Price
2019-11-11 17:16 ` Mark Rutland
2019-11-11 14:11 ` [PATCH 2/2] arm64: Workaround for Cortex-A55 erratum 1530923 Steven Price
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191111141157.55062-1-steven.price@arm.com \
--to=steven.price@arm.com \
--cc=catalin.marinas@arm.com \
--cc=james.morse@arm.com \
--cc=julien.thierry.kdev@gmail.com \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maz@kernel.org \
--cc=suzuki.poulose@arm.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).