diff options
author | Cédric Le Goater <clg@kaod.org> | 2019-04-18 12:39:30 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2019-04-30 11:35:16 +0200 |
commit | e8676ce50e224d507946b1c535bc13584e6b49ff (patch) | |
tree | e8919c89817981acace608139a28c1a16f6fe14b /Documentation/hwmon/sysfs-interface | |
parent | KVM: PPC: Book3S HV: XIVE: add a control to initialize a source (diff) | |
download | linux-e8676ce50e224d507946b1c535bc13584e6b49ff.tar.xz linux-e8676ce50e224d507946b1c535bc13584e6b49ff.zip |
KVM: PPC: Book3S HV: XIVE: Add a control to configure a source
This control will be used by the H_INT_SET_SOURCE_CONFIG hcall from
QEMU to configure the target of a source and also to restore the
configuration of a source when migrating the VM.
The XIVE source interrupt structure is extended with the value of the
Effective Interrupt Source Number. The EISN is the interrupt number
pushed in the event queue that the guest OS will use to dispatch
events internally. Caching the EISN value in KVM eases the test when
checking if a reconfiguration is indeed needed.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'Documentation/hwmon/sysfs-interface')
0 files changed, 0 insertions, 0 deletions