From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, vincenzo.frascino@arm.com
Subject: [PATCH for-5.1 0/3] target/arm: mte+pauth fixes
Date: Fri, 24 Jul 2020 09:38:50 -0700 [thread overview]
Message-ID: <20200724163853.504655-1-richard.henderson@linaro.org> (raw)
A couple of last minute fixes for MTE:
(1) Peter pointed out that EL3's SCR.ATA needs to be set when
we're booting a kernel directly. Similarly for API & APK.
(2) Vincenzo pointed out that with RRND=1, we can't rely on
RGSR having being initialized.
I suppose the only follow-on question here is whether it is
better to minimize the number of calls to qemu_guest_getrandom,
or instead to name that our IMPDEF algorithm and use it for
every call to IRG. We already have other user-space available
RNG instructions that can drain the entropy pool, so this is
not really different.
r~
Richard Henderson (3):
hw/arm/boot: Fix PAUTH for EL3 direct kernel boot
hw/arm/boot: Fix MTE for EL3 direct kernel boot
target/arm: Improve IMPDEF algorithm for IRG
hw/arm/boot.c | 6 ++++++
target/arm/mte_helper.c | 37 ++++++++++++++++++++++++++++++-------
2 files changed, 36 insertions(+), 7 deletions(-)
--
2.25.1
next reply other threads:[~2020-07-24 16:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-24 16:38 Richard Henderson [this message]
2020-07-24 16:38 ` [PATCH 1/3] hw/arm/boot: Fix PAUTH for EL3 direct kernel boot Richard Henderson
2020-07-24 16:38 ` [PATCH 2/3] hw/arm/boot: Fix MTE " Richard Henderson
2020-07-24 16:38 ` [PATCH 3/3] target/arm: Improve IMPDEF algorithm for IRG Richard Henderson
2020-07-27 14:59 ` [PATCH for-5.1 0/3] target/arm: mte+pauth fixes Peter Maydell
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=20200724163853.504655-1-richard.henderson@linaro.org \
--to=richard.henderson@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=vincenzo.frascino@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).