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