]> git.baikalelectronics.ru Git - kernel.git/commit
i7core_edac: Add a code to probe Xeon 55xx bus
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 10 Jul 2009 21:39:53 +0000 (18:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 10 May 2010 14:44:51 +0000 (11:44 -0300)
commit2305958cccf6a3c64786657dc9b693228ef8137a
treee3870ec2d0c20804c2865a67c606acf8a736c01c
parent21c0081fe99561bd48f1288fa71b45e5ca2af356
i7core_edac: Add a code to probe Xeon 55xx bus

This code changes the detection procedure of i7core_edac. Instead of
directly probing for MC registers, it probes for another register found
on Nehalem. If found, it tries to pick the first MC PCI BUS. This should
work fine with Xeon 35xx, but, on Xeon 55xx, this is at bus 254 and 255
that are not properly detected by the non-legacy PCI methods.

The new detection code scans specifically at buses 254 and 255 for the
Xeon 55xx devices.

This code has not tested yet. After working, a change at the code will
be needed, since the i7core is not yet ready for working with 2 sets of
MC.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
arch/x86/pci/legacy.c
drivers/edac/i7core_edac.c
include/linux/pci.h
include/linux/pci_ids.h