android_kernel_xiaomi_sm8350/drivers/edac
Jason Uhlenkott 654ede200f drivers/edac: mod race fix i82875p
If ERRSTS indicates that there's no error then we don't need to bother reading
the other registers.

In addition to making the common case faster, this actually fixes a small race
where we don't see an error but we clear the error bits anyway, potentially
wiping away info on an error that happened in the interim (or where a CE
arrives between the first and second read of ERRSTS, causing us to falsely
claim "UE overwrote CE").

Signed-off-by: Jason Uhlenkott <juhlenko@akamai.com>
Signed-off-by: Douglas Thompson <dougthompson@xmission.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-19 10:04:55 -07:00
..
amd76x_edac.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00
e7xxx_edac.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00
e752x_edac.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00
edac_core.h drivers/edac: add device sysfs attributes 2007-07-19 10:04:55 -07:00
edac_device_sysfs.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00
edac_device.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00
edac_mc_sysfs.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00
edac_mc.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00
edac_mc.h drivers/edac: core Lindent cleanup 2007-07-19 10:04:54 -07:00
edac_module.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00
edac_module.h drivers/edac: core Lindent cleanup 2007-07-19 10:04:54 -07:00
edac_pci_sysfs.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00
edac_pci.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00
edac_stub.c drivers/edac: core Lindent cleanup 2007-07-19 10:04:54 -07:00
i3000_edac.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00
i5000_edac.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00
i82443bxgx_edac.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00
i82860_edac.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00
i82875p_edac.c drivers/edac: mod race fix i82875p 2007-07-19 10:04:55 -07:00
Kconfig drivers/edac: add mips and ppc visibility 2007-07-19 10:04:55 -07:00
Makefile drivers/edac: updated PCI monitoring 2007-07-19 10:04:54 -07:00
r82600_edac.c drivers/edac: cleanup spaces-gotos after Lindent messup 2007-07-19 10:04:55 -07:00