Skip to content

Commit 0140e61

Browse files
Sonny RaoIngo Molnar
authored andcommitted
perf/x86/intel/uncore: Move PCI IDs for IMC to uncore driver
This keeps all the related PCI IDs together in the driver where they are used. Signed-off-by: Sonny Rao <sonnyrao@chromium.org> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1429644791-25724-1-git-send-email-sonnyrao@chromium.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 80bcffb commit 0140e61

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
/* Nehalem/SandBridge/Haswell uncore support */
22
#include "perf_event_intel_uncore.h"
33

4-
/* Uncore IMC PCI Id */
4+
/* Uncore IMC PCI IDs */
5+
#define PCI_DEVICE_ID_INTEL_SNB_IMC 0x0100
6+
#define PCI_DEVICE_ID_INTEL_IVB_IMC 0x0154
7+
#define PCI_DEVICE_ID_INTEL_IVB_E3_IMC 0x0150
8+
#define PCI_DEVICE_ID_INTEL_HSW_IMC 0x0c00
59
#define PCI_DEVICE_ID_INTEL_HSW_U_IMC 0x0a04
610

711
/* SNB event control */

include/linux/pci_ids.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2539,10 +2539,6 @@
25392539

25402540
#define PCI_VENDOR_ID_INTEL 0x8086
25412541
#define PCI_DEVICE_ID_INTEL_EESSC 0x0008
2542-
#define PCI_DEVICE_ID_INTEL_SNB_IMC 0x0100
2543-
#define PCI_DEVICE_ID_INTEL_IVB_IMC 0x0154
2544-
#define PCI_DEVICE_ID_INTEL_IVB_E3_IMC 0x0150
2545-
#define PCI_DEVICE_ID_INTEL_HSW_IMC 0x0c00
25462542
#define PCI_DEVICE_ID_INTEL_PXHD_0 0x0320
25472543
#define PCI_DEVICE_ID_INTEL_PXHD_1 0x0321
25482544
#define PCI_DEVICE_ID_INTEL_PXH_0 0x0329

0 commit comments

Comments
 (0)