acrn-hypervisor/misc/config_tools/acpi_gen
Junjie Mao d2543720a5 config_tools: adjust the layout of vACPI images
The current vACPI image layout reserves 512 bytes for vDSDT. Given the fact
that the size of vDSDT of a pre-launched VM grows when more devices are
assigned to the VM, this size limit can be easily exceeded. As an example,
a single pass-through TSN NIC requires 291 bytes in vDSDT to define device
objects representing its PCS (Physical Coding Sublayer), which means the
current reserved space for vDSDT does not allow two TSN NICs to be assigned
to the same VM.

This patch enlarges the reserved space for vDSDT to 2432 bytes by moving
the MCFG and MADT spaces. 768 bytes are still reserved for MADT which
is sufficient to encode the LAPIC information for more than 64 vCPUs.

This patch is added in v2 of the series.

Tracked-On: #6287
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2021-08-09 09:05:01 +08:00
..
__init__.py acrn-config: Reorg config tool folder 2021-01-27 11:08:28 +08:00
acpi_const.py config_tools: adjust the layout of vACPI images 2021-08-09 09:05:01 +08:00
asl_gen.py config_tools: generate vDSDT according to allocated resources 2021-08-09 09:05:01 +08:00
bin_gen.py config_tools: generate vDSDT according to allocated resources 2021-08-09 09:05:01 +08:00