RE: [EXT] Re: [next, v2] dmaengine: fsl-dpaa2-qdma: export the symbols

2019-10-22 Thread Peng Ma
>-Original Message- >From: Vinod Koul >Sent: 2019年10月23日 13:09 >To: Peng Ma >Cc: dan.j.willi...@intel.com; Leo Li ; >anders.rox...@linaro.org; linux-kernel@vger.kernel.org; >dmaeng...@vger.kernel.org >Subject: [EXT] Re: [next, v2] dmaengine: fsl-dpaa2-

[next, v2] dmaengine: fsl-dpaa2-qdma: export the symbols

2019-10-22 Thread Peng Ma
/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined! ERROR: "dpdmai_reset" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined! WARNING: "HYPERVISOR_platform_op" [vmlinux] is a static EXPORT_SYMBOL_GPL make[2]: *** [__modpost] Error 1 make[1]: *** [modules] Error 2 make[1]: *** Waiting for

RE: [EXT] Re: [V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-10-22 Thread Peng Ma
Hi Anders, The fixed patch link as follows: https://lore.kernel.org/lkml/20191023021959.35596-1-peng...@nxp.com/ Please check it. Best Regards, Peng >-Original Message- >From: Anders Roxell >Sent: 2019年10月22日 19:11 >To: Peng Ma >Cc: Vinod Koul ; dan.j.willi...@in

RE: [EXT] Re: [V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-10-22 Thread Peng Ma
Hi Vinod, >-Original Message- >From: Vinod Koul >Sent: 2019年10月23日 0:10 >To: Peng Ma >Cc: Anders Roxell ; dan.j.willi...@intel.com; Leo Li >; linux-kernel@vger.kernel.org; >dmaeng...@vger.kernel.org >Subject: Re: [EXT] Re: [V5 1/2] dmaengine: fsl-dpaa2-qdma: A

[PATCH] dmaengine: fsl-dpaa2-qdma: Fixed build error when enable dpaa2 qdma module driver

2019-10-22 Thread Peng Ma
a.ko] undefined! ERROR: "dpdmai_reset" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined! WARNING: "HYPERVISOR_platform_op" [vmlinux] is a static EXPORT_SYMBOL_GPL make[2]: *** [__modpost] Error 1 make[1]: *** [modules] Error 2 make[1]: *** Waiting for unfinished jobs ma

RE: [EXT] Re: [V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-10-22 Thread Peng Ma
Hi Anders && Viod, I sent v6 patch to fix the build error, please check. Patchwork link: https://patchwork.kernel.org/project/linux-dmaengine/list/?series=191397 Best Regards, Peng >-Original Message- >From: Anders Roxell >Sent: 2019年10月22日 17:27 >To: Peng

[v6] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-10-22 Thread Peng Ma
eing frame descriptors(FD) and for acquiring/releasing buffers. 5. Supports enable, disable, and reset operations. Add dpdmai to support some platforms with dpaa2 qdma engine. Signed-off-by: Peng Ma --- Changed for v6: - Fixed build error when enable dpaa2 qdma module driver d

[v6 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs

2019-10-22 Thread Peng Ma
Layerscape SoCs. such as: LS1088A, LS208xA, LX2, etc. Signed-off-by: Peng Ma --- Changed for v6: - No changed drivers/dma/Kconfig | 2 + drivers/dma/Makefile| 1 + drivers/dma/fsl-dpaa2-qdma/Kconfig | 9 + drivers/dma/fsl-dpaa2-qdma/Makefile

RE: [EXT] [RFT] dmaengine: fsl-qdma: Handle invalid qdma-queue0 IRQ

2019-10-21 Thread Peng Ma
Hi Krzysztof, Thanks for your patch. Reviewed-by: Peng Ma Tested-by: Peng Ma Best Regards, Peng >-Original Message- >From: Krzysztof Kozlowski >Sent: 2019年10月4日 23:08 >To: Vinod Koul ; Dan Williams ; >Peng Ma ; Wen He ; Jiaheng Fan >; Krzysztof Kozlowski ; >dmae

[V2] dmaengine: fsl-edma: Add eDMA support for QorIQ LS1028A platform

2019-10-20 Thread Peng Ma
-off-by: Peng Ma --- Changed for V2: - Explaining what's the "Our platforms" drivers/dma/fsl-edma-common.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c index b1a7ca9..611186b 100644 --- a/

RE: [EXT] Re: [PATCH] dmaengine: fsl-edma: Add eDMA support for QorIQ LS1028A platform

2019-10-18 Thread Peng Ma
Hi Fabio, >-Original Message- >From: Fabio Estevam >Sent: 2019年10月18日 22:40 >To: Peng Ma >Cc: Vinod ; Dan Williams ; Leo >Li ; Krzysztof Kozłowski ; >Fabio Estevam ; dmaeng...@vger.kernel.org; >linux-kernel >Subject: Re: [EXT] Re: [PATCH] dmaengine: fsl

RE: [EXT] Re: [PATCH] dmaengine: fsl-edma: Add eDMA support for QorIQ LS1028A platform

2019-10-18 Thread Peng Ma
Hi Fabio, Thanks for your comments. Do you mean I explain "Our platforms" here or in patch? Best Regards, Peng >-Original Message- >From: Fabio Estevam >Sent: 2019年10月18日 22:25 >To: Peng Ma >Cc: Vinod ; Dan Williams ; Leo >Li ; Krzysztof Kozłows

[PATCH] dmaengine: fsl-edma: Add eDMA support for QorIQ LS1028A platform

2019-10-17 Thread Peng Ma
| |--||---| | 0xF |CHCFG15 | CHCFG12 | *---* This patch is to improve edma driver to fit LS1028A platform. Signed-off-by: Peng Ma --- drivers/dma/fsl-edma-common.c

RE: [EXT] Re: [V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-10-16 Thread Peng Ma
Hi Vinod, Thanks very much for your reply. Best Regards, Peng >-Original Message- >From: Vinod Koul >Sent: 2019年10月17日 12:11 >To: Peng Ma >Cc: dan.j.willi...@intel.com; Leo Li ; >linux-kernel@vger.kernel.org; dmaeng...@vger.kernel.org >Subject: [EXT] Re: [V5 1/2]

[V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-09-29 Thread Peng Ma
eing frame descriptors(FD) and for acquiring/releasing buffers. 5. Supports enable, disable, and reset operations. Add dpdmai to support some platforms with dpaa2 qdma engine. Signed-off-by: Peng Ma --- changed for v5: - Clean up the format. - Delete some useless struct

[V5 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs

2019-09-29 Thread Peng Ma
Layerscape SoCs. such as: LS1088A, LS208xA, LX2, etc. Signed-off-by: Peng Ma --- changed for v5: - Clean up the format and code. - Update comments. - Add error logs. drivers/dma/Kconfig |2 + drivers/dma/Makefile|1 + drivers/dma

RE: [EXT] Re: [V4 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs

2019-09-25 Thread Peng Ma
Hi Vinod, Ok, thanks. I will resend them after next Monday. Best Regards, Peng >-Original Message- >From: Vinod Koul >Sent: 2019年9月26日 0:34 >To: Peng Ma >Cc: dan.j.willi...@intel.com; Leo Li ; >linux-kernel@vger.kernel.org; dmaeng...@vger.kernel.org >Subject:

RE: [EXT] Re: [V4 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs

2019-09-24 Thread Peng Ma
Hi Vinod, >-Original Message- >From: Vinod Koul >Sent: 2019年9月25日 3:35 >To: Peng Ma >Cc: dan.j.willi...@intel.com; Leo Li ; >linux-kernel@vger.kernel.org; dmaeng...@vger.kernel.org >Subject: Re: [EXT] Re: [V4 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 >qD

RE: [EXT] Re: [V4 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs

2019-09-10 Thread Peng Ma
11015035/ https://patchwork.kernel.org/patch/11015033/ Best Regards, Peng >-Original Message- >From: Vinod Koul >Sent: 2019年6月25日 0:46 >To: Peng Ma >Cc: dan.j.willi...@intel.com; Leo Li ; >linux-kernel@vger.kernel.org; dmaeng...@vger.kernel.org >Subject: [EXT] Re: [V4 2/2] dmae

RE: [EXT] [BUG BISECT] Net boot fails on VF50 after "dmaengine: fsl-edma: support little endian for edma driver"

2019-07-04 Thread Peng Ma
Hi Krzysztof, Got it. Thanks for your help Best Regards, Peng >-Original Message- >From: Krzysztof Kozlowski >Sent: 2019年7月4日 20:57 >To: Peng Ma >Cc: Vinod Koul ; dmaeng...@vger.kernel.org; >linux-kernel@vger.kernel.org; Fabio Estevam ; Leo >Li ; Andy Tang >

RE: [EXT] [BUG BISECT] Net boot fails on VF50 after "dmaengine: fsl-edma: support little endian for edma driver"

2019-07-04 Thread Peng Ma
Hi Fabio, Thanks very much for your suggestion, I will do some changes then to Send upstream review. Best Regards, Peng >-Original Message- >From: Fabio Estevam >Sent: 2019年7月4日 20:07 >To: Peng Ma >Cc: Krzysztof Kozłowski ; Vinod Koul >; dmaeng...@vger.kernel.

RE: [EXT] [BUG BISECT] Net boot fails on VF50 after "dmaengine: fsl-edma: support little endian for edma driver"

2019-07-03 Thread Peng Ma
| *---* So we need this patch, I make some changes,Please help me to test attatchment on VF50 board, Thanks. Best Regards, Peng >-Original Message- >From: Krzysztof Kozłowski >Sent: 2019年7月2日 20:13 >

[V5 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs

2019-06-25 Thread Peng Ma
Layerscape SoCs. such as: LS1088A, LS208xA, LX2, etc. Signed-off-by: Peng Ma --- changed for v5: - Clean up the format and code. - Update comments. - Add error logs. drivers/dma/Kconfig |2 + drivers/dma/Makefile|1 + drivers/dma

[V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-06-25 Thread Peng Ma
eing frame descriptors(FD) and for acquiring/releasing buffers. 5. Supports enable, disable, and reset operations. Add dpdmai to support some platforms with dpaa2 qdma engine. Signed-off-by: Peng Ma --- changed for v5: - Clean up the format. - Delete some useless struct

RE: [EXT] Re: [PATCH 2/4] arm64: dts: fsl: ls1028a: Add eDMA node

2019-06-18 Thread Peng Ma
>-Original Message- >From: Shawn Guo >Sent: 2019年6月18日 21:13 >To: Peng Ma >Cc: vk...@kernel.org; robh...@kernel.org; mark.rutl...@arm.com; Leo Li >; dan.j.willi...@intel.com; dmaeng...@vger.kernel.org; >devicet...@vger.kernel.org; linux-kernel@vger.kerne

RE: [EXT] Re: [V3 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs

2019-06-13 Thread Peng Ma
Hi Vinod, >-Original Message- >From: Vinod Koul >Sent: 2019年6月13日 19:03 >To: Peng Ma >Cc: dan.j.willi...@intel.com; Leo Li ; >linux-kernel@vger.kernel.org; dmaeng...@vger.kernel.org >Subject: Re: [EXT] Re: [V3 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 >qD

RE: [V4 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-06-13 Thread Peng Ma
>+ cmd_params->queue = priority; >+ cmd_params->dest_type = cfg->dest_cfg.dest_type; >+ cmd_params->user_ctx = cpu_to_le64(cfg->user_ctx); >+ cmd_params->options = cpu_to_le32(cfg->options); >+ >+ /* send command to mc*/ >+ retu

[V4 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-06-13 Thread Peng Ma
eing frame descriptors(FD) and for acquiring/releasing buffers. 5. Supports enable, disable, and reset operations. Add dpdmai to support some platforms with dpaa2 qdma engine. Signed-off-by: Peng Ma --- changed for v4: - Delete dpdmai_cmd.h. - Remove some useless

[V4 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs

2019-06-13 Thread Peng Ma
supports global bandwidth flow control where all DMA transactions are stalled if the bandwidth threshold has been reached. Also supported are transaction based read throttling. Add NXP dppa2 qDMA to support some of Layerscape SoCs. such as: LS1088A, LS208xA, LX2, etc. Signed-off-by: Peng Ma

[V2] dmaengine: fsl-edma: support little endian for edma driver

2019-06-13 Thread Peng Ma
: Peng Ma --- Changed fo v2: - Add details fo comments. drivers/dma/fsl-edma-common.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c index 680b2a0..6bf238e 100644 --- a/drivers/dma/fsl-edma-common.c

RE: [EXT] Re: [V3 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs

2019-06-10 Thread Peng Ma
Hi, Vinod, Please see my comments inline, thanks very much. Best Regards, Peng >-Original Message- >From: Vinod Koul >Sent: 2019年4月29日 13:32 >To: Peng Ma >Cc: dan.j.willi...@intel.com; Leo Li ; >linux-kernel@vger.kernel.org; dmaeng...@vger.kernel.org >Subje

RE: [EXT] Re: [V3 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-05-27 Thread Peng Ma
age- >From: Vinod Koul >Sent: 2019年4月26日 20:46 >To: Peng Ma >Cc: dan.j.willi...@intel.com; Leo Li ; >linux-kernel@vger.kernel.org; dmaeng...@vger.kernel.org >Subject: [EXT] Re: [V3 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data >Path DMA Interface) support > >Caution: E

[PATCH] arm64: dts: ls1028a: Enable sata.

2019-05-24 Thread Peng Ma
Change the sata node to enable sata. Signed-off-by: Peng Ma --- arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts |4 arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts |4 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a

RE: [EXT] Re: [PATCH 3/4] dmaengine: fsl-edma: support little endian for edma driver

2019-05-21 Thread Peng Ma
21日 12:38 >To: Peng Ma >Cc: robh...@kernel.org; shawn...@kernel.org; mark.rutl...@arm.com; Leo >Li ; dan.j.willi...@intel.com; >dmaeng...@vger.kernel.org; devicet...@vger.kernel.org; >linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org >Subject: [EXT] Re: [PAT

[V3 1/2] dmaengine: fsl-qdma: fixed the source/destination descriptor format

2019-05-21 Thread Peng Ma
CMD of Source/Destination descriptor format should be lower of struct fsl_qdma_engine number data address. Signed-off-by: Peng Ma --- changed for V3: - Delete macro to simplify code. drivers/dma/fsl-qdma.c | 18 ++ 1 files changed, 10 insertions(+), 8 deletions

[V3 2/2] dmaengine: fsl-qdma: Add improvement

2019-05-21 Thread Peng Ma
When an error occurs we should clean the error register then to return Signed-off-by: Peng Ma --- changed for V3: - no changed. drivers/dma/fsl-qdma.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/dma/fsl-qdma.c b/drivers/dma/fsl-qdma.c index

[PATCH 3/4] dmaengine: fsl-edma: support little endian for edma driver

2019-05-06 Thread Peng Ma
improve edma driver to support little endian. Signed-off-by: Peng Ma --- drivers/dma/fsl-edma-common.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c index 680b2a0..6bf238e 100644 --- a/drivers/dma/fsl

[PATCH 2/4] arm64: dts: fsl: ls1028a: Add eDMA node

2019-05-06 Thread Peng Ma
Add the eDMA device tree nodes for LS1028A devices Signed-off-by: Peng Ma --- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale

[PATCH 4/4] dt-bindings: fsl-qdma: Add LS1028A qDMA bindings

2019-05-06 Thread Peng Ma
Add LS1028A qDMA controller bindings to fsl-qdma bindings. Signed-off-by: Peng Ma --- Documentation/devicetree/bindings/dma/fsl-qdma.txt |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/fsl-qdma.txt b/Documentation/devicetree

[PATCH 1/4] arm64: dts: fsl: ls1028a: Add qDMA node

2019-05-06 Thread Peng Ma
Add the qDMA device tree nodes for LS1028A devices Signed-off-by: Peng Ma --- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts

[V2 2/2] dmaengine: fsl-qdma: Add improvement

2019-05-05 Thread Peng Ma
When an error occurs we should clean the error register then to return Signed-off-by: Peng Ma --- changed for V2: - Separate one patch to two patchs drivers/dma/fsl-qdma.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/dma/fsl-qdma.c b/drivers/dma

[V2 1/2] dmaengine: fsl-qdma: fixed the source/destination descriptor format

2019-05-05 Thread Peng Ma
CMD of Source/Destination descriptor format should be lower of struct fsl_qdma_engine number data address. Signed-off-by: Peng Ma --- changed for V2: - Fix descriptor spelling drivers/dma/fsl-qdma.c | 25 + 1 files changed, 17 insertions(+), 8 deletions

RE: [EXT] Re: [PATCH] dmaengine: fsl-qdma: fixed the source/destination descriptior format

2019-04-28 Thread Peng Ma
>-Original Message- >From: Vinod Koul >Sent: 2019年4月29日 13:16 >To: Peng Ma >Cc: dan.j.willi...@intel.com; Leo Li ; >dmaeng...@vger.kernel.org; linux-kernel@vger.kernel.org >Subject: Re: [EXT] Re: [PATCH] dmaengine: fsl-qdma: fixed the >source/destination descr

RE: [EXT] Re: [PATCH] dmaengine: fsl-qdma: fixed the source/destination descriptior format

2019-04-27 Thread Peng Ma
Hi Vinod, Thanks your comments. Please see my comments inline. Best Regards, Peng >-Original Message- >From: Vinod Koul >Sent: 2019年4月26日 19:51 >To: Peng Ma >Cc: dan.j.willi...@intel.com; Leo Li ; >dmaeng...@vger.kernel.org; linux-kernel@vger.kernel.org >Subj

[PATCH] dmaengine: fsl-qdma: fixed the source/destination descriptior format

2019-04-19 Thread Peng Ma
CMD of Source/Destination descriptior format should be lower of struct fsl_qdma_engine number data address. Signed-off-by: Peng Ma --- drivers/dma/fsl-qdma.c | 29 ++--- 1 files changed, 18 insertions(+), 11 deletions(-) diff --git a/drivers/dma/fsl-qdma.c b/drivers

RE: [EXT] Re: [PATCH 1/3] dt-bindings: ahci-fsl-qoriq: add ls1028a chip name to the list

2019-04-12 Thread Peng Ma
Hi Shawn, OK, thanks. Best Regards, Peng >-Original Message- >From: Shawn Guo >Sent: 2019年4月11日 9:37 >To: Peng Ma >Cc: ax...@kernel.dk; robh...@kernel.org; mark.rutl...@arm.com; Leo Li >; linux-...@vger.kernel.org; devicet...@vger.kernel.org; >Andy Tang ; linux-k

RE: [EXT] Re: [v7 3/3] ahci: qoriq: add lx2160 platforms support

2019-04-09 Thread Peng Ma
Hi Axboe, Thanks very much. Best Regards, Peng >-Original Message- >From: Jens Axboe >Sent: 2019年4月9日 22:17 >To: Peng Ma ; robh...@kernel.org; >mark.rutl...@arm.com; shawn...@kernel.org; Leo Li >Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; >linux-k

[V3 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs

2019-04-09 Thread Peng Ma
. The qDMA supports global bandwidth flow control where all DMA transactions are stalled if the bandwidth threshold has been reached. Also supported are transaction based read throttling. Add NXP dppa2 qDMA to support some of Layerscape SoCs. such as: LS1088A, LS208xA, LX2, etc. Signed-off-by: Peng

[V3 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-04-09 Thread Peng Ma
dma engine. Signed-off-by: Peng Ma --- changed for v3: - no changed drivers/dma/fsl-dpaa2-qdma/dpdmai.c | 483 drivers/dma/fsl-dpaa2-qdma/dpdmai.h | 524 +++ drivers/dma/fsl-dpaa2-qdma/dpdmai_cmd.h | 197 +++

RE: [EXT] Re: [v7 3/3] ahci: qoriq: add lx2160 platforms support

2019-04-08 Thread Peng Ma
Hi Axboe, Patch link: http://patchwork.ozlabs.org/patch/1055028/ http://patchwork.ozlabs.org/patch/1054189/ Best Regards, Peng >-Original Message- >From: Jens Axboe >Sent: 2019年4月8日 23:21 >To: Peng Ma ; robh...@kernel.org; >mark.rutl...@arm.com; shawn...@kernel.o

RE: [v7 3/3] ahci: qoriq: add lx2160 platforms support

2019-04-08 Thread Peng Ma
Hi axboe, If you have no comments on these paths, please merge. Thank you very much. Patch link: http://patchwork.ozlabs.org/patch/1055028/ http://patchwork.ozlabs.org/patch/1054189/ Best Regards, Peng >-Original Message- >From: Peng Ma >Sent: 2019年3月12日 9:50 >To: ax...@ker

[v7 2/3] arm64: dts: lx2160a: add sata node support

2019-03-11 Thread Peng Ma
Add SATA device nodes for fsl-lx2160a and enable support for QDS and RDB boards. Signed-off-by: Peng Ma --- changed for V7: - no changed arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 16 +++ arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 16 +++ arch/arm64/boot

[v7 1/3] dt-bindings: ahci-fsl-qoriq: add lx2160a chip name to the list

2019-03-11 Thread Peng Ma
Add lx2160a compatible to bindings documentation. Signed-off-by: Peng Ma Reviewed-by: Rob Herring --- changed for V7: - add Reviewed by tag. .../devicetree/bindings/ata/ahci-fsl-qoriq.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation

[v7 3/3] ahci: qoriq: add lx2160 platforms support

2019-03-11 Thread Peng Ma
Lx2160a is a new introduced soc which supports ATA3.0 Signed-off-by: Peng Ma --- changed for V7: - no changed. drivers/ata/ahci_qoriq.c | 52 +++--- 1 files changed, 35 insertions(+), 17 deletions(-) diff --git a/drivers/ata/ahci_qoriq.c b

[PATCH 2/3] arm64: dts: ls1028a: Corrected the SATA ecc address.

2019-03-11 Thread Peng Ma
Ls1028a SATA ecc address with more than 32 bit, so we should corrrect the address. Signed-off-by: Peng Ma --- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64

[PATCH 3/3] ahci: qoriq: add ls1028a platforms support

2019-03-11 Thread Peng Ma
Ls1028a is a new introduced soc which supports ATA3.0 Signed-off-by: Peng Ma --- depends on: - http://patchwork.ozlabs.org/patch/1045218/ drivers/ata/ahci_qoriq.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/ata/ahci_qoriq.c b/drivers/ata

[PATCH 1/3] dt-bindings: ahci-fsl-qoriq: add ls1028a chip name to the list

2019-03-11 Thread Peng Ma
Add ls1028a compatible to bindings documentation. Signed-off-by: Peng Ma --- depends on: - http://patchwork.ozlabs.org/patch/1045217/ .../devicetree/bindings/ata/ahci-fsl-qoriq.txt |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Documentation/devicetree

RE: [v6 1/3] dt-bindings: ahci-fsl-qoriq: add lx2160a chip name to the list

2019-03-10 Thread Peng Ma
gt;-Original Message- >From: Rob Herring >Sent: 2019年2月22日 22:40 >To: Peng Ma >Cc: ax...@kernel.dk; robh...@kernel.org; mark.rutl...@arm.com; >shawn...@kernel.org; Leo Li ; Andy Tang >; linux-...@vger.kernel.org; devicet...@vger.kernel.org; >linux-kernel@vger.kernel.org;

[v2 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs

2019-03-04 Thread Peng Ma
. The qDMA supports global bandwidth flow control where all DMA transactions are stalled if the bandwidth threshold has been reached. Also supported are transaction based read throttling. Add NXP dppa2 qDMA to support some of Layerscape SoCs. such as: LS1088A, LS208xA, LX2, etc. Signed-off-by: Peng

[v2 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-03-04 Thread Peng Ma
dma engine. Signed-off-by: Peng Ma --- change for v2: - split the v1 patch to two patchs - add detail comments drivers/dma/fsl-dpaa2-qdma/dpdmai.c | 483 drivers/dma/fsl-dpaa2-qdma/dpdmai.h | 524 +++ drivers/dma

RE: [v5 2/2] arm64: dts: lx2160a: add sata node support

2019-02-20 Thread Peng Ma
Hi Yousaf, To set sata bit of ecc-addr will affect all sata controllers, The v6 patch has been sent will fixed the remap error when two or more sata controllers be probed, please review. Thanks. Best Regards, Peng >-Original Message- >From: Peng Ma >Sent: 2019年2月14日 17:19 &

[v6 1/3] dt-bindings: ahci-fsl-qoriq: add lx2160a chip name to the list

2019-02-20 Thread Peng Ma
Add lx2160a compatible to bindings documentation. Signed-off-by: Peng Ma --- changed for V6: - no changed .../devicetree/bindings/ata/ahci-fsl-qoriq.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/devicetree/bindings/ata/ahci-fsl

[v6 2/3] arm64: dts: lx2160a: add sata node support

2019-02-20 Thread Peng Ma
Add SATA device nodes for fsl-lx2160a and enable support for QDS and RDB boards. Signed-off-by: Peng Ma --- changed for V6: - no change arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 16 +++ arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 16 +++ arch/arm64/boot

[v6 3/3] ahci: qoriq: add lx2160 platforms support

2019-02-20 Thread Peng Ma
Lx2160a is a new introduced soc which supports ATA3.0 Signed-off-by: Peng Ma --- changed for V6: - Add ecc_initialized to ensure set sata bit once of ECC error register - Recovery AHCI_LS2088A platform drivers/ata/ahci_qoriq.c | 52

RE: [v5 2/2] arm64: dts: lx2160a: add sata node support

2019-02-14 Thread Peng Ma
>-Original Message- >From: Mian Yousaf Kaukab >Sent: 2019年2月13日 3:01 >To: Peng Ma >Cc: ax...@kernel.dk; shawn...@kernel.org; robh...@kernel.org; >mark.rutl...@arm.com; Leo Li ; >linux-...@vger.kernel.org; devicet...@vger.kernel.org; >linux-kernel@vger.k

RE: [v5 2/2] arm64: dts: lx2160a: add sata node support

2019-02-10 Thread Peng Ma
>-Original Message- >From: Shawn Guo >Sent: 2019年2月11日 13:39 >To: Peng Ma >Cc: ax...@kernel.dk; mark.rutl...@arm.com; Andy Tang >; devicet...@vger.kernel.org; >linux-kernel@vger.kernel.org; Leo Li ; >linux-...@vger.kernel.org; robh...@kernel.org; >linux-arm

RE: [v5 2/2] arm64: dts: lx2160a: add sata node support

2019-02-10 Thread Peng Ma
>-Original Message- >From: Shawn Guo >Sent: 2019年2月1日 14:30 >To: Peng Ma >Cc: ax...@kernel.dk; robh...@kernel.org; mark.rutl...@arm.com; Leo Li >; linux-...@vger.kernel.org; devicet...@vger.kernel.org; >linux-kernel@vger.kernel.org; linux-arm-ker...@lists.inf

[PATCH RESEND] ahci: qoriq: add lx2160 platforms support

2019-01-31 Thread Peng Ma
Lx2160a is a new introduced soc which supports ATA3.0 Clean up some code Signed-off-by: Peng Ma --- drivers/ata/ahci_qoriq.c | 44 1 files changed, 12 insertions(+), 32 deletions(-) diff --git a/drivers/ata/ahci_qoriq.c b/drivers/ata/ahci_qoriq.c

[v5 2/2] arm64: dts: lx2160a: add sata node support

2019-01-25 Thread Peng Ma
Add SATA device nodes for fsl-lx2160a and enable support for QDS and RDB boards. Signed-off-by: Peng Ma --- changed for V5: - no change arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 16 +++ arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 16 +++ arch/arm64/boot

[v5 1/2] dt-bindings: ahci-fsl-qoriq: add lx2160a chip name to the list

2019-01-25 Thread Peng Ma
Add lx2160a compatible to bindings documentation. Signed-off-by: Peng Ma --- changed for V5: - change the lxx2160a to lx2160a .../devicetree/bindings/ata/ahci-fsl-qoriq.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/devicetree/bindings

RE: [v4] dt-bindings: ahci-fsl-qoriq: add lx2160a chip name to the list

2019-01-24 Thread Peng Ma
>-Original Message- >From: Sergei Shtylyov >Sent: 2019年1月25日 15:46 >To: Peng Ma ; shawn...@kernel.org; ax...@kernel.dk >Cc: robh...@kernel.org; mark.rutl...@arm.com; Leo Li >; linux-...@vger.kernel.org; devicet...@vger.kernel.org; >linux-kernel@vger.kern

[v4] dt-bindings: ahci-fsl-qoriq: add lx2160a chip name to the list

2019-01-24 Thread Peng Ma
Add lxx2160a compatible to bindings documentation. Signed-off-by: Peng Ma --- changed for V4: - add lx2160a compatible to bindings doc .../devicetree/bindings/ata/ahci-fsl-qoriq.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/devicetree

[v4] arm64: dts: lx2160a: add sata node support

2019-01-24 Thread Peng Ma
Add SATA device nodes for fsl-lx2160a and enable support for QDS and RDB boards. Signed-off-by: Peng Ma --- changed for V4: - no change arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 16 +++ arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 16 +++ arch/arm64/boot

[v3] arm64: dts: lx2160a: add sata node support

2019-01-16 Thread Peng Ma
Add SATA device nodes for fsl-lx2160a and enable support for QDS and RDB boards. Signed-off-by: Peng Ma --- changed for V3: - updated the commit log arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 16 +++ arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 16 +++ arch

[v2] arm64: dts: lx2160a: add sata node support

2019-01-14 Thread Peng Ma
Add sata node support and Enable sata support Signed-off-by: Peng Ma --- changed for V2: - put the 'status' at the end of property list - add lx2160aqds sata support arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 16 +++ arch/arm64/boot/dts/freescale/f

RE: [PATCH 2/2] arm64: dts: lx2160a: add sata node support

2019-01-14 Thread Peng Ma
>-Original Message- >From: Shawn Guo >Sent: 2019年1月13日 12:06 >To: Peng Ma >Cc: ax...@kernel.dk; Leo Li ; robh...@kernel.org; >mark.rutl...@arm.com; linux-arm-ker...@lists.infradead.org; >devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; >linux-...@vger

RE: [PATCH 1/2] ahci: qoriq: add lx2160 platforms support

2019-01-10 Thread Peng Ma
>-Original Message- >From: Leo Li >Sent: 2019年1月11日 4:30 >To: Peng Ma ; shawn...@kernel.org; ax...@kernel.dk >Cc: robh...@kernel.org; mark.rutl...@arm.com; >linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; >linux-kernel@vger.kernel.org; linux-...@

RE: [PATCH 1/2] ahci: qoriq: add lx2160 platforms support

2019-01-10 Thread Peng Ma
you please help me what the patchwork is right. Thanks a lot. Best Regards, Peng >-Original Message- >From: Peng Ma >Sent: 2019年1月10日 18:06 >To: shawn...@kernel.org; ax...@kernel.dk >Cc: Leo Li ; robh...@kernel.org; >mark.rutl...@arm.com; linux-arm-ker...@l

[PATCH 2/2] arm64: dts: lx2160a: add sata node support

2019-01-10 Thread Peng Ma
Add sata node support and Enable sata support Signed-off-by: Peng Ma --- arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 16 +++ arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi| 44 + 2 files changed, 60 insertions(+), 0 deletions(-) diff --git a/arch/arm64

[PATCH 1/2] ahci: qoriq: add lx2160 platforms support

2019-01-10 Thread Peng Ma
Lx2160a is a new introduced soc which supports ATA3.0 and Clean up some code Signed-off-by: Peng Ma --- drivers/ata/ahci_qoriq.c | 44 1 files changed, 12 insertions(+), 32 deletions(-) diff --git a/drivers/ata/ahci_qoriq.c b/drivers/ata

[PATCH] dmaengine: fsl-dpaa2-qdma: Add qDMA controller driver for Layerscape SoCs

2018-12-25 Thread Peng Ma
Add NXP Data Path Acceleration Architecture 2 (dpaa2) queue direct memory(qDMA) controller driver support. This module can be found on NXP LS2 SoCs. Signed-off-by: Peng Ma --- drivers/dma/Kconfig |2 + drivers/dma/Makefile|1 + drivers/dma

RE: [PATCH 3/3] arm64: dts: ls1046a: add qdma device tree nodes

2018-12-14 Thread Peng Ma
Hi shawnguo, I send this series patch to http://patchwork.ozlabs.org/project/devicetree-bindings/list/ But I did not find patchs on devicetree patchwork, could I send patchs again. Thanks. Best Regards, Peng >-Original Message- >From: Peng Ma >Sent: 2018年12月6日 19:1

[v12 1/3] arm: dts: ls1021a: add qdma device tree nodes

2018-12-06 Thread Peng Ma
add the qDMA device tree nodes for LS1021A devices. Signed-off-by: Wen He Signed-off-by: Peng Ma --- change in v12: - no arch/arm/boot/dts/ls1021a.dtsi | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch

[PATCH 3/3] arm64: dts: ls1046a: add qdma device tree nodes

2018-12-06 Thread Peng Ma
add the qDMA device tree nodes for LS1046A devices. Signed-off-by: Wen He Signed-off-by: Peng Ma --- change in v12: - used GIC_SPI and IRQ_TYPE_LEVEL_HIGH to instead immediate number arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 21 + 1 files changed

[PATCH 2/3] arm64: dts: ls1043a: add qdma device tree nodes

2018-12-06 Thread Peng Ma
add the qDMA device tree nodes for LS1043A devices. Signed-off-by: Wen He Signed-off-by: Peng Ma --- change in v12: - used GIC_SPI and IRQ_TYPE_LEVEL_HIGH to instead immediate number arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 22 ++ 1 files changed

[PATCH 1/7] dmaengine: fsldma: Replace DMA_IN/OUT by FSL_DMA_IN/OUT

2018-10-26 Thread Peng Ma
From: Wen He This patch implement a standard macro call functions is used to NXP dma drivers. Signed-off-by: Wen He Signed-off-by: Peng Ma --- change in v10: - no drivers/dma/fsldma.c | 16 drivers/dma/fsldma.h |4 ++-- 2 files changed, 10 insertions(+), 10

[PATCH 7/7] dt-bindings: fsl-qdma: Add NXP Layerscpae qDMA controller bindings

2018-10-26 Thread Peng Ma
Document the devicetree bindings for NXP Layerscape qDMA controller which could be found on NXP QorIQ Layerscape SoCs. Signed-off-by: Wen He Signed-off-by: Peng Ma Reviewed-by: Rob Herring --- change in v10: - no Documentation/devicetree/bindings/dma/fsl-qdma.txt | 57

[PATCH 3/7] dmaengine: fsl-qdma: Add qDMA controller driver for Layerscape SoCs

2018-10-26 Thread Peng Ma
NXP Queue DMA controller(qDMA) on Layerscape SoCs supports channel virtuallization by allowing DMA jobs to be enqueued into different command queues. Note that this module depends on NXP DPAA. Signed-off-by: Wen He Signed-off-by: Jiaheng Fan Signed-off-by: Peng Ma --- change in v10

[PATCH 6/7] arm64: dts: ls1046a: add qdma device tree nodes

2018-10-26 Thread Peng Ma
add the qDMA device tree nodes for LS1046A devices. Signed-off-by: Wen He Signed-off-by: Peng Ma --- change in v10: - no arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts

[PATCH 5/7] arm64: dts: ls1043a: add qdma device tree nodes

2018-10-26 Thread Peng Ma
add the qDMA device tree nodes for LS1043A devices. Signed-off-by: Wen He Signed-off-by: Peng Ma --- change in v10: - no arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts

[PATCH 4/7] arm: dts: ls1021a: add qdma device tree nodes

2018-10-11 Thread Peng Ma
add the qDMA device tree nodes for LS1021A devices. Signed-off-by: Peng Ma --- arch/arm/boot/dts/ls1021a.dtsi | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index f184905..abc50da 100644

[PATCH 3/7] dmaengine: fsl-qdma: Add qDMA controller driver for Layerscape SoCs

2018-10-11 Thread Peng Ma
NXP Queue DMA controller(qDMA) on Layerscape SoCs supports channel virtuallization by allowing DMA jobs to be enqueued into different command queues. Signed-off-by: Peng Ma --- drivers/dma/Kconfig| 13 + drivers/dma/Makefile |1 + drivers/dma/fsl-qdma.c | 1282

[PATCH 7/7] dt-bindings: fsl-qdma: Add NXP Layerscpae qDMA controller bindings

2018-10-11 Thread Peng Ma
Document the devicetree bindings for NXP Layerscape qDMA controller which could be found on NXP QorIQ Layerscape SoCs. Signed-off-by: Peng Ma --- Documentation/devicetree/bindings/dma/fsl-qdma.txt | 53 1 files changed, 53 insertions(+), 0 deletions(-) create mode 100644

[PATCH 6/7] arm64: dts: ls1046a: add qdma device tree nodes

2018-10-11 Thread Peng Ma
add the qDMA device tree nodes for LS1046A devices. Signed-off-by: Peng Ma --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts

[PATCH 1/7] dmaengine: fsldma: Replace DMA_IN/OUT by FSL_DMA_IN/OUT

2018-10-11 Thread Peng Ma
From: Wen He This patch implement a standard macro call functions is used to NXP dma drivers. Signed-off-by: Wen He --- drivers/dma/fsldma.c | 16 drivers/dma/fsldma.h |4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/dma/fsldma.c b/driver

[PATCH 2/7] dmaengine: fsldma: Adding macro FSL_DMA_IN/OUT implement for ARM platform

2018-10-11 Thread Peng Ma
From: Wen He This patch add the macro FSL_DMA_IN/OUT implement for ARM platform. Signed-off-by: Wen He --- drivers/dma/fsldma.h | 57 + 1 files changed, 38 insertions(+), 19 deletions(-) diff --git a/drivers/dma/fsldma.h b/drivers/dma/fsldma.h

[PATCH 5/7] arm64: dts: ls1043a: add qdma device tree nodes

2018-10-11 Thread Peng Ma
add the qDMA device tree nodes for LS1043A devices. Signed-off-by: Peng Ma --- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts