[RFC PATCH] EDAC: Cleanup atomic_scrub mess
Borislav Petkov
bp at alien8.de
Thu May 28 06:37:06 PDT 2015
On Thu, May 28, 2015 at 01:34:49PM +0100, Russell King - ARM Linux wrote:
> Acked-by: Russell King <rmk+kernel at arm.linux.org.uk>
Thanks!
I've got all the ACKs now :-)
>
> > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> > index 45df48ba0b12..325d6f3a596a 100644
> > --- a/arch/arm/Kconfig
> > +++ b/arch/arm/Kconfig
> > @@ -15,6 +15,8 @@ config ARM
> > select CLONE_BACKWARDS
> > select CPU_PM if (SUSPEND || CPU_IDLE)
> > select DCACHE_WORD_ACCESS if HAVE_EFFICIENT_UNALIGNED_ACCESS
> > + select EDAC_SUPPORT
> > + select EDAC_ATOMIC_SCRUB
>
> I wonder if it would make sense to conditionalise EDAC_SUPPORT on...
> if CPU_32v6 || CPU_32v7
I guess you can.
Especially if no newer 32-bit ARM would need the scrubbing anymore.
Disadvantage is, if turns out CPU_32v8 (would there even be v8, no
idea...) and newer would need it after all, you'd have to explicitly
enable it.
Thanks.
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
--
More information about the linux-arm-kernel
mailing list