Hi,
>> +/*
>> + * ECC atomic, DMA, SMP and interrupt safe scrub function.
>> + * Implements the per arch atomic_scrub() that EDAC use for software
>> + * ECC scrubbing. It reads memory and then writes back the original
>> + * value, allowing the hardware to detect and correct memory errors.
>> +
Add an stub atomic_scrub and enable EDAC for arm64.
Signed-off-by: Loc Ho
---
arch/arm64/Kconfig|1 +
arch/arm64/include/asm/edac.h | 31 +++
2 files changed, 32 insertions(+), 0 deletions(-)
create mode 100644 arch/arm64/include/asm/edac.h
diff --