Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1420654
| From | Sudeep Holla <sudeep.holla@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 4/5] arm64: add support for ACPI Low Power Idle(LPI) |
| Date | 2016-06-13 11:50 +0200 |
| Message-ID | <rJwFk-4on-1@gated-at.bofh.it> (permalink) |
| References | <rxEoV-2BM-5@gated-at.bofh.it> <rxEoX-2BM-45@gated-at.bofh.it> <rJss1-1NY-1@gated-at.bofh.it> |
| Organization | ARM |
On 13/06/16 05:47, Sajjan, Vikas C wrote:
> Hi Sudeep,
>
[...]
> --- a/drivers/firmware/psci.c
> +++ b/drivers/firmware/psci.c
> @@ -13,6 +13,7 @@
>
> #define pr_fmt(fmt) "psci: " fmt
>
> +#include <linux/acpi.h>
> #include <linux/arm-smccc.h>
> #include <linux/cpuidle.h>
> #include <linux/errno.h>
> @@ -310,11 +311,66 @@ static int psci_dt_cpu_init_idle(struct device_node *cpu_node, int cpu)
> return ret;
> }
>
> +#ifdef CONFIG_ACPI
> +#include <acpi/processor.h>
> +
> +static int __maybe_unused psci_acpi_cpu_init_idle(unsigned int cpu) {
> + int i, count;
> + u32 *psci_states;
> + struct acpi_processor *pr;
> + struct acpi_lpi_state *lpi;
> +
> + pr = per_cpu(processors, cpu);
> + if (unlikely(!pr || !pr->flags.has_lpi))
>
> Any particular reason for _not_ considering CST flag here.
> Or you are planning to add CST support in some other patch set.
>
Are you referring the old C-state objects ? We don't support them on
ARM64. Only LPIs are support. The ARM FFH is not defined for CST, only
for LPIs.
--
Regards,
Sudeep
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
RE: [PATCH v5 4/5] arm64: add support for ACPI Low Power Idle(LPI) "Sajjan, Vikas C" <vikas.cha.sajjan@hpe.com> - 2016-06-13 07:20 +0200 Re: [PATCH v5 4/5] arm64: add support for ACPI Low Power Idle(LPI) Sudeep Holla <sudeep.holla@arm.com> - 2016-06-13 11:50 +0200
csiph-web