diff options
author | Juergen Gross <[email protected]> | 2024-03-13 08:14:08 +0100 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2024-03-17 18:57:11 +0100 |
commit | 51c23bd691c0f1fb95b29731c356c6fd69925d17 (patch) | |
tree | 8303d3b567bd0d502a80ed8b1c72b1c91d584fee /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 38620fc4e8934f1801c7811ef39a041914ac4c1d (diff) |
xen/evtchn: avoid WARN() when unbinding an event channel
When unbinding a user event channel, the related handler might be
called a last time in case the kernel was built with
CONFIG_DEBUG_SHIRQ. This might cause a WARN() in the handler.
Avoid that by adding an "unbinding" flag to struct user_event which
will short circuit the handler.
Fixes: 9e90e58c11b7 ("xen: evtchn: Allow shared registration of IRQ handers")
Reported-by: Demi Marie Obenour <[email protected]>
Tested-by: Demi Marie Obenour <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Oleksandr Tyshchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions