acrn-hypervisor/misc/config_tools/static_allocators
Junjie Mao cbd593e6c0 static_allocator/intx: parse INTx allocated by another device
The interrupt pin descriptors in board XML follows the same notation as in
ACPI PRT (PCI Routing Table), i.e. either an integer or a pair of a device
object and an index.

However, the current static INTx allocator recognizes
integer-as-interrupt-line only, which will cause build-time failure if
the "device object + index" notation is used in physical DSDT to describe
PCI interrupt pin routing.

This patch refines the static allocator so that both notations can be
parsed properly. In case an interrupt line descriptor in the board XML
refers to an device object without an index, it is interpreted as the first
of the ACPI device object if it is an interrupt resource.

Tracked-On: #7058
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2022-01-27 11:24:57 +08:00
..
lib config_tools: add __init__.py under static_allocators/lib directory 2022-01-18 16:42:59 +08:00
bdf.py hv: rename CONFIG_GPU_SBDF to CONFIG_IGD_SBDF 2021-11-28 14:23:29 +08:00
board_capability.py config-tools: generate ACFG_MAX_PCI_BUS_NUM based on board.xml 2021-12-13 11:06:10 +08:00
cpu_affinity.py ACRN: misc: Unify terminology for service vm/user vm 2021-11-02 10:00:55 +08:00
gpa.py config-tools: move the pre RTVM's SSRAM base GPA 2021-11-08 13:13:14 +08:00
intx.py static_allocator/intx: parse INTx allocated by another device 2022-01-27 11:24:57 +08:00
main.py acrn-config: Reorg config tool folder 2021-01-27 11:08:28 +08:00
pio.py ACRN: misc: Unify terminology for service vm/user vm 2021-11-02 10:00:55 +08:00