All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: Kconfig: Add SYS_SUPPORTS_APM_EMULATION
@ 2020-11-24  9:01 ` Lecopzer Chen
  0 siblings, 0 replies; 24+ messages in thread
From: Lecopzer Chen @ 2020-11-24  9:01 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel
  Cc: catalin.marinas, will, matthias.bgg, linux-mediatek, yj.chiang,
	Lecopzer Chen

From: "Lecopzer Chen" <lecopzer.chen@mediatek.com>

Although most of modern devices use ACPI, there still has combination
of APM + ARM64.

In order to select CONFIG_APM_EMULATION, make SYS_SUPPORTS_APM_EMULATION
default is y if ACPI isn't configured.

Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com>
Suggested-by: YJ Chiang <yj.chiang@mediatek.com>
---
 arch/arm64/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 1515f6f153a0..5e9e3694015a 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -260,6 +260,9 @@ config NO_IOPORT_MAP
 config STACKTRACE_SUPPORT
 	def_bool y
 
+config SYS_SUPPORTS_APM_EMULATION
+	def_bool y if !ACPI
+
 config ILLEGAL_POINTER_VALUE
 	hex
 	default 0xdead000000000000
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2020-12-18  5:04 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-24  9:01 [PATCH] arm64: Kconfig: Add SYS_SUPPORTS_APM_EMULATION Lecopzer Chen
2020-11-24  9:01 ` Lecopzer Chen
2020-11-24  9:01 ` Lecopzer Chen
2020-11-25 10:36 ` Mark Rutland
2020-11-25 10:36   ` Mark Rutland
2020-11-25 10:36   ` Mark Rutland
2020-11-25 11:41   ` Lecopzer Chen
2020-11-25 11:41     ` Lecopzer Chen
2020-11-25 11:41     ` Lecopzer Chen
2020-12-16 15:58     ` Catalin Marinas
2020-12-16 15:58       ` Catalin Marinas
2020-12-16 15:58       ` Catalin Marinas
2020-12-16 16:41       ` Lecopzer Chen
2020-12-16 16:41         ` Lecopzer Chen
2020-12-16 16:41         ` Lecopzer Chen
2020-12-17 16:49         ` Catalin Marinas
2020-12-17 16:49           ` Catalin Marinas
2020-12-17 16:49           ` Catalin Marinas
2020-12-18  5:02           ` Lecopzer Chen
2020-12-18  5:02             ` Lecopzer Chen
2020-12-18  5:02             ` Lecopzer Chen
2020-12-14  9:28   ` Lecopzer Chen
2020-12-14  9:28     ` Lecopzer Chen
2020-12-14  9:28     ` Lecopzer Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.