acrn-hypervisor/misc/config_tools
Yifan Liu 5c9456462b hv && config-tool: Add compilation option to disable all interrupts in HV
This patch adds an option CONFIG_KEEP_IRQ_DISABLED to hv (default n) and
config-tool so that when this option is 'y', all interrupts in hv root
mode will be permanently disabled.

With this option to be 'y', all interrupts received in root mode will be
handled in external interrupt vmexit after next VM entry. The postpone
latency is negligible. This new configuration is a requirement from x86
TEE's secure/non-secure interrupt flow support. Many race conditions can be
avoided when keeping IRQ off.

v5:
Rename CONFIG_ACRN_KEEP_IRQ_DISABLED to CONFIG_KEEP_IRQ_DISABLED

v4:
Change CPU_IRQ_ENABLE/DISABLE to
CPU_IRQ_ENABLE_ON_CONFIG/DISABLE_ON_CONFIG and guard them using
CONFIG_ACRN_KEEP_IRQ_DISABLED

v3:
CONFIG_ACRN_DISABLE_INTERRUPT -> CONFIG_ACRN_KEEP_IRQ_DISABLED
Add more comment in commit message

Tracked-On: #6571
Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
Reviewed-by: Wang, Yu1 <yu1.wang@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2021-12-10 09:50:17 +08:00
..
acpi_gen config-tools: move the pre RTVM's SSRAM base GPA 2021-11-08 13:13:14 +08:00
acpi_template/template config_tools: generate vDSDT according to allocated resources 2021-08-09 09:05:01 +08:00
board_config config_tool: let common.MAX_VM_NUM controlled by scenario data 2021-11-16 14:42:59 +08:00
board_inspector hv: rename CONFIG_GPU_SBDF to CONFIG_IGD_SBDF 2021-11-28 14:23:29 +08:00
config_app config_tool: let common.MAX_VM_NUM controlled by scenario data 2021-11-16 14:42:59 +08:00
data config_tools: rename sdc.xml to shared.xml on qemu platform 2021-12-08 14:04:37 +08:00
hv_config config_tools: remove CONFIG_LOG_DESTINATION 2021-12-06 14:24:40 +08:00
launch_config config_tool: load default cpu affinity config by vm_name 2021-11-26 16:48:05 +08:00
library config_tools: remove CONFIG_LOG_DESTINATION 2021-12-06 14:24:40 +08:00
scenario_config config_tools: remove CONFIG_LOG_DESTINATION 2021-12-06 14:24:40 +08:00
schema hv && config-tool: Add compilation option to disable all interrupts in HV 2021-12-10 09:50:17 +08:00
service_vm_config misc: config_tools: generate serial configuration file 2021-11-08 13:15:38 +08:00
static_allocators hv: rename CONFIG_GPU_SBDF to CONFIG_IGD_SBDF 2021-11-28 14:23:29 +08:00
xforms hv && config-tool: Add compilation option to disable all interrupts in HV 2021-12-10 09:50:17 +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.