lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 25 Jan 2019 22:45:59 +0000
From:   Song Liu <songliubraving@...com>
To:     "Liang, Kan" <kan.liang@...ux.intel.com>
CC:     lkml <linux-kernel@...r.kernel.org>
Subject: Re: perf/x86/intel/uncore



> On Jan 25, 2019, at 2:42 PM, Liang, Kan <kan.liang@...ux.intel.com> wrote:
> 
> 
> 
> On 1/25/2019 5:24 PM, Song Liu wrote:
>> I also noticed that uncore_pci_probe() returns at
>>         if (atomic_inc_return(&pmu->activeboxes) > 1)
>>                 return 0;
>> for bus 1-7. So we only probed bus 0 (socket 0). Is this expected behavior?
> 
> We probed all, but only need to register PMU once.
> It can be distinguished by cpumask. E.g. you may want to check "/sys/devices/uncore_imc_0/cpumask".
> 
> 
> Thanks,
> Kan

I see. That works:

[root@...test10787.snc1 /sys/bus/event_source/devices/uncore_imc_0]# cat cpumask
0,28,56,84,112,140,168,196

I think this solves all the problems. 

Thanks again!
Song

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ