lkml.org 
[lkml]   [2019]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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
>

\
 
 \ /
  Last update: 2019-05-07 14:22    [W:0.111 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site