Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5418624yba; Wed, 8 May 2019 13:02:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvM4xYgMv6gKDqwU/LWAmZmwulLwwDxi1GorZ4uh6vk0FVId8qHBPAl6SEpvU4V434hf4o X-Received: by 2002:a17:902:28e4:: with SMTP id f91mr49306281plb.321.1557345760381; Wed, 08 May 2019 13:02:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557345760; cv=none; d=google.com; s=arc-20160816; b=reXxsNKpFIltnV4pVhGr2pt85Slz2+3sPtcyTRYOL0Gm66H0RRWEVcJYMFn2S36ta+ jQRmZ+q/AYH9SwPmCtPgtrrrEj4/JfHXgSeylKV70GkPOFEEA2u/UXG4NSht66GbFYw1 IEjwdcFPl/INcxpk/W+Zv3hIFW+pJfggv4valfY2GSWaqtSOIvhaEEi3sYd/MS+UWxP5 7g2UqTqV5KHeE0hzi9UcGp89y+OvK8YMLwUkafeW4KPCTQbbWimudt3q/SU5oj9rtjdy zq3xBYPRj/h53E8rXvexr1XtphjyUVdm9bXMPFchn+BR4UJEkaLtZ1reUnK2ERlZwyeh Ffng== 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=uqOZEzLE6WwTiA3Dz7Gqq2Tv3AW7Mi8HGq1qcRsSpRU=; b=0C7WhPphiN0EyFClj7cy0WU2M2jIY3g8YmWU8ha8k+FlQDcS1kMQVFII4ay2haw34H XuCnfLe+lNpnTiD7ke163jFiZxynsOUiXxdItlfNrU+e5pcUXBfDVt7C0HwPEd2mX4EE GLphUp9CddB5mt8Wr4BiGVdMVqiEm/zjaCvhZ7AVOlOk7bLj+VSk//HdKkz5h5DRas2h au4ZvjJxePpxVpi0PHo2QJD1YHBrKOIDseJ04xvcr+le+AstdBtpiI26gNhll6vLaoHZ 1862s4HDPUrTjisByo//e6Z0zvRVNjlKrHa8VIW/EqlclU1BwYGHyDEyQec1/aScCnJ2 YtMA== 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 v20si5867167pgb.361.2019.05.08.13.02.23; Wed, 08 May 2019 13:02:40 -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 S1728035AbfEHTwA (ORCPT + 99 others); Wed, 8 May 2019 15:52:00 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:33942 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726852AbfEHTv7 (ORCPT ); Wed, 8 May 2019 15:51:59 -0400 Received: by mail-ed1-f66.google.com with SMTP id p27so8253894eda.1 for ; Wed, 08 May 2019 12:51:58 -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=uqOZEzLE6WwTiA3Dz7Gqq2Tv3AW7Mi8HGq1qcRsSpRU=; b=ic9kgFYTuNAejn8z3ijaImES3euvwLMxKuHnbDhW+cLWy978kwY8Rdw6C0rdjfVyKZ Mtl9aIxqnvIreQ/L4CR6WbVKmYnWC/mFzh+978+snbbqRo6R5OKjYr1URPdpnMouaTbj YdKH3lwTRHrrJ3UIw9L3oYm8ODhlpEJuthd4noD1lOXm8dIljlTzzMW49Q9W+qeHhRWR Yu0tvujMwhPZCWtarlVUx/kTIyXmySwkuWuswyvCPuOAgIaXFF108Hr0UMYQMehe/cxA XMxqhO7Ch6Qx6uqYw1VfYT0lOwcr2RyR0WH9zgCNx38rQXsYbE+gzdxuwp1AJjkndNR+ ADsQ== X-Gm-Message-State: APjAAAXnOjazddML8l/30dQ6PGXHJy5ohUL2KJRf+rBe6wQS97AqFs/a gXZQc4DW/pq3q+fbAPhMs4TKtHCYqGUuvRO2sS989hLT X-Received: by 2002:a50:9203:: with SMTP id i3mr23971200eda.172.1557345118108; Wed, 08 May 2019 12:51:58 -0700 (PDT) MIME-Version: 1.0 References: <6f53f0e494d743c79e18f6e3a98085711e6ddd0c.1557177585.git.len.brown@intel.com> <1d7c4d47cfca91c11b0e078d86a8f7f7da6d862a.1557177585.git.len.brown@intel.com> <20190507122219.GN2623@hirez.programming.kicks-ass.net> In-Reply-To: <20190507122219.GN2623@hirez.programming.kicks-ass.net> From: Len Brown Date: Wed, 8 May 2019 15:51:46 -0400 Message-ID: Subject: Re: [PATCH 16/22] perf/x86/intel/uncore: Support multi-die/package To: Peter Zijlstra Cc: X86 ML , linux-kernel@vger.kernel.org, Kan Liang , Len Brown 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 Tue, May 7, 2019 at 8:22 AM Peter Zijlstra wrote: > > On Mon, May 06, 2019 at 05:26:11PM -0400, Len Brown wrote: > > @@ -1223,7 +1225,7 @@ static int uncore_event_cpu_online(unsigned int cpu) > > struct intel_uncore_box *box; > > int i, ret, pkg, target; > > > > - pkg = topology_logical_package_id(cpu); > > + pkg = topology_logical_die_id(cpu); > > ret = allocate_boxes(types, pkg, cpu); > > if (ret) > > return ret; > > 'pkg' != 'die' To keep the patch with this functional change minimal and obvious, the rename of this variable was segregated into patch 22, which is re-names only. Len Brown, Intel Open Source Technology Center