acrn-hypervisor/misc/config_tools
Junjie Mao bcc8358d93 board-inspector: fixes to issues when parsing host-bridge objects
When parsing an AML object representing a host bridge, the current board
inspector may encounter the following issues:

  1. The host DSDT may contain multiple host bridge instances, with some of
     them not being present. In this case the _BBN of these instances may
     evaluate to the same value that coincide with the bus assigned to an
     existing host bridge, leading to multiple PCI bus nodes with the same
     bus number and thus confusion in later information extraction phases.

  2. Methods of a host bridge may refer to the PCI configuration space of
     itself (which is typically Device 0, Function 0 under that
     bus). However, such objects may not have an _ADR object as the bus
     number is encoded by the _BBN object instead.

This patch fixes the issues above.

Tracked-On: #6287
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2021-08-10 08:36:24 +08:00
..
acpi_gen config_tools: adjust the layout of vACPI images 2021-08-09 09:05:01 +08:00
acpi_template/template config_tools: generate vDSDT according to allocated resources 2021-08-09 09:05:01 +08:00
board_config config_tools: remove obsolete kconfig files 2021-08-09 09:25:02 +08:00
board_inspector board-inspector: fixes to issues when parsing host-bridge objects 2021-08-10 08:36:24 +08:00
config_app config_tools: config editor creates default xmls for a new board 2021-07-30 09:32:52 +08:00
data config_tools: update generic_board folder 2021-08-03 09:06:02 +08:00
hv_config config-tool: rename PSRARM to SSRAM 2021-05-17 14:31:42 +08:00
launch_config config_tools: Use new HSM driver device node 2021-07-15 11:53:54 +08:00
library config_tools: add the missing GUEST_FLAG_NVMX_ENABLED to common.py 2021-06-11 10:34:48 +08:00
scenario_config dm: Use new MMIO device passthrough management ioctls 2021-07-15 11:53:54 +08:00
schema config-tools: add uclock GP switch 2021-07-21 11:28:30 +08:00
static_allocators config_tools: allocate interrupt lines among VMs 2021-08-09 09:05:01 +08:00
xforms config_tools: allocate interrupt lines among VMs 2021-08-09 09:05:01 +08:00
README config_tools: remove obsolete kconfig files 2021-08-09 09:25:02 +08:00

folder structure

	board_inspector	: Get target board information under native Linux environment and generate board_info XML.
	board_config	: Parse board_info XML and scenario XML to generate board related configuration files under misc/acrn-config/xmls/board-xmls/ folder.
	scenario_config	: Parse board_info XML and scenario XML to generate scenario based VM configuration files under misc/acrn-config/xmls/config-xmls/$(BOARD)/ folder.
	launch_config	: Parse board_info XML, scenario XML and devicemodel param XML to generate launch script for post-launched vm under misc/acrn-config/xmls/config-xmls/$(BOARD)/ folder.
	library		: The folder stores shared software modules or libs for acrn-config offline tool.