aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSonny Rao <sonnyrao@chromium.org>2015-04-21 15:33:11 -0400
committerIngo Molnar <mingo@kernel.org>2015-04-22 02:29:19 -0400
commit0140e6141e4f1d4b15fb469e6912b0e71b7d1cc2 (patch)
treede96d7cb90aff34c789e12bf5ad3812074f8451c
parent80bcffb376a6890dd7452b12c1ba032f8f24fef6 (diff)
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>
-rw-r--r--arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c6
-rw-r--r--include/linux/pci_ids.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c b/arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c
index ca75e70865ef..4562e9e22c60 100644
--- a/arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c
+++ b/arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c
@@ -1,7 +1,11 @@
1/* Nehalem/SandBridge/Haswell uncore support */ 1/* Nehalem/SandBridge/Haswell uncore support */
2#include "perf_event_intel_uncore.h" 2#include "perf_event_intel_uncore.h"
3 3
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
5#define PCI_DEVICE_ID_INTEL_HSW_U_IMC 0x0a04 9#define PCI_DEVICE_ID_INTEL_HSW_U_IMC 0x0a04
6 10
7/* SNB event control */ 11/* SNB event control */
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index e63c02a93f6b..a59385852233 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -2539,10 +2539,6 @@
2539 2539
2540#define PCI_VENDOR_ID_INTEL 0x8086 2540#define PCI_VENDOR_ID_INTEL 0x8086
2541#define PCI_DEVICE_ID_INTEL_EESSC 0x0008 2541#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
2546#define PCI_DEVICE_ID_INTEL_PXHD_0 0x0320 2542#define PCI_DEVICE_ID_INTEL_PXHD_0 0x0320
2547#define PCI_DEVICE_ID_INTEL_PXHD_1 0x0321 2543#define PCI_DEVICE_ID_INTEL_PXHD_1 0x0321
2548#define PCI_DEVICE_ID_INTEL_PXH_0 0x0329 2544#define PCI_DEVICE_ID_INTEL_PXH_0 0x0329