diff options
author | Jane Malalane <[email protected]> | 2022-07-29 08:04:16 +0100 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2022-08-12 11:28:21 +0200 |
commit | b1c3497e604ddccea5af4071831ed0e4680fb35e (patch) | |
tree | 108b8bd765f1e0496592013bb988ac329ca19de9 /tools/perf/util/trace-event-scripting.c | |
parent | 251e90e7e346a23742b90e2c4db19d322e071d99 (diff) |
x86/xen: Add support for HVMOP_set_evtchn_upcall_vector
Implement support for the HVMOP_set_evtchn_upcall_vector hypercall in
order to set the per-vCPU event channel vector callback on Linux and
use it in preference of HVM_PARAM_CALLBACK_IRQ.
If the per-VCPU vector setup is successful on BSP, use this method
for the APs. If not, fallback to the global vector-type callback.
Also register callback_irq at per-vCPU event channel setup to trick
toolstack to think the domain is enlightened.
Suggested-by: "Roger Pau Monné" <[email protected]>
Signed-off-by: Jane Malalane <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions