summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2016-06-02 20:58:08 +0300
committerBorislav Petkov <bp@suse.de>2016-06-03 18:28:21 +0300
commit665f05e0b836d46b22f0b712eb76d8b7f69a5ea0 (patch)
tree3d9a03cd9ab37e2be3922807b8b4d96e0fc23065 /scripts
parentfbedcaf43fba35677c01a4ae51e6f79edf4049ba (diff)
downloadlinux-665f05e0b836d46b22f0b712eb76d8b7f69a5ea0.tar.xz
EDAC, sb_edac: Readd accidentally dropped Broadwell-D support
In commit 2c1ea4c700af ("EDAC, sb_edac: Use cpu family/model in driver detection") we switched from using PCI ids to determine which platform we are running on to using CPU model instead. I forgot that Broadwell-DE has its own distinct model number different from Broadwell-EP or -EX. Fixing this isn't just adding a line to the array of cpuids - the exising code assumed a 1:1 mapping between entries in that array and the "enum type" values. Added the type to pci_id_table structure to remove this dependency and allows two Broadwell cpu models. Signed-off-by: Tony Luck <tony.luck@intel.com> Cc: Aristeu Rozanski <arozansk@redhat.com> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Cc: linux-edac <linux-edac@vger.kernel.org> Fixes: 2c1ea4c700af ("EDAC, sb_edac: Use cpu family/model in driver detection") Link: http://lkml.kernel.org/r/b3cffe40dec6dfe0235a5d52a504f0ba86a07ce7.1464902605.git.tony.luck@intel.com Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions