summary refs log tree commit diff stats
path: root/tests/avocado/boot_linux_console.py
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2024-02-13 17:50:43 +1000
committerNicholas Piggin <npiggin@gmail.com>2024-02-23 23:16:34 +1000
commit2cc0e449d17310877fb28a942d4627ad22bb68ea (patch)
treecbc06f60129caf813ada10119298f5b84d067038 /tests/avocado/boot_linux_console.py
parent3d54cbf269d63ff1d500b35b2bcf4565ff8ad485 (diff)
downloadfocaccia-qemu-2cc0e449d17310877fb28a942d4627ad22bb68ea.tar.gz
focaccia-qemu-2cc0e449d17310877fb28a942d4627ad22bb68ea.zip
target/ppc: Fix lxv/stxv MSR facility check
The move to decodetree flipped the inequality test for the VEC / VSX
MSR facility check.

This caused application crashes under Linux, where these facility
unavailable interrupts are used for lazy-switching of VEC/VSX register
sets. Getting the incorrect interrupt would result in wrong registers
being loaded, potentially overwriting live values and/or exposing
stale ones.

Cc: qemu-stable@nongnu.org
Reported-by: Joel Stanley <joel@jms.id.au>
Fixes: 70426b5bb738 ("target/ppc: moved stxvx and lxvx from legacy to decodtree")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1769
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Tested-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>

Diffstat (limited to 'tests/avocado/boot_linux_console.py')
0 files changed, 0 insertions, 0 deletions