mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
hv: Introduce Global System Interrupt (GSI) into INTx Remapping
As ACRN prepares to support platforms with multiple IO-APICs, GSI is a better way to represent physical and virtual INTx interrupt source. 1) This patch replaces usage of "pin" with "gsi" whereever applicable across the modules. 2) PIC pin to gsi is trickier and needs to consider the usage of "Interrupt Source Override" structure in ACPI for the corresponding VM. Tracked-On: #4151 Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com> Acked-by: Eddie Dong <eddie.dong@Intel.com>
This commit is contained in:
committed by
wenlingz
parent
2fe3004202
commit
85217e362f
@@ -25,7 +25,7 @@ enum intx_ctlr {
|
||||
union source_id (name) = {.msi_id = {.bdf = (a), .entry_nr = (b)} }
|
||||
|
||||
#define DEFINE_INTX_SID(name, a, b) \
|
||||
union source_id (name) = {.intx_id = {.pin = (a), .ctlr = (b)} }
|
||||
union source_id (name) = {.intx_id = {.gsi = (a), .ctlr = (b)} }
|
||||
|
||||
union irte_index {
|
||||
uint16_t index;
|
||||
@@ -49,7 +49,7 @@ union source_id {
|
||||
*/
|
||||
struct {
|
||||
enum intx_ctlr ctlr;
|
||||
uint32_t pin;
|
||||
uint32_t gsi;
|
||||
} intx_id;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user