Re: [PATCH 16/22] perf/x86/intel/uncore: Support multi-die/package

From: Len Brown
Date: Wed May 08 2019 - 15:52:38 EST


On Tue, May 7, 2019 at 8:21 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> 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