mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 18:27:18 +00:00
kconfig: optionally check if the ACPI info header is validated
Instead of using the ACPI info template in the source tree, this patch requires a board-specific ACPI info header to be created by the user and placed under bsp/include. Currently we'll fall back to the current platform-specific template if such board-specific info is not available. A configuration symbol ACPI_ENFORCE_VALIDATED_ACPI_INFO is also added to enforce the existance of board-specific ACPI info header. Default configurations can set this symbol if the template does not work on a board. Updates to the getting started guide will be updated accordingly after the offline tools to generate such header is available. v2 -> v3: * Rephrase the ACPI-info-related messages. v1 -> v2: * The generated header should depend on .config so that whenever any configuration changes, this header will be remade. Tracked-On: #1520 Signed-off-by: Junjie Mao <junjie.mao@intel.com> Reviewed-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -291,3 +291,12 @@ config MAX_MSIX_TABLE_NUM
|
||||
int "Maximum number of MSI-X Table per device"
|
||||
range 1 2048
|
||||
default 16
|
||||
|
||||
config ENFORCE_VALIDATED_ACPI_INFO
|
||||
bool "Enforce validated ACPI info table"
|
||||
default n
|
||||
help
|
||||
When set, validated ACPI info tables is enforced and using offline
|
||||
tools to generate such data is required. Otherwise a warning will be
|
||||
printed when validated ACPI info is unavailable, but a binary can
|
||||
still be built with the ACPI info template.
|
||||
|
Reference in New Issue
Block a user