summary refs log tree commit diff stats
path: root/tests/functional/test_acpi_bits.py
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2025-03-20 21:39:59 +1000
committerNicholas Piggin <npiggin@gmail.com>2025-03-21 13:54:35 +1000
commit8defe9da08135d03e054f20cb8fea4389be96e18 (patch)
tree802b3a6a0ba7da37099c99a94bfba2c57562e199 /tests/functional/test_acpi_bits.py
parent1490d0bcdfcb78b4503cae42353d3dd50f4e9d96 (diff)
downloadfocaccia-qemu-8defe9da08135d03e054f20cb8fea4389be96e18.tar.gz
focaccia-qemu-8defe9da08135d03e054f20cb8fea4389be96e18.zip
target/ppc: Fix facility interrupt checks for VSX
Facility interrupt checks in general should come after the ISA version
check, because the facility interrupt and facility type themselves are
ISA dependent and should not appear on CPUs where the instruction does
not exist at all.

This resolves a QEMU crash booting NetBSD/macppc due to

  qemu: fatal: Raised an exception without defined vector 94

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2741
Cc: Chinmay Rath <rathc@linux.ibm.com>
Cc: qemu-stable@nongnu.org
Debugged-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Fixes: aa0f34ec3fc7 ("target/ppc: implement vrlq")
Fixes: 7419dc5b2b5b ("target/ppc: Move VSX vector storage access insns to decodetree.")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'tests/functional/test_acpi_bits.py')
0 files changed, 0 insertions, 0 deletions