Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2722528yba; Mon, 6 May 2019 10:30:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1XT69mYvcvC9Bgdgw9QThvM/PtqTMAg9oi1+XwpFft+y5NZmlhxR7t4Vunw+LhXkhID2S X-Received: by 2002:a17:902:d892:: with SMTP id b18mr18804431plz.209.1557163812456; Mon, 06 May 2019 10:30:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557163812; cv=none; d=google.com; s=arc-20160816; b=awUXfYPFy4rFXdmJDDH5d8GkiiZiXY5vABoT3S8CYoowa+V7OakF9/uAbAooJMvu6s YZif7IBAqSExlZtUykp+lClwu17DJYzfdejW1znIerumGl63u+LJc3cqDrjxl+0aKpEp LMVjQQB0wmQTudIHrYvPxCTkRsfYajnCmFCrIpMSI83kjk61CDkwtbLOOgOqMGWSUl9q h2L0uk5WHQ152S02a3yDKmgzZof5JrHh3dLthbhsMaw3sFYaz0UOLNgPzBal1Ai74P0F GvIyB3d2cOYvp1eFESx1E1QHz1vbz0SF2RSJdIx2ACyzjU4Hr7cfPyFAZ/nLh+4+cYat 6N/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=NjygrUhkEPXk15pLulFNm9hvbV7SxD0hUbgG2Pi4ZZk=; b=b6t1QUhDmpDesb4qSWy7h0v8QWuBivTe5vimdc9JjUkb3OzQ2Z75Rl5ixv4J9vlv1U kKYzBVaVcXqzNFG3RKd4S4GtLURoPXCI1qp29zB+QoEeRbkvxwLjCHiF6uZVacAnWV8R rvRMvGSmhRm0SGEfY7ICdpR4auYqq8Re9hmM4ftsXscX943De8uF7CkrKHBWP9q6KDm8 szEaMNfjJIijOiffOLWxClEJh7/hOer2/cW7/rvTvMygGgHYwBqRVjJYM0p89vbLHsPv 67+8DbQmbvOoT6KZeRcf80RR4Y5egvhktZVHe/gfvzKvP2Z5PffOX8wkKFv/ZetuaLs5 xxWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f184si18397172pfb.280.2019.05.06.10.29.56; Mon, 06 May 2019 10:30:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726812AbfEFR2p (ORCPT + 99 others); Mon, 6 May 2019 13:28:45 -0400 Received: from mail-ed1-f44.google.com ([209.85.208.44]:39381 "EHLO mail-ed1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726426AbfEFR2n (ORCPT ); Mon, 6 May 2019 13:28:43 -0400 Received: by mail-ed1-f44.google.com with SMTP id e24so16092342edq.6 for ; Mon, 06 May 2019 10:28:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NjygrUhkEPXk15pLulFNm9hvbV7SxD0hUbgG2Pi4ZZk=; b=YAGWCe1LHPcC5xX5SKiWYEKZXAg1XakEFhtm6y98HsA5zhSOAborSNFc0EFnz0JyUX v2uQckv5YZyv4+ZQ5BSsoddaOSei3nFGIUsFkcBUlG9AcE4FXgz5sVfLoH4vs7ETLE9e KkU/IM7y4Yc/m1GsdyjmvGmoHIdYePoG1p47mvSZ/8H2+UY9pOJgWKkTXr90LdxxVEgH 6l2rlEqo49DTW63maUZeQoDoMFFSu4woq4YeTUT+tq1APquHf3U6TRbxrN+wyBfRsHY0 XTY0tJVdLHnOr2wC+/VEiyKfGpkBPCsXK0PmClaAa3+eXaZUuOikgLNwJr77NdP7vKtr PVAQ== X-Gm-Message-State: APjAAAWYbyr9CRxFjSBukzekrX52GmTPKJLat8k5okszSZtfJ0I6bT47 jPazyqBtbg5X1TmFz6AzPBbvB+S3rFtAmISPNJtUsg== X-Received: by 2002:a50:b513:: with SMTP id y19mr28019435edd.100.1557163722765; Mon, 06 May 2019 10:28:42 -0700 (PDT) MIME-Version: 1.0 References: <6f53f0e494d743c79e18f6e3a98085711e6ddd0c.1556657368.git.len.brown@intel.com> <20190506114819.GA24079@gmail.com> In-Reply-To: <20190506114819.GA24079@gmail.com> From: Len Brown Date: Mon, 6 May 2019 13:28:31 -0400 Message-ID: Subject: Re: [PATCH 17/18] perf/x86/intel/rapl: Support multi-die/package To: Ingo Molnar Cc: X86 ML , linux-kernel@vger.kernel.org, Kan Liang , Peter Zijlstra , Len Brown , Thomas Gleixner Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 6, 2019 at 7:48 AM Ingo Molnar wrote: > > - unsigned int pkgid = topology_logical_package_id(cpu); > > + unsigned int pkgid = topology_logical_die_id(cpu); > There's many such instances left in this series, please review the whole > patchset for such problems. I agree, the legacy names make the code read as if it were a bug, even when it is correct. I'll refresh the series with some re-names to make the end result ready clearly. thanks! Len Brown, Intel Open Source Technology Center