diff options
| author | Shuo Liu <[email protected]> | 2021-02-07 03:10:34 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-02-09 09:58:19 +0000 |
| commit | c7cf8d27244f2ccdde30c79eb6314c943bbeac28 (patch) | |
| tree | 7ec521a1887a0d458b0f6fdf5a242d5e0151a8fc /drivers/firmware/google/framebuffer-coreboot.c | |
| parent | virt: acrn: Introduce interfaces for PCI device passthrough (diff) | |
| download | kernel-c7cf8d27244f2ccdde30c79eb6314c943bbeac28.tar.gz kernel-c7cf8d27244f2ccdde30c79eb6314c943bbeac28.zip | |
virt: acrn: Introduce interrupt injection interfaces
ACRN userspace need to inject virtual interrupts into a User VM in
devices emulation.
HSM needs provide interfaces to do so.
Introduce following interrupt injection interfaces:
ioctl ACRN_IOCTL_SET_IRQLINE:
Pass data from userspace to the hypervisor, and inform the hypervisor
to inject a virtual IOAPIC GSI interrupt to a User VM.
ioctl ACRN_IOCTL_INJECT_MSI:
Pass data struct acrn_msi_entry from userspace to the hypervisor, and
inform the hypervisor to inject a virtual MSI to a User VM.
ioctl ACRN_IOCTL_VM_INTR_MONITOR:
Set a 4-Kbyte aligned shared page for statistics information of
interrupts of a User VM.
Cc: Zhi Wang <[email protected]>
Cc: Zhenyu Wang <[email protected]>
Cc: Yu Wang <[email protected]>
Cc: Reinette Chatre <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Zhi Wang <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Signed-off-by: Shuo Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/firmware/google/framebuffer-coreboot.c')
0 files changed, 0 insertions, 0 deletions
