aboutsummaryrefslogtreecommitdiff
path: root/net/vmnet_int.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2024-11-11 16:37:49 +1000
committerNicholas Piggin <npiggin@gmail.com>2024-11-27 02:47:25 +1000
commitfa416ae6157a933ad3f7106090684759baaaf3c9 (patch)
tree162e5fbaaf2276cd72832efbec14e2da20661e98 /net/vmnet_int.h
parentba54a7e6b86884e43bed2d2f5a79c719059652a8 (diff)
target/ppc: Fix non-maskable interrupt while halted
The ppc (pnv and spapr) NMI injection code does not go through the asynchronous interrupt path and set a bit in env->pending_interrupts and raise an interrupt request that the cpu_exec() loop can see. Instead it injects the exception directly into registers. This can lead to cpu_exec() missing that the thread has work to do, if a NMI is injected while it was idle. Fix this by clearing halted when injecting the interrupt. Probably NMI injection should be reworked to use the interrupt request interface, but this seems to work as a minimal fix. Fixes: 3431648272d3 ("spapr: Add support for new NMI interface") Reviewed-by: Glenn Miles <milesg@linux.ibm.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'net/vmnet_int.h')
0 files changed, 0 insertions, 0 deletions