A few patches to fix RME support and allow booting a realm guest, based
on https://lore.kernel.org/qemu-devel/20230714154648.327466-1-peter.maydell@linaro.org/
Since v1 I fixed patches 1, 2 and 6 following Peter's comments, and
added patch 5. Patch 6 now factors the timer IRQ update into a new
function, which is a bit invasive but seems cleaner.
v1: https://lore.kernel.org/qemu-devel/20230719153018.1456180-2-jean-philippe@linaro.org/
Jean-Philippe Brucker (6):
target/arm/ptw: Load stage-2 tables from realm physical space
target/arm/helper: Fix tlbmask and tlbbits for TLBI VAE2*
target/arm: Skip granule protection checks for AT instructions
target/arm: Pass security space rather than flag for AT instructions
target/arm/helper: Check SCR_EL3.{NSE,NS} encoding for AT instructions
target/arm/helper: Implement CNTHCTL_EL2.CNT[VP]MASK
target/arm/cpu.h | 3 +
target/arm/internals.h | 25 +++---
target/arm/helper.c | 171 +++++++++++++++++++++++++++++-----------
target/arm/ptw.c | 39 +++++----
target/arm/trace-events | 7 +-
5 files changed, 170 insertions(+), 75 deletions(-)
--
2.41.0