mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-12 12:30:08 +00:00
hv: add function to check if using posted interrupt is possible for vm
Add platform_caps.c to maintain platform related information Set platform_caps.pi to true if all iommus are posted interrupt capable, false otherwise If lapic passthru is not configured and platform_caps.pi is true, the vm may be able to use posted interrupt for a ptdev, if the ptdev's IRQ is single-destination Tracked-On: #4506 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Reviewed-by: Eddie Dong <eddie.dong@Intel.com>
This commit is contained in:
@@ -233,6 +233,7 @@ HW_C_SRCS += arch/x86/ioapic.c
|
||||
HW_C_SRCS += arch/x86/lapic.c
|
||||
HW_C_SRCS += arch/x86/cpu.c
|
||||
HW_C_SRCS += arch/x86/cpu_caps.c
|
||||
HW_C_SRCS += arch/x86/platform_caps.c
|
||||
HW_C_SRCS += arch/x86/security.c
|
||||
HW_C_SRCS += arch/x86/mmu.c
|
||||
HW_C_SRCS += arch/x86/e820.c
|
||||
|
Reference in New Issue
Block a user