]> asedeno.scripts.mit.edu Git - linux.git/commit
perf/x86/intel/uncore: Add auxiliary pci device support
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 7 Aug 2013 06:17:23 +0000 (14:17 +0800)
committerIngo Molnar <mingo@kernel.org>
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 <zheng.z.yan@intel.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1375856245-10717-1-git-send-email-zheng.z.yan@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel_uncore.c
arch/x86/kernel/cpu/perf_event_intel_uncore.h