[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190507122141.GM2623@hirez.programming.kicks-ass.net>
Date: Tue, 7 May 2019 14:21:41 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Len Brown <lenb@...nel.org>
Cc: 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 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
>
Powered by blists - more mailing lists