mbox series

[v4,0/3] arch_topology, ACPI: populate cpu capacity from CPPC

Message ID 20220310145451.15596-1-ionela.voinescu@arm.com (mailing list archive)
Headers show
Series arch_topology, ACPI: populate cpu capacity from CPPC | expand

Message

Ionela Voinescu March 10, 2022, 2:54 p.m. UTC
Hi all,

v3->v4:
 - v3 can be found at [3]
 - rebased on linux-next 20220310 which contains patches at [4]
   requested by Rafael
 - 2/3 fixed obsolete comment as reported by Yicong at [5]
 - Kept Acked-by,Tested-by as v4 has no code changes compared
   to v3, but only a comment fix.

v2->v3:
 - v2 can be found at [2]
 - Added sanity checking on perf_caps.highest_perf

v1->v2:
 - v1 can be found at [1]
 - Changed debug prints to the format used on the DT path
 - s/init_cpu_capacity_cppc/topology_init_cpu_capacity_cppc

Patches are based on linux next 20220310.

[1] https://lore.kernel.org/lkml/20210514095339.12979-1-ionela.voinescu@arm.com/
[2] https://lore.kernel.org/lkml/20210824105651.28660-1-ionela.voinescu@arm.com/
[3] https://lore.kernel.org/lkml/20220302180913.13229-1-ionela.voinescu@arm.com/
[4] https://lore.kernel.org/linux-acpi/20220214101450.356047-1-ray.huang@amd.com/
[5] https://lore.kernel.org/lkml/477748c7-ae9e-712b-90ad-b04a6767a996@huawei.com/


Thanks,
Ionela.

Ionela Voinescu (3):
  x86, ACPI: rename init_freq_invariance_cppc to
    arch_init_invariance_cppc
  arch_topology: obtain cpu capacity using information from CPPC
  arm64, topology: enable use of init_cpu_capacity_cppc()

 arch/arm64/include/asm/topology.h |  4 +++
 arch/x86/include/asm/topology.h   |  2 +-
 drivers/acpi/cppc_acpi.c          |  6 ++---
 drivers/base/arch_topology.c      | 45 ++++++++++++++++++++++++++++---
 include/linux/arch_topology.h     |  4 +++
 5 files changed, 54 insertions(+), 7 deletions(-)

Comments

Rafael J. Wysocki March 10, 2022, 7:23 p.m. UTC | #1
On Thu, Mar 10, 2022 at 4:05 PM Ionela Voinescu <ionela.voinescu@arm.com> wrote:
>
> Hi all,
>
> v3->v4:
>  - v3 can be found at [3]
>  - rebased on linux-next 20220310 which contains patches at [4]
>    requested by Rafael
>  - 2/3 fixed obsolete comment as reported by Yicong at [5]
>  - Kept Acked-by,Tested-by as v4 has no code changes compared
>    to v3, but only a comment fix.

All patches in the series applied as 5.18 material, thanks!