From patchwork Thu Mar 10 14:54:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ionela Voinescu X-Patchwork-Id: 12776537 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29131C433F5 for ; Thu, 10 Mar 2022 15:04:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245483AbiCJPFz (ORCPT ); Thu, 10 Mar 2022 10:05:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344487AbiCJPDv (ORCPT ); Thu, 10 Mar 2022 10:03:51 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 108CE199E1B; Thu, 10 Mar 2022 06:55:39 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 935811692; Thu, 10 Mar 2022 06:55:15 -0800 (PST) Received: from e108754-lin.cambridge.arm.com (unknown [10.1.195.34]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id CDD0C3F7B4; Thu, 10 Mar 2022 06:55:13 -0800 (PST) From: Ionela Voinescu To: Sudeep Holla , "Rafael J . Wysocki" , Thomas Gleixner , Ingo Molnar , Giovanni Gherdovich , Catalin Marinas , Will Deacon , Valentin Schneider , Dietmar Eggemann , Sean Kelley Cc: Pierre Gondois , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 0/3] arch_topology, ACPI: populate cpu capacity from CPPC Date: Thu, 10 Mar 2022 14:54:48 +0000 Message-Id: <20220310145451.15596-1-ionela.voinescu@arm.com> X-Mailer: git-send-email 2.29.2.dirty MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org 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(-)