mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
edac: e752x fsb ecc
FSB parity is only supported on the Xeon processor. Previously it was incorrectly enabled for the Celeron as well. Signed-off-by: Konstantin Olifer <kolifer@gmail.com> Signed-off-by: Doug Thompson <dougthompson@xmission.com> Cc: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
66ed3f7516
commit
8de5c1a165
@ -1073,10 +1073,7 @@ fail:
|
|||||||
|
|
||||||
/* Setup system bus parity mask register.
|
/* Setup system bus parity mask register.
|
||||||
* Sysbus parity supported on:
|
* Sysbus parity supported on:
|
||||||
* e7320/e7520/e7525 + Xeon
|
* e7320/e7520/e7525 + Xeon
|
||||||
* i3100 + Xeon/Celeron
|
|
||||||
* Sysbus parity not supported on:
|
|
||||||
* i3100 + Pentium M/Celeron M/Core Duo/Core2 Duo
|
|
||||||
*/
|
*/
|
||||||
static void e752x_init_sysbus_parity_mask(struct e752x_pvt *pvt)
|
static void e752x_init_sysbus_parity_mask(struct e752x_pvt *pvt)
|
||||||
{
|
{
|
||||||
@ -1087,10 +1084,7 @@ static void e752x_init_sysbus_parity_mask(struct e752x_pvt *pvt)
|
|||||||
/* Allow module parameter override, else see if CPU supports parity */
|
/* Allow module parameter override, else see if CPU supports parity */
|
||||||
if (sysbus_parity != -1) {
|
if (sysbus_parity != -1) {
|
||||||
enable = sysbus_parity;
|
enable = sysbus_parity;
|
||||||
} else if (cpu_id[0] &&
|
} else if (cpu_id[0] && !strstr(cpu_id, "Xeon")) {
|
||||||
((strstr(cpu_id, "Pentium") && strstr(cpu_id, " M ")) ||
|
|
||||||
(strstr(cpu_id, "Celeron") && strstr(cpu_id, " M ")) ||
|
|
||||||
(strstr(cpu_id, "Core") && strstr(cpu_id, "Duo")))) {
|
|
||||||
e752x_printk(KERN_INFO, "System Bus Parity not "
|
e752x_printk(KERN_INFO, "System Bus Parity not "
|
||||||
"supported by CPU, disabling\n");
|
"supported by CPU, disabling\n");
|
||||||
enable = 0;
|
enable = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user