[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJvTdKk78OzgcsUjRpvOOgA1w9VyjADJ4m+=hSFk3WciNAdBkQ@mail.gmail.com>
Date: Wed, 8 May 2019 15:51:20 -0400
From: Len Brown <lenb@...nel.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: X86 ML <x86@...nel.org>, linux-kernel@...r.kernel.org,
Kan Liang <kan.liang@...ux.intel.com>,
Len Brown <len.brown@...el.com>
Subject: Re: [PATCH 16/22] perf/x86/intel/uncore: Support multi-die/package
On Tue, May 7, 2019 at 8:21 AM Peter Zijlstra <peterz@...radead.org> wrote:
>
> On Mon, May 06, 2019 at 05:26:11PM -0400, Len Brown wrote:
> > @@ -1411,7 +1413,7 @@ static int __init intel_uncore_init(void)
> > if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
> > return -ENODEV;
> >
> > - max_packages = topology_max_packages();
> > + max_packages = topology_max_packages() * topology_max_die_per_package();
>
> That's max_dies..
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
Powered by blists - more mailing lists