From: Will Deacon <will@kernel.org>
To: Andrew Scull <ascull@google.com>
Cc: Marc Zyngier <maz@kernel.org>,
Steven Price <steven.price@arm.com>,
kvmarm@lists.cs.columbia.edu,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3] arm64: Unify WORKAROUND_SPECULATIVE_AT_{NVHE,VHE}
Date: Mon, 4 May 2020 11:55:49 +0100 [thread overview]
Message-ID: <20200504105539.GA4879@willie-the-truck> (raw)
In-Reply-To: <20200504094858.108917-1-ascull@google.com>
On Mon, May 04, 2020 at 10:48:58AM +0100, Andrew Scull wrote:
> Errata 1165522, 1319367 and 1530923 each allow TLB entries to be
> allocated as a result of a speculative AT instruction. In order to
> avoid mandating VHE on certain affected CPUs, apply the workaround to
> both the nVHE and the VHE case for all affected CPUs.
>
> Signed-off-by: Andrew Scull <ascull@google.com>
> CC: Marc Zyngier <maz@kernel.org>
> CC: James Morse <james.morse@arm.com>
> CC: Suzuki K Poulose <suzuki.poulose@arm.com>
> CC: Will Deacon <will@kernel.org>
> CC: Steven Price <steven.price@arm.com>
> ---
> From v2 <20200422161346.67325-1-ascull@google.com>:
> - const_cap -> final_cap merge correction
> - based on 5.7 rc4
> ---
> arch/arm64/Kconfig | 39 ++++++++++++++-----------------
> arch/arm64/include/asm/cpucaps.h | 15 ++++++------
> arch/arm64/include/asm/kvm_host.h | 4 ----
> arch/arm64/include/asm/kvm_hyp.h | 2 +-
> arch/arm64/kernel/cpu_errata.c | 25 +++++++++-----------
> arch/arm64/kvm/hyp/switch.c | 6 ++---
> arch/arm64/kvm/hyp/sysreg-sr.c | 6 +++--
> arch/arm64/kvm/hyp/tlb.c | 11 +++++----
> 8 files changed, 50 insertions(+), 58 deletions(-)
Acked-by: Will Deacon <will@kernel.org>
We'll probably run into some trivial conflicts with the arm64 tree, but
I'm happy to put this on a branch if it helps. Marc?
Will
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
next prev parent reply other threads:[~2020-05-04 10:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-04 9:48 [PATCH v3] arm64: Unify WORKAROUND_SPECULATIVE_AT_{NVHE,VHE} Andrew Scull
2020-05-04 10:55 ` Will Deacon [this message]
2020-05-04 11:13 ` Marc Zyngier
2020-05-04 11:26 ` Will Deacon
2020-05-04 15:33 ` Will Deacon
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=20200504105539.GA4879@willie-the-truck \
--to=will@kernel.org \
--cc=ascull@google.com \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=maz@kernel.org \
--cc=steven.price@arm.com \
/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).