Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3675727yba; Tue, 7 May 2019 05:24:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuMFXc7yiSfVyhg06MXD9yfH54IQXPkHIRlS8Qldo0ao8kSOvA8p5Uq2iOzDnRac1uJ/6h X-Received: by 2002:a17:902:ba8e:: with SMTP id k14mr40097401pls.80.1557231848932; Tue, 07 May 2019 05:24:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557231848; cv=none; d=google.com; s=arc-20160816; b=ukwP0rWuv68MXgyl6kYMRQTIL2UfIA2az4wlCWanq5ZCsjFunTy5MffEmsla+HIfJ2 t/i3UMLUs2+lhW8gWytl5xvVcVapQBSpBLMo45yEzwuB7L3s5SGpv6jV+SkrVtRXp+sp TtQLSA0RHujacsZFm80KVkzgqc8m4Js8/GN/d4djeZhiK6LMxfWcttiwTGZMgG+WpInQ VX+oHIJwkFHTLXBFRmVIKvomJanGRKXNhlhbBCk3OIg1IjZjFa2WlBCW7s9wfEAmRmaC y0seEdRZ1tWwQpAabV1qLe+A7ANQSMyiW/NJEO/JJwvrUKCtyOxo06Ej5zmkpAazQri1 qOCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ZbBnjNWEqPXVSqogc9+rle2mPAgOUH2/1vtZwGC84eg=; b=Rar9vN7btFurTPFE+QXB1hdkNsSjQzNlRZBIMN8kXjLz0dF/rJDz9tf5bYCGoRx8vl zaYERj2QDwEKoHfFvnnQfoyVhg5GnydAh0AY4d3mx6OVNGtzMYhAbPOYFXJnHRZiGj/z 6SQjbsLqGEaGpeuXN81jm/QzC3eTUB5tEmURiFPnoaYoI1FuGigOywBEkiv2dLcy2Qdk XSubYeKVWJIRaqka6eUbnEX4OAUebstr4/2vBUao/ncLOss/G0mtLjf6g+H74wVyUMjM 3N3EjDnn59+xvhQOs4qsC+Tb6kPiN6lQ0CJgc9t8GalOxSlhHoTXT6wbF8AW81tX1vBV ARsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=Hru38h+J; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11si8515530pgv.157.2019.05.07.05.23.53; Tue, 07 May 2019 05:24:08 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=Hru38h+J; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726685AbfEGMW0 (ORCPT + 99 others); Tue, 7 May 2019 08:22:26 -0400 Received: from merlin.infradead.org ([205.233.59.134]:38740 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726329AbfEGMWZ (ORCPT ); Tue, 7 May 2019 08:22:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZbBnjNWEqPXVSqogc9+rle2mPAgOUH2/1vtZwGC84eg=; b=Hru38h+JFsaQZcpOvdqPpNF4+ yOgUENqJVSKwB5oaYS7FOzaTtmDB/62OXts0A/fYw6in1dkrgl8aL669wNG7EHrgf2X9otSlDmf4M iOwj2qMrU/hZ23fCImg07AdEP+mScIALdoz1EvQGpswc9+R5oLIB3fKjNYkaSkE9mBSpz6y/3KhqF ptMePaNLAT16ro2AZpmT3rwvQtlznOwW3qAnuZ6ov0R7jLPJKmbqQ5g1Rp6IrHmOTZeJrgtgjgW62 Q2T42a2yIAb4BjwADPduP3EfG4sSaZ7Ud+6+snlzv+MtXcBqAIMdQZvk0D0N/G+UHBd21JA1Th7Dw Z6GFMj7Ow==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hNz6y-00070X-IP; Tue, 07 May 2019 12:22:20 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 5E5562023ADB5; Tue, 7 May 2019 14:22:19 +0200 (CEST) Date: Tue, 7 May 2019 14:22:19 +0200 From: Peter Zijlstra To: Len Brown Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Kan Liang , Len Brown Subject: Re: [PATCH 16/22] perf/x86/intel/uncore: Support multi-die/package Message-ID: <20190507122219.GN2623@hirez.programming.kicks-ass.net> References: <6f53f0e494d743c79e18f6e3a98085711e6ddd0c.1557177585.git.len.brown@intel.com> <1d7c4d47cfca91c11b0e078d86a8f7f7da6d862a.1557177585.git.len.brown@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1d7c4d47cfca91c11b0e078d86a8f7f7da6d862a.1557177585.git.len.brown@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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'