Re: [PATCH v2] EDAC, mellanox: Add ECC support for BlueField DDR4

2019-03-21 Thread Randy Dunlap
On 3/21/19 7:30 AM, Junhan Zhou wrote: >>> +config EDAC_BLUEFIELD >>> + tristate "Mellanox BlueField Memory ECC" >>> + depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || >> COMPILE_TEST >> >> Hi, >> >> While I am in favor of using COMPILE_TEST whenever possible, I don't see >> how that is possi

RE: [PATCH v2] EDAC, mellanox: Add ECC support for BlueField DDR4

2019-03-21 Thread Junhan Zhou
> > +config EDAC_BLUEFIELD > > + tristate "Mellanox BlueField Memory ECC" > > + depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || > COMPILE_TEST > > Hi, > > While I am in favor of using COMPILE_TEST whenever possible, I don't see > how that is possible here if: > > # MELLANOX_PLATFORM is no

Re: [PATCH v2] EDAC, mellanox: Add ECC support for BlueField DDR4

2019-03-18 Thread Randy Dunlap
On 3/18/19 11:39 AM, Junhan Zhou wrote: > Add ECC support for Mellanox BlueField SoC DDR controller. > This requires SMC to the running Arm Trusted Firmware to report > what is the current memory configuration. > > Signed-off-by: Junhan Zhou > --- > MAINTAINERS | 5 + > drive

[PATCH v2] EDAC, mellanox: Add ECC support for BlueField DDR4

2019-03-18 Thread Junhan Zhou
Add ECC support for Mellanox BlueField SoC DDR controller. This requires SMC to the running Arm Trusted Firmware to report what is the current memory configuration. Signed-off-by: Junhan Zhou --- MAINTAINERS | 5 + drivers/edac/Kconfig | 7 + drivers/edac/Makefile