Messages in this thread | | | From | Len Brown <> | Date | Wed, 8 May 2019 15:51:20 -0400 | 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@infradead.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
| |