acrn-hypervisor/misc/config_tools/static_allocators
Junjie Mao 26021bd467 board_inspector: add interrupt pin routing and usage
This patch adds interrupt pin related information into the board XML,
including:

  * The PCI routing table in ACPI DSDT/SSDT are parsed and generated into
    the board XML as "interrupt_pin_routing" nodes.

  * IRQs encoded in _CRS directly are represented as resources of type
    "irq".

  * Interrupt lines (i.e. INTx#) of PCI devices are represented as
    resources of type "interrupt_pin". When the PCI routing table is
    available, the corresponding interrupt line is identified and
    represented as the "source" attribute of the resource node.

Due to the existence of vIOAPIC in ACRN VMs, the board inspector interprets
the \_PIC method with parameter 1 to inform the ACPI namespace that the
interrupt model should be in APIC mode.

v1 -> v2:
  * Remove the msi_enable variable which is defined but never used.

Tracked-On: #6287
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2021-08-09 09:05:01 +08:00
..
lib config-tools: add get_shmem_regions and vm type checking to lib.py 2021-05-24 21:53:22 +08:00
bdf.py config-tools: add bdf static allocator 2021-05-24 21:53:22 +08:00
cpu_affinity.py config-tools: add cpu affinity static allocator 2021-05-07 14:39:08 +08:00
gpa.py board_inspector: add interrupt pin routing and usage 2021-08-09 09:05:01 +08:00
hv_ram.py config-tools: refine append_node and add get_node 2021-05-07 14:39:08 +08:00
intx.py config-tools: add intx static allocator 2021-05-07 14:39:08 +08:00
main.py acrn-config: Reorg config tool folder 2021-01-27 11:08:28 +08:00
pio.py config-tools: add pio static allocator 2021-05-07 14:39:08 +08:00