Re: [PATCH 16/22] perf/x86/intel/uncore: Support multi-die/package
From: Peter Zijlstra
Date: Tue May 07 2019 - 08:22:48 EST
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..
> uncore_init = (struct intel_uncore_init_fun *)id->driver_data;
> if (uncore_init->pci_init) {
> --
> 2.18.0-rc0
>