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> |
1 week ago | |
|---|---|---|
| .. | ||
| hvf | 1 week ago | |
| tcg | 1 week ago | |
| Kconfig | 2 years ago | |
| arch_dump.c | 7 months ago | |
| arm-powerctl.c | 3 months ago | |
| arm-powerctl.h | ||
| arm-qmp-cmds.c | 5 months ago | |
| common-semi-target.c | 3 months ago | |
| cortex-regs.c | 3 years ago | |
| cpregs-gcs.c | 2 months ago | |
| cpregs-pmu.c | 4 months ago | |
| cpregs.h | 2 months ago | |
| cpu-features.h | 2 months ago | |
| cpu-irq.c | 3 months ago | |
| cpu-param.h | 8 months ago | |
| cpu-qom.h | 7 months ago | |
| cpu-sysregs.h | 6 months ago | |
| cpu-sysregs.h.inc | 3 months ago | |
| cpu.c | 2 months ago | |
| cpu.h | 2 months ago | |
| cpu32-stubs.c | 7 months ago | |
| cpu64.c | 1 month ago | |
| debug_helper.c | 5 months ago | |
| el2-stubs.c | 3 months ago | |
| gdbstub.c | 2 months ago | |
| gdbstub64.c | 2 months ago | |
| gtimer.h | 10 months ago | |
| helper.c | 2 months ago | |
| helper.h | 7 months ago | |
| hvf-stub.c | 7 months ago | |
| hvf_arm.h | 7 months ago | |
| hyp_gdbstub.c | 7 months ago | |
| idau.h | 5 years ago | |
| internals.h | 2 months ago | |
| kvm-consts.h | 3 months ago | |
| kvm-stub.c | 5 months ago | |
| kvm.c | 2 months ago | |
| kvm_arm.h | 5 months ago | |
| machine.c | 2 months ago | |
| meson.build | 2 months ago | |
| mmuidx-internal.h | 2 months ago | |
| mmuidx.c | 2 months ago | |
| mmuidx.h | 2 months ago | |
| multiprocessing.h | 2 years ago | |
| ptw.c | 2 months ago | |
| syndrome.h | 2 months ago | |
| tcg-stubs.c | 2 months ago | |
| trace-events | 2 months ago | |
| trace.h | 5 years ago | |
| vfp_fpscr.c | 10 months ago | |