[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 00/10] target/arm: more HCR bits, improve syndrome r
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH 00/10] target/arm: more HCR bits, improve syndrome reporting |
Date: |
Fri, 12 Oct 2018 15:42:25 +0100 |
I'm currently trying to track down why my AArch32 Hyp mode
test images don't work, and thought I'd start by patching
a few of the holes we have in our implementation. (Haven't
found the problem yet, sadly.)
This patchset:
* implements HCR.{FB,DC,VI,VF,PTW}
* fixes ISR_EL1 in the virtual-interrupts case
* fixes some syndrome reporting corner cases where AArch32
or v7 differ from AArch64/v8
* throws in a couple of minor code cleanups
The remaining unimplemented HCR trap bits (as of v8.0) are:
* TID0 TID1 TID2 TID3 TIDCP TAC TSW TPC TPU TTLB TVM TRVM TDZ
-- these are all "trap on various system register accesses"
* AMO VA
-- these require support for presenting the guest with a
virtual asynchronous abort/SError
(We also don't yet implement HCR.TASE, which is interesting
because it requires trapping ASIMD-but-not-FP, which we don't
currently have support for in translate.c. This would also
be needed for CPACR.ASEDIS.)
thanks
-- PMM
Peter Maydell (10):
target/arm: Improve debug logging of AArch32 exception return
target/arm: Make switch_mode() file-local
target/arm: Implement HCR.FB
target/arm: Implement HCR.DC
target/arm: ISR_EL1 bits track virtual interrupts if IMO/FMO set
target/arm: Implement HCR.VI and VF
target/arm: Implement HCR.PTW
target/arm: New utility function to extract EC from syndrome
target/arm: Get IL bit correct for v7 syndrome values
target/arm: Report correct syndrome for FP/SIMD traps to Hyp mode
target/arm/internals.h | 45 +++++-
target/arm/helper.c | 347 ++++++++++++++++++++++++++++++-----------
target/arm/kvm64.c | 2 +-
target/arm/op_helper.c | 2 +-
target/arm/translate.c | 15 +-
5 files changed, 302 insertions(+), 109 deletions(-)
--
2.19.0
- [Qemu-devel] [PATCH 00/10] target/arm: more HCR bits, improve syndrome reporting,
Peter Maydell <=
- [Qemu-devel] [PATCH 02/10] target/arm: Make switch_mode() file-local, Peter Maydell, 2018/10/12
- [Qemu-devel] [PATCH 01/10] target/arm: Improve debug logging of AArch32 exception return, Peter Maydell, 2018/10/12
- [Qemu-devel] [PATCH 03/10] target/arm: Implement HCR.FB, Peter Maydell, 2018/10/12
- [Qemu-devel] [PATCH 04/10] target/arm: Implement HCR.DC, Peter Maydell, 2018/10/12
- [Qemu-devel] [PATCH 05/10] target/arm: ISR_EL1 bits track virtual interrupts if IMO/FMO set, Peter Maydell, 2018/10/12