mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-13 21:09:54 +00:00
hv: implement msix.c for MSI-X remapping
Similar to MSI emulation, this patch emulates the Message Control word within MSI-X Capability Structure. Also it emulates MSI-X table. MSI-X remapping is triggered when the guest is changing the Mask bit in Vector Control, or the Message Data/Addr when MSI-X Enable bit is set. Tracked-On: #1568 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Signed-off-by: Zide Chen <zide.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -200,3 +200,8 @@ config IOMMU_INIT_BUS_LIMIT
|
||||
hex "bus limitation when iommu init"
|
||||
default 0xf if PLATFORM_SBL
|
||||
default 0xff if PLATFORM_UEFI
|
||||
|
||||
config MAX_MSIX_TABLE_NUM
|
||||
int "Maximum number of MSI-X Table per device"
|
||||
range 1 2048
|
||||
default 16
|
||||
|
Reference in New Issue
Block a user