perf/x86/intel/uncore: Add auxiliary pci device support
authorYan, Zheng <[email protected]>
Wed, 7 Aug 2013 06:17:23 +0000 (14:17 +0800)
committerIngo Molnar <[email protected]>
Fri, 16 Aug 2013 15:55:48 +0000 (17:55 +0200)
commit899396cf7b4b31e08be358411ad5c0c066069ebc
treea13070ed31402d56457d6f2eefd14bff7abe713e
parent894e8d089079caf99ea5d6a52c52506b38dee347
perf/x86/intel/uncore: Add auxiliary pci device support

The QPI uncore boxes have two pairs of MATCH/MASK registers that
user to filter packet traffic serviced by QPI link layer. These
registers are in auxiliary PCI devices.

This patch changes the meaning of (struct pci_device_id)->driver_data.
The first 8 bits are device index of the same uncore type, the second
8 bytes are uncore type index. Auxiliary PCI device's type is defined
as UNCORE_EXTRA_PCI_DEV(0xff)

Signed-off-by: Yan, Zheng <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/perf_event_intel_uncore.c
arch/x86/kernel/cpu/perf_event_intel_uncore.h