mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PC alignment faults have priority over instruction aborts and we have code to deal with this in the translation front-ends. However during tb_lookup we can see a potentially faulting probe which doesn't get a MemOp set. If the page isn't available this results in EC_INSNABORT (0x20) instead of EC_PCALIGNMENT (0x22). As there is no easy way to set the appropriate MemOp in the instruction fetch probe path lets just detect it in arm_cpu_tlb_fill_align() ahead of the main alignment check. We also teach arm_deliver_fault to deliver the right syndrome for MMU_INST_FETCH alignment issues. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3233 Tested-by: Jessica Clarke <jrtc27@jrtc27.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20251209092459.1058313-5-alex.bennee@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> |
4 days ago | |
|---|---|---|
| .. | ||
| alpha | 1 month ago | |
| arm | 4 days ago | |
| avr | 1 month ago | |
| hexagon | 2 months ago | |
| hppa | 1 month ago | |
| i386 | 2 weeks ago | |
| loongarch | 1 month ago | |
| m68k | 1 month ago | |
| microblaze | 1 month ago | |
| mips | 1 month ago | |
| openrisc | 1 month ago | |
| ppc | 1 month ago | |
| riscv | 1 month ago | |
| rx | 1 month ago | |
| s390x | 1 month ago | |
| sh4 | 1 month ago | |
| sparc | 1 month ago | |
| tricore | 1 month ago | |
| xtensa | 1 month ago | |
| Kconfig | 1 year ago | |
| meson.build | 1 year ago | |