From: Hanjun Guo <hanjun.guo@linaro.org> To: Catalin Marinas <catalin.marinas@arm.com>, "Rafael J. Wysocki" <rjw@rjwysocki.net>, Olof Johansson <olof@lixom.net>, Arnd Bergmann <arnd@arndb.de>, Mark Rutland <mark.rutland@arm.com>, Grant Likely <grant.likely@linaro.org>, Will Deacon <will.deacon@arm.com> Cc: Lorenzo Pieralisi <Lorenzo.Pieralisi@arm.com>, Graeme Gregory <graeme.gregory@linaro.org>, Sudeep Holla <Sudeep.Holla@arm.com>, Jon Masters <jcm@redhat.com>, Jason Cooper <jason@lakedaemon.net>, Marc Zyngier <marc.zyngier@arm.com>, Bjorn Helgaas <bhelgaas@google.com>, Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>, Robert Richter <rric@kernel.org>, Randy Dunlap <rdunlap@infradead.org>, Charles.Garcia-Tobin@arm.com, phoenix.liyi@huawei.com, Timur Tabi <timur@codeaurora.org>, suravee.suthikulpanit@amd.com, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org, Al Stone <al.stone@linaro.org>, Hanjun Guo <hanjun.guo@linaro.org> Subject: [PATCH v6 16/17] ARM64 / ACPI: Enable ARM64 in Kconfig Date: Sun, 4 Jan 2015 18:55:17 +0800 [thread overview] Message-ID: <1420368918-5086-17-git-send-email-hanjun.guo@linaro.org> (raw) In-Reply-To: <1420368918-5086-1-git-send-email-hanjun.guo@linaro.org> From: Graeme Gregory <graeme.gregory@linaro.org> Add Kconfigs to build ACPI on ARM64, and make ACPI available on ARM64. acpi_idle driver is x86/IA64 dependent now, so make CONFIG_ACPI_PROCESSOR depend on X86 || IA64, and implement it on ARM64 in the future. Reviewed-by: Grant Likely <grant.likely@linaro.org> Tested-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org> Signed-off-by: Al Stone <al.stone@linaro.org> Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> --- arch/arm64/Kconfig | 2 ++ drivers/acpi/Kconfig | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index c19ae5d..915aa16 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -647,6 +647,8 @@ source "drivers/Kconfig" source "drivers/firmware/Kconfig" +source "drivers/acpi/Kconfig" + source "fs/Kconfig" source "arch/arm64/kvm/Kconfig" diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 8951cef..3e3bd35 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -5,8 +5,7 @@ menuconfig ACPI bool "ACPI (Advanced Configuration and Power Interface) Support" depends on !IA64_HP_SIM - depends on IA64 || X86 - depends on PCI + depends on ((IA64 || X86) && PCI) || (ARM64 && EXPERT) select PNP default y help @@ -163,6 +162,7 @@ config ACPI_PROCESSOR tristate "Processor" select THERMAL select CPU_IDLE + depends on X86 || IA64 default y help This driver installs ACPI as the idle handler for Linux and uses @@ -263,7 +263,7 @@ config ACPI_DEBUG config ACPI_PCI_SLOT bool "PCI slot detection driver" - depends on SYSFS + depends on SYSFS && PCI default n help This driver creates entries in /sys/bus/pci/slots/ for all PCI -- 1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: hanjun.guo@linaro.org (Hanjun Guo) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v6 16/17] ARM64 / ACPI: Enable ARM64 in Kconfig Date: Sun, 4 Jan 2015 18:55:17 +0800 [thread overview] Message-ID: <1420368918-5086-17-git-send-email-hanjun.guo@linaro.org> (raw) In-Reply-To: <1420368918-5086-1-git-send-email-hanjun.guo@linaro.org> From: Graeme Gregory <graeme.gregory@linaro.org> Add Kconfigs to build ACPI on ARM64, and make ACPI available on ARM64. acpi_idle driver is x86/IA64 dependent now, so make CONFIG_ACPI_PROCESSOR depend on X86 || IA64, and implement it on ARM64 in the future. Reviewed-by: Grant Likely <grant.likely@linaro.org> Tested-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org> Signed-off-by: Al Stone <al.stone@linaro.org> Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> --- arch/arm64/Kconfig | 2 ++ drivers/acpi/Kconfig | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index c19ae5d..915aa16 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -647,6 +647,8 @@ source "drivers/Kconfig" source "drivers/firmware/Kconfig" +source "drivers/acpi/Kconfig" + source "fs/Kconfig" source "arch/arm64/kvm/Kconfig" diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 8951cef..3e3bd35 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -5,8 +5,7 @@ menuconfig ACPI bool "ACPI (Advanced Configuration and Power Interface) Support" depends on !IA64_HP_SIM - depends on IA64 || X86 - depends on PCI + depends on ((IA64 || X86) && PCI) || (ARM64 && EXPERT) select PNP default y help @@ -163,6 +162,7 @@ config ACPI_PROCESSOR tristate "Processor" select THERMAL select CPU_IDLE + depends on X86 || IA64 default y help This driver installs ACPI as the idle handler for Linux and uses @@ -263,7 +263,7 @@ config ACPI_DEBUG config ACPI_PCI_SLOT bool "PCI slot detection driver" - depends on SYSFS + depends on SYSFS && PCI default n help This driver creates entries in /sys/bus/pci/slots/ for all PCI -- 1.9.1
next prev parent reply other threads:[~2015-01-04 10:55 UTC|newest] Thread overview: 87+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-01-04 10:55 [PATCH v6 00/17] Introduce ACPI for ARM64 based on ACPI 5.1 Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 01/17] ACPI / processor: Convert apic_id to phys_id to make it arch agnostic Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-07 1:50 ` Rafael J. Wysocki 2015-01-07 1:50 ` Rafael J. Wysocki 2015-01-07 1:50 ` Rafael J. Wysocki 2015-01-07 9:49 ` Hanjun Guo 2015-01-07 9:49 ` Hanjun Guo 2015-01-07 9:49 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 02/17] ACPI / processor: Rename acpi_(un)map_lsapic() to acpi_(un)map_cpu() Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 03/17] ARM64 / ACPI: Get RSDP and ACPI boot-time tables Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 04/17] ARM64 / ACPI: Introduce sleep-arm.c Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 05/17] ARM64 / ACPI: Introduce early_param for "acpi" and pass acpi=force to enable ACPI Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 06/17] ARM64 / ACPI: If we chose to boot from acpi then disable FDT Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 07/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64 Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 08/17] ARM64 / ACPI: Parse FADT table to get PSCI flags for PSCI init Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-09 19:04 ` Lorenzo Pieralisi 2015-01-09 19:04 ` Lorenzo Pieralisi 2015-01-09 19:04 ` Lorenzo Pieralisi 2015-01-12 4:26 ` Hanjun Guo 2015-01-12 4:26 ` Hanjun Guo 2015-01-12 4:26 ` Hanjun Guo 2015-01-12 11:41 ` Lorenzo Pieralisi 2015-01-12 11:41 ` Lorenzo Pieralisi 2015-01-12 11:41 ` Lorenzo Pieralisi 2015-01-13 6:54 ` Hanjun Guo 2015-01-13 6:54 ` Hanjun Guo 2015-01-13 6:54 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 09/17] ACPI / table: Print GIC information when MADT is parsed Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 10/17] ARM64 / ACPI: Parse MADT for SMP initialization Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 11/17] ACPI / processor: Make it possible to get CPU hardware ID via GICC Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 12/17] ARM64 / ACPI: Introduce ACPI_IRQ_MODEL_GIC and register device's gsi Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 14/17] ARM64 / ACPI: Parse GTDT to initialize arch timer Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-05 7:55 ` Suthikulpanit, Suravee 2015-01-05 7:55 ` Suthikulpanit, Suravee 2015-01-05 7:55 ` Suthikulpanit, Suravee 2015-01-05 8:59 ` Hanjun Guo 2015-01-05 8:59 ` Hanjun Guo 2015-01-05 8:59 ` Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 15/17] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64 Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo [this message] 2015-01-04 10:55 ` [PATCH v6 16/17] ARM64 / ACPI: Enable ARM64 in Kconfig Hanjun Guo 2015-01-04 10:55 ` [PATCH v6 17/17] Documentation: ACPI for ARM64 Hanjun Guo 2015-01-04 10:55 ` Hanjun Guo 2015-01-06 9:52 ` 答复: " liyi 00215672 2015-01-06 9:52 ` liyi 00215672 2015-01-06 11:21 ` Hanjun Guo 2015-01-06 11:21 ` Hanjun Guo 2015-01-06 11:21 ` Hanjun Guo 2015-01-06 20:49 ` Arnd Bergmann 2015-01-06 20:49 ` Arnd Bergmann 2015-01-06 20:49 ` Arnd Bergmann 2015-01-19 20:33 ` Christoffer Dall 2015-01-19 20:33 ` Christoffer Dall 2015-01-19 20:33 ` Christoffer Dall 2015-01-21 12:37 ` Hanjun Guo 2015-01-21 12:37 ` Hanjun Guo 2015-01-21 12:37 ` Hanjun Guo 2015-01-21 13:03 ` Stefano Stabellini 2015-01-21 13:03 ` Stefano Stabellini 2015-01-21 13:03 ` Stefano Stabellini 2015-01-21 16:04 ` Christoffer Dall 2015-01-21 16:04 ` Christoffer Dall 2015-01-21 16:04 ` Christoffer Dall 2015-01-06 7:05 ` [PATCH v6 00/17] Introduce ACPI for ARM64 based on ACPI 5.1 Yijing Wang 2015-01-06 7:05 ` Yijing Wang 2015-01-06 7:05 ` Yijing Wang 2015-01-06 11:17 ` Hanjun Guo 2015-01-06 11:17 ` Hanjun Guo 2015-01-06 11:17 ` Hanjun Guo
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1420368918-5086-17-git-send-email-hanjun.guo@linaro.org \ --to=hanjun.guo@linaro.org \ --cc=Charles.Garcia-Tobin@arm.com \ --cc=Lorenzo.Pieralisi@arm.com \ --cc=Sudeep.Holla@arm.com \ --cc=al.stone@linaro.org \ --cc=arnd@arndb.de \ --cc=bhelgaas@google.com \ --cc=broonie@kernel.org \ --cc=catalin.marinas@arm.com \ --cc=graeme.gregory@linaro.org \ --cc=grant.likely@linaro.org \ --cc=jason@lakedaemon.net \ --cc=jcm@redhat.com \ --cc=linaro-acpi@lists.linaro.org \ --cc=linux-acpi@vger.kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=marc.zyngier@arm.com \ --cc=mark.rutland@arm.com \ --cc=olof@lixom.net \ --cc=phoenix.liyi@huawei.com \ --cc=rdunlap@infradead.org \ --cc=rjw@rjwysocki.net \ --cc=robh@kernel.org \ --cc=rric@kernel.org \ --cc=suravee.suthikulpanit@amd.com \ --cc=timur@codeaurora.org \ --cc=will.deacon@arm.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.