Hexagon: exception, interrupt, system reg fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 of 11 patches 8 repliesIn review
- v110 of 11 patches 18 repliesSuperseded
Changes in v2 from the cover letter
- for guard writes to unimplemented guest registers: updated the logic to early-return and clarified the commit message.
- implement direct-to-guest interrupt delivery: added a comment to explain "dtg".
9 of 11 patches are in this archive. The cover letter announces 11.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | target/hexagon: align exceptions for user/sysemulinux-user/ target/ target/ +1 more | +23 | 0 replies | |
| 2/11 | tests/tcg/hexagon: check priv instructions raise SIGILLtests/ tests/ | +80 | 0 replies | |
| 3/11 | hw/intc: clear pending bit on l2vic de-assertionhw/ | +2 | 2 replies | |
| 4/11 | target/hexagon: guard writes to unimplemented guest registerstarget/ target/ | +20 | 1 reply | |
| 5/11 | target/hexagon: take BQL when reading the system pcycle counttarget/ | +8 | 0 replies | |
| 6/11 | target/hexagon: gate GPCYCLE guest register reads on SSR:CEtarget/ target/ | +7 | 3 replies | |
| 7/11 | target/hexagon: read UTIMERLO/UTIMERHI from the global timertarget/ target/ target/ +1 more | +62 | 1 reply | |
| 8/11 | target/hexagon: raise imprecise exception on multi-TLB matchhw/ include/ target/ +4 more | +77 | 0 replies | |
| 9/11 | target/hexagon: implement direct-to-guest interrupt deliverytarget/ target/ target/ | +96 | 1 reply |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Pierrick Bouvier |
|---|---|
| Series | R-b R-b |
| 1/11 | R-b |
| 2/11 | R-b |
| 3/11 | R-b |
| 4/11 | R-b |
| 5/11 | R-b |
| 6/11 | R-b |
| 7/11 | R-b |
| 8/11 | R-b |
| 9/11 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/11] Hexagon: exception, interrupt, system reg fixes
Changes to address some test cases:
- user/system mode exception consolidation
- Direct-to-Guest interrupt delivery
- interrupt mask writes, tlb probe exception
- l2vic edge-trigger clear on deassert
- map architectural timer regs to clock
v2:
- for guard writes to unimplemented guest registers: updated the logic to early-return and clarified the commit message.
- implement direct-to-guest interrupt delivery: added a comment to explain "dtg".
v1: https://lore.kernel.org/qemu-devel/[email protected]/
Brian Cain (10):
target/hexagon: align exceptions for user/sysemu tests/tcg/hexagon: check priv instructions raise SIGILL target/hexagon: guard writes to unimplemented guest registers target/hexagon: take BQL when reading the system pcycle count target/hexagon: gate GPCYCLE guest register reads on SSR:CE target/hexagon: read UTIMERLO/UTIMERHI from the global timer target/hexagon: raise imprecise exception on multi-TLB match target/hexagon: implement direct-to-guest interrupt delivery target/hexagon: fix iassign{r,w} to cover all threads tests/functional/hexagon: update to v0.2.12,
+test_{interrupts,sys_regs}Sid Manning (1):
hw/intc: clear pending bit on l2vic de-assertion
include/hw/hexagon/hexagon_tlb.h | 3 +- target/hexagon/cpu.h | 1 + target/hexagon/helper.h | 4 + target/hexagon/translate.h | 6 +- target/hexagon/reg_fields_def.h.inc | 7 ++ hw/hexagon/hexagon_tlb.c | 5 +- hw/intc/hex-l2vic.c | 2 + linux-user/hexagon/cpu_loop.c | 30 +++---- target/hexagon/cpu.c | 15 +++- target/hexagon/cpu_helper.c | 12 ++- target/hexagon/genptr.c | 29 +++++++ target/hexagon/hex_interrupts.c | 91 +++++++++++++++++++-- target/hexagon/hex_mmu.c | 5 +- target/hexagon/hexswi.c | 37 ++++++++- target/hexagon/machine.c | 5 +- target/hexagon/op_helper.c | 72 ++++++++-------- target/hexagon/translate.c | 56 +++++++++---- tests/tcg/hexagon/privileged-insn.c | 79 ++++++++++++++++++ tests/tcg/hexagon/reg_mut.c | 11 ++- target/hexagon/hex_common.py | 18 +++- tests/functional/hexagon/test_arch_tests.py | 12 ++- tests/tcg/hexagon/Makefile.target | 1 + 22 files changed, 395 insertions(+), 106 deletions(-) create mode 100644 tests/tcg/hexagon/privileged-insn.c
Signature · 1 line
2.34.1