linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] EDAC, layerscape: allow building for LS1021A
@ 2018-02-20 15:09 Rasmus Villemoes
  2018-02-20 21:01 ` York Sun
  0 siblings, 1 reply; 6+ messages in thread
From: Rasmus Villemoes @ 2018-02-20 15:09 UTC (permalink / raw)
  To: Borislav Petkov, Mauro Carvalho Chehab
  Cc: Rasmus Villemoes, York Sun, Alexander Stein, linux-edac, linux-kernel

The LS1021A has a memory controller supported by this driver. It builds
just fine, and I've done some rudimentary testing using the error
injection facility, which suggests that it is indeed working.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
---
Hi York

In https://patchwork.kernel.org/patch/9264623/, you wrote that LS1021A
support is "just one step away". I'm wondering if this is simply that
step, or there is a little more to it. As I write, it seems to work
just fine, but I may be missing something.

 drivers/edac/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
index 96afb2aeed18..23f619afe31d 100644
--- a/drivers/edac/Kconfig
+++ b/drivers/edac/Kconfig
@@ -254,7 +254,7 @@ config EDAC_MPC85XX
 
 config EDAC_LAYERSCAPE
 	tristate "Freescale Layerscape DDR"
-	depends on ARCH_LAYERSCAPE
+	depends on ARCH_LAYERSCAPE || SOC_LS1021A
 	help
 	  Support for error detection and correction on Freescale memory
 	  controllers on Layerscape SoCs.
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] EDAC, layerscape: allow building for LS1021A
  2018-02-20 15:09 [PATCH] EDAC, layerscape: allow building for LS1021A Rasmus Villemoes
@ 2018-02-20 21:01 ` York Sun
  2018-02-22 14:40   ` Rasmus Villemoes
  0 siblings, 1 reply; 6+ messages in thread
From: York Sun @ 2018-02-20 21:01 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: Borislav Petkov, Mauro Carvalho Chehab, Alexander Stein,
	linux-edac, linux-kernel

Sorry for top posting. I am on vacation and replying from my phone.

The controller is compatible and the driver should work. Please double check to make sure you can inject errors and receive interrupt. After that you are good to go.

York

Sent from my iPhone

> On Feb 20, 2018, at 23:09, Rasmus Villemoes <rasmus.villemoes@prevas.dk> wrote:
> 
> The LS1021A has a memory controller supported by this driver. It builds
> just fine, and I've done some rudimentary testing using the error
> injection facility, which suggests that it is indeed working.
> 
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
> ---
> Hi York
> 
> In https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.kernel.org%2Fpatch%2F9264623%2F&data=02%7C01%7Cyork.sun%40nxp.com%7C08fea717f1ca406b5db608d57873ed51%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636547361667697520&sdata=j%2Ff9myWudDTi38NQCBVv5yX5h%2F2TqcO10yTvcg%2FPWVM%3D&reserved=0, you wrote that LS1021A
> support is "just one step away". I'm wondering if this is simply that
> step, or there is a little more to it. As I write, it seems to work
> just fine, but I may be missing something.
> 
> drivers/edac/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
> index 96afb2aeed18..23f619afe31d 100644
> --- a/drivers/edac/Kconfig
> +++ b/drivers/edac/Kconfig
> @@ -254,7 +254,7 @@ config EDAC_MPC85XX
> 
> config EDAC_LAYERSCAPE
>    tristate "Freescale Layerscape DDR"
> -    depends on ARCH_LAYERSCAPE
> +    depends on ARCH_LAYERSCAPE || SOC_LS1021A
>    help
>      Support for error detection and correction on Freescale memory
>      controllers on Layerscape SoCs.
> -- 
> 2.15.1
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] EDAC, layerscape: allow building for LS1021A
  2018-02-20 21:01 ` York Sun
@ 2018-02-22 14:40   ` Rasmus Villemoes
  2018-02-22 21:22     ` York Sun
  0 siblings, 1 reply; 6+ messages in thread
From: Rasmus Villemoes @ 2018-02-22 14:40 UTC (permalink / raw)
  To: York Sun
  Cc: Borislav Petkov, Mauro Carvalho Chehab, Alexander Stein,
	linux-edac, linux-kernel

On 2018-02-20 22:01, York Sun wrote:
> Sorry for top posting. I am on vacation and replying from my phone.
> 
> The controller is compatible and the driver should work. Please double check to make sure you can inject errors and receive interrupt. After that you are good to go.

I can indeed inject errors and get the interrupt.

Thanks,
Rasmus

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] EDAC, layerscape: allow building for LS1021A
  2018-02-22 14:40   ` Rasmus Villemoes
@ 2018-02-22 21:22     ` York Sun
  2018-02-27 11:58       ` Rasmus Villemoes
  0 siblings, 1 reply; 6+ messages in thread
From: York Sun @ 2018-02-22 21:22 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: Borislav Petkov, Mauro Carvalho Chehab, Alexander Stein,
	linux-edac, linux-kernel

Then you are good to go.

York

Sent from my iPhone

> On Feb 22, 2018, at 22:40, Rasmus Villemoes <rasmus.villemoes@prevas.dk> wrote:
> 
>> On 2018-02-20 22:01, York Sun wrote:
>> Sorry for top posting. I am on vacation and replying from my phone.
>> 
>> The controller is compatible and the driver should work. Please double check to make sure you can inject errors and receive interrupt. After that you are good to go.
> 
> I can indeed inject errors and get the interrupt.
> 
> Thanks,
> Rasmus

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] EDAC, layerscape: allow building for LS1021A
  2018-02-22 21:22     ` York Sun
@ 2018-02-27 11:58       ` Rasmus Villemoes
  2018-02-27 14:08         ` Borislav Petkov
  0 siblings, 1 reply; 6+ messages in thread
From: Rasmus Villemoes @ 2018-02-27 11:58 UTC (permalink / raw)
  To: York Sun
  Cc: Borislav Petkov, Mauro Carvalho Chehab, Alexander Stein,
	linux-edac, linux-kernel

On 2018-02-22 22:22, York Sun wrote:
> Then you are good to go.

Great. Borislav, will you pick this up?

Rasmus

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] EDAC, layerscape: allow building for LS1021A
  2018-02-27 11:58       ` Rasmus Villemoes
@ 2018-02-27 14:08         ` Borislav Petkov
  0 siblings, 0 replies; 6+ messages in thread
From: Borislav Petkov @ 2018-02-27 14:08 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: York Sun, Mauro Carvalho Chehab, Alexander Stein, linux-edac,
	linux-kernel

On Tue, Feb 27, 2018 at 12:58:23PM +0100, Rasmus Villemoes wrote:
> On 2018-02-22 22:22, York Sun wrote:
> > Then you are good to go.
> 
> Great. Borislav, will you pick this up?

Applied, thanks.

-- 
Regards/Gruss,
    Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-02-27 14:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-20 15:09 [PATCH] EDAC, layerscape: allow building for LS1021A Rasmus Villemoes
2018-02-20 21:01 ` York Sun
2018-02-22 14:40   ` Rasmus Villemoes
2018-02-22 21:22     ` York Sun
2018-02-27 11:58       ` Rasmus Villemoes
2018-02-27 14:08         ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).