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.
qemu/target
Alex Bennée dd77ef99aa target/arm: handle unaligned PC during tlb probe
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 target/alpha: call plugin trap callbacks 1 month ago
arm target/arm: handle unaligned PC during tlb probe 4 days ago
avr target/avr: call plugin trap callbacks 1 month ago
hexagon target/hexagon: Only indent on linux 2 months ago
hppa target/hppa: call plugin trap callbacks 1 month ago
i386 accel/hvf: Fix i386 HVF compilation failures 2 weeks ago
loongarch loongarch queue 1 month ago
m68k target/m68k: call plugin trap callbacks 1 month ago
microblaze maintainer updates for 10.2 1 month ago
mips target/mips: call plugin trap callbacks 1 month ago
openrisc target/openrisc: call plugin trap callbacks 1 month ago
ppc ppc queue for 10.2 1 month ago
riscv target/riscv: call plugin trap callbacks 1 month ago
rx rx: cpu: fix interrupts check in rx_cpu_do_interrupt() 1 month ago
s390x target/s390x: Use address generation for register branch targets 1 month ago
sh4 target/sh4: call plugin trap callbacks 1 month ago
sparc target/sparc: call plugin trap callbacks 1 month ago
tricore target/tricore: call plugin trap callbacks 1 month ago
xtensa target/xtensa: call plugin trap callbacks 1 month ago
Kconfig target/cris: Remove the deprecated CRIS target 1 year ago
meson.build target/cris: Remove the deprecated CRIS target 1 year ago