Re: [PATCH v2 4/6] edac: synopsys: Add ECC error injection support

2017-08-13 Thread Borislav Petkov
On Mon, Aug 07, 2017 at 09:39:26AM +0200, Michal Simek wrote: > @@ -181,6 +187,38 @@ > #define MEM_TYPE_DDR40x10 > #define MEM_TYPE_LPDDR4 0x10 > > +/* DDRC Software control register */ > +#define DDRC_SWCTL 0x320 > + > +/* DDRC ECC CE & UE poison mask */ > +#define ECC_CEPOISON_

[PATCH v2 4/6] edac: synopsys: Add ECC error injection support

2017-08-07 Thread Michal Simek
From: Naga Sureshkumar Relli The ZynqMP DDRC controller has data poisoning support to inject CE or UE errors. this patch adds this support using sysfs attributes. created the following sysfs entries to support this. -> /sys/devices/system/edac/mc/mc0/inject_data_poison -> /sys/devices/system/eda