[PATCH] amd64_edac: Document why it is 64-bit only

From: Borislav Petkov
Date: Sun Nov 02 2014 - 05:45:27 EST


On Sun, Nov 02, 2014 at 11:33:00AM +0100, Borislav Petkov wrote:
> I guess I'll add a note about this in the Kconfig text because I keep
> getting patches about this once every couple of months :-)

---
From: Borislav Petkov <bp@xxxxxxx>
Subject: [PATCH] amd64_edac: Document why it is 64-bit only

I keep getting requests for this so let's hold it down why it doesn't
make sense. Also, drop incorrect statement about K8 and F10h - this
driver supports all relevant AMD CPUs.

Cc: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@xxxxxxx>
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
---
drivers/edac/Kconfig | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
index 7072c2892d63..4be205741221 100644
--- a/drivers/edac/Kconfig
+++ b/drivers/edac/Kconfig
@@ -105,11 +105,16 @@ config EDAC_GHES
In doubt, say 'Y'.

config EDAC_AMD64
- tristate "AMD64 (Opteron, Athlon64) K8, F10h"
+ tristate "AMD64 (Opteron, Athlon64)"
depends on EDAC_MM_EDAC && AMD_NB && X86_64 && EDAC_DECODE_MCE
help
Support for error detection and correction of DRAM ECC errors on
- the AMD64 families of memory controllers (K8 and F10h)
+ the AMD64 families of memory controllers, everything >= K8.
+
+ Note: this driver is 64-bit only on purpose because having a big
+ driver report errors for 1 or 2 DIMMs max on 32-bit, considering
+ current DIMM sizes, does not make a lot of sense to be worth the
+ effort and energy.

config EDAC_AMD64_ERROR_INJECTION
bool "Sysfs HW Error injection facilities"
--
2.0.0


--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/