From 7b8513eb008b7ed331af838edc3344d172a94ac0 Mon Sep 17 00:00:00 2001 From: Alistair Delva Date: Tue, 2 Jun 2020 09:21:55 -0700 Subject: [PATCH] ANDROID: GKI: Enable SYS_HYPERVISOR Used by some Linux hypervisor support to tell userspace which hypervisor it is being run under. Bug: 157224726 Change-Id: Ia1cb56e665af6b60f6a51b5e81dd7abed240f812 Signed-off-by: Alistair Delva --- init/Kconfig.gki | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/init/Kconfig.gki b/init/Kconfig.gki index 728171c02dce..69a9f2068f1b 100644 --- a/init/Kconfig.gki +++ b/init/Kconfig.gki @@ -165,6 +165,14 @@ config GKI_HIDDEN_IRQ_CONFIGS config, required by various SoC platforms. This is usually selected by ARCH_*. +config GKI_HIDDEN_HYPERVISOR_CONFIGS + bool "Hidden hypervisor configuration needed for GKI" + select SYS_HYPERVISOR + help + Dummy config option used to enable the SYS_HYPERVISOR hidden + config, required by various SoC platforms. This is usually + selected by XEN or S390. + # Atrocities needed for # a) building GKI modules in separate tree, or # b) building drivers that are not modularizable @@ -190,6 +198,7 @@ config GKI_HACKS_TO_FIX select GKI_HIDDEN_RPMSG_CONFIGS select GKI_HIDDEN_GPU_CONFIGS select GKI_HIDDEN_IRQ_CONFIGS + select GKI_HIDDEN_HYPERVISOR_CONFIGS help Dummy config option used to enable core functionality used by modules that may not be selectable in this config.