Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp252642pxp; Fri, 11 Mar 2022 03:43:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQX3wRnhDqN179KKhLiFOzXkCudPlaCnnSfgUoXM4UebxMAPUzB1Zatl/99+tevFlt5J79 X-Received: by 2002:a17:907:8a04:b0:6cd:2902:8db3 with SMTP id sc4-20020a1709078a0400b006cd29028db3mr8280009ejc.530.1646999009242; Fri, 11 Mar 2022 03:43:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646999009; cv=none; d=google.com; s=arc-20160816; b=ptbBWU4SKBb7dWyrtUE0wwWuF49M0UnSW0/IF3HndeNGy2jXFjZquAEMtjkdb8JD6z tObcc+v/cnawZEXUiFhOgJWhVlZXOdo1cf27bt1oIm+ecZGWNBcgiSzDeiORD5vnR7l1 G0Kt+1S2wLPIDIpe1Xnpvb+GVWO220P2uN8Q0jfaJ+pLKygurA+Xsx/alSggzzdVXD2f +C/F0HHEBYqCHxCfBaJsfbmEzkUT8nrxvFUbwH8o1DjhAT3pK9IKz1m72CFO3jWLsO+N bOGTgnEtIuHGjTMA03qiKV+OzMjh9aEdrDzUGXEU/OL3y2cnunhDYETatld3D4I2B3+I Kmqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=psW8+luGnhJnz2KD87bm9zcVPLViv8/1BNQ7UjjbYSA=; b=mxzzP2gs1B6UeqdDBYKMYdssd25vPvABTWjb8reRBHHFnFB3IKSrcord6ukSBzmv+m bUx62YwquBl+3gbO69y52F8itoER/Ni4zZ6nuPy5BIyPuOGgS734Wm+hIDtP7d5uazeM Q5VhBPDgNICRuIZRb+M8dgT/ht64PFehLNEKGB844uE8NGGcqef3oTvLMj8zL+uFfIzP Qw5ZtMbQd0KmN+Thlihk3xGVHBiyjICNc2oFhtHeae0zc36LiBgT/j0vy37d8XvA3kTq XfPNX6R1mi+ASG9L79IF0i4tsPC/jxGABp+ZN6RfoI8y3YpKe+neUnx97f/UQzcxyAyk UAcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dp17-20020a170906c15100b006cfeb9ee051si5153887ejc.393.2022.03.11.03.43.02; Fri, 11 Mar 2022 03:43:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245557AbiCJPGA (ORCPT + 99 others); Thu, 10 Mar 2022 10:06:00 -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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) -- 2.25.1