RE: [PATCH 1/1] x86/platform/x86: Fix count of CHas on multi-pci-segment arches

2018-03-12 Thread Kroening, Gary
-socket hubless/scalable - two sockets, scalable - four sockets, hubless - eight sockets, scalable In all cases, skx_count_chabox() is returning 28 for Skylake server. Thanks for the quick response! Gary > -Original Message- > From: Liang, Kan [mailto:kan.li...@linux.intel.com] &g

RE: [PATCH 1/1] x86/platform/x86: Fix count of CHas on multi-pci-segment arches

2018-03-12 Thread Kroening, Gary
gle bus for all sockets. single segment/domain * Sorry for the spam! Gary > -Original Message- > From: Kroening, Gary > Sent: Tuesday, March 13, 2018 12:07 AM > To: 'Liang, Kan'; mi...@redhat.com; h...@zytor.com; t...@linutronix.de; > pet...@infrade

[PATCH 1/1] x86/platform/x86: Fix count of CHas on multi-pci-segment arches

2018-03-07 Thread Kroening, Gary
For systems with a single PCI segment, it is sufficient to look for the bus number to change in order to determine that all of the CHa's have been counted for a single socket. However, for multi PCI segment systems, each socket is given a new segment and the bus number does NOT change. So looking

RE: [PATCH V2] perf/x86/intel/uncore: Querying number of CHAs from CAPID6 register

2018-03-13 Thread Kroening, Gary
e- > From: kan.li...@linux.intel.com [mailto:kan.li...@linux.intel.com] > Sent: Tuesday, March 13, 2018 1:52 PM > To: mi...@redhat.com; h...@zytor.com; t...@linutronix.de; > pet...@infradead.org; andy.shevche...@gmail.com > Cc: Kroening, Gary; Travis, Mike; Banman, Andrew; Sivanich,