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

2019-05-30 Thread Junhan Zhou
> -Original Message- > From: James Morse > Sent: Thursday, May 23, 2019 1:30 PM > To: Junhan Zhou > Cc: Borislav Petkov ; Mauro Carvalho Chehab > ; Liming Sun ; linux- > e...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v3] EDAC, mella

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

2019-03-21 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

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 v1 1/1] EDAC, mellanox: Add ECC support for BlueField DDR4

2019-03-18 Thread Junhan Zhou
> > +config EDAC_BLUEFIELD > > + tristate "Mellanox BlueField Memory ECC" > > + depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || > COMPILE_TEST > > MELLANOX_PLATFORM depends on X86 || ARM but this depends on ARM64. > How is that even supposed to work? We are pushing to add driver support in

[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

RE: [PATCH v1 1/1] EDAC, mellanox: Add ECC support for BlueField DDR4

2019-03-14 Thread Junhan Zhou
Hi, any comments on this patch? I'm trying to add EDAC support for our BlueField platform memory controller. > -Original Message- > From: linux-edac-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Junhan Zhou > Sent: Wednesday, February 27, 2019 3:22 PM >

[PATCH v1 1/1] EDAC, mellanox: Add ECC support for BlueField DDR4

2019-02-27 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 --- drivers/edac/Kconfig | 7 + drivers/edac/Makefile | 1 + drivers/edac