[RFC PATCH v2 03/21] ACPI: Kconfig: Introduce new option to support deferred GSI probe

Sunil V L
2023-10-25T20:25:08Z

On some architectures like RISC-V, the interrupt controllers for Global
System Interrupts (GSI) are not probed early during boot. So, the
device drivers which need to register their GSI, need to be deferred
until the actual interrupt controller driver is probed. To reduce the
impact of such change, add a new CONFIG option which can be set only by
the architecture which needs deferred GSI probing.

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
---
drivers/acpi/Kconfig | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index cee82b473dc5..4399e793f1d2 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -51,6 +51,9 @@ config ARCH_MIGHT_HAVE_ACPI_PDC
config ACPI_GENERIC_GSI
bool

+config ARCH_ACPI_DEFERRED_GSI
+ bool
+
config ACPI_SYSTEM_POWER_STATES_SUPPORT
bool