All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Macro Ordering and Typo Correction
@ 2026-10-14  7:29 Devendra K Verma
  2026-10-14  7:29 ` [PATCH v3 1/2] dmaengine: dw-edma: Sort Register Field Macros by Bit Position Devendra K Verma
  2026-10-14  7:29 ` [PATCH v3 2/2] dmaengine: dw-edma: correct IP name in xilinx_cpm6_dma_data comment Devendra K Verma
  0 siblings, 2 replies; 5+ messages in thread
From: Devendra K Verma @ 2026-10-14  7:29 UTC (permalink / raw)
  To: mani, vkoul, frank.li, den
  Cc: dmaengine, linux-pci, linux-kernel, michal.simek, devverma

These are minor and cosmetic changes with no functional changes.

o If the macros declaring the bit positions of a register
  are in order then it provides a good view. Corrected
  the ordering for one such bit-fields.
o Corrected the typo under the IP related data struct to
  have the correct name under respective IP structs.

Previous reviewed-by tags were part of the following
review:

https://lore.kernel.org/all/aoW7vxy2lpXEbmRq@SMW015318/
https://lore.kernel.org/all/dx5jvko7ygrqugzkt3k74l3d7lk7iauikmxrzuhvn2b4bdv5ub@s2l6zl3alx3z/#t

Devendra K Verma (2):
  dmaengine: dw-edma: Sort Register Field Macros by Bit Position
  dmaengine: dw-edma: correct IP name in xilinx_cpm6_dma_data comment

 drivers/dma/dw-edma/dw-edma-pcie.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.43.0


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

* [PATCH v3 1/2] dmaengine: dw-edma: Sort Register Field Macros by Bit Position
  2026-10-14  7:29 [PATCH v3 0/2] Macro Ordering and Typo Correction Devendra K Verma
@ 2026-10-14  7:29 ` Devendra K Verma
  2026-10-14  7:33   ` sashiko-bot
  2026-10-14  7:29 ` [PATCH v3 2/2] dmaengine: dw-edma: correct IP name in xilinx_cpm6_dma_data comment Devendra K Verma
  1 sibling, 1 reply; 5+ messages in thread
From: Devendra K Verma @ 2026-10-14  7:29 UTC (permalink / raw)
  To: mani, vkoul, frank.li, den
  Cc: dmaengine, linux-pci, linux-kernel, michal.simek, devverma

Sort register field macros by bit position to improve readability.
No functional change.

Signed-off-by: Devendra K Verma <devverma@amd.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
---
Changes in v2:
  o Rebased to dma/next branch as per reviewer's suggestion

Changes in v1:
  o Corrected heading and body as per reviewer's suggestion
---
 drivers/dma/dw-edma/dw-edma-pcie.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/dw-edma/dw-edma-pcie.c b/drivers/dma/dw-edma/dw-edma-pcie.c
index fab4faf68b77..83f8353d89d0 100644
--- a/drivers/dma/dw-edma/dw-edma-pcie.c
+++ b/drivers/dma/dw-edma/dw-edma-pcie.c
@@ -31,8 +31,8 @@
 
 #define DW_PCIE_XILINX_MDB_VSEC_DMA_ID		0x6
 #define DW_PCIE_XILINX_MDB_VSEC_ID		0x20
-#define DW_PCIE_XILINX_MDB_VSEC_DMA_BAR		GENMASK(10, 8)
 #define DW_PCIE_XILINX_MDB_VSEC_DMA_MAP		GENMASK(2, 0)
+#define DW_PCIE_XILINX_MDB_VSEC_DMA_BAR		GENMASK(10, 8)
 /* AMD CPM6 (Xilinx) supported cap */
 #define DW_PCIE_XILINX_CPM6_VSEC_CH_SEP		GENMASK(18, 16)
 #define DW_PCIE_XILINX_MDB_VSEC_DMA_WR_CH	GENMASK(9, 0)
-- 
2.43.0


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

* [PATCH v3 2/2] dmaengine: dw-edma: correct IP name in xilinx_cpm6_dma_data comment
  2026-10-14  7:29 [PATCH v3 0/2] Macro Ordering and Typo Correction Devendra K Verma
  2026-10-14  7:29 ` [PATCH v3 1/2] dmaengine: dw-edma: Sort Register Field Macros by Bit Position Devendra K Verma
@ 2026-10-14  7:29 ` Devendra K Verma
  2026-10-14  7:30   ` sashiko-bot
  1 sibling, 1 reply; 5+ messages in thread
From: Devendra K Verma @ 2026-10-14  7:29 UTC (permalink / raw)
  To: mani, vkoul, frank.li, den
  Cc: dmaengine, linux-pci, linux-kernel, michal.simek, devverma

Replace 'MDB' with 'CPM6' in the xilinx_cpm6_dma_data comment to
fix the IP name typo.
No functional change.

Signed-off-by: Devendra K Verma <devverma@amd.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
---
Changes in v2:
  o Rebased to dma/next branch as per reviewer's suggestion

Changes in v1:
  o Corrected heading and body as per reviewer's suggestion
---
 drivers/dma/dw-edma/dw-edma-pcie.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/dw-edma/dw-edma-pcie.c b/drivers/dma/dw-edma/dw-edma-pcie.c
index 83f8353d89d0..62efe1954e43 100644
--- a/drivers/dma/dw-edma/dw-edma-pcie.c
+++ b/drivers/dma/dw-edma/dw-edma-pcie.c
@@ -151,7 +151,7 @@ static const struct dw_edma_pcie_data xilinx_mdb_data = {
 };
 
 static const struct dw_edma_pcie_data xilinx_cpm6_dma_data = {
-	/* MDB registers location */
+	/* CPM6 registers location */
 	.rg.bar				= BAR_0,
 	.rg.off				= SZ_4K,	/*  4 Kbytes */
 	.rg.sz				= SZ_8K,	/*  8 Kbytes */
-- 
2.43.0


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

* Re: [PATCH v3 2/2] dmaengine: dw-edma: correct IP name in xilinx_cpm6_dma_data comment
  2026-10-14  7:29 ` [PATCH v3 2/2] dmaengine: dw-edma: correct IP name in xilinx_cpm6_dma_data comment Devendra K Verma
@ 2026-10-14  7:30   ` sashiko-bot
  0 siblings, 0 replies; 5+ messages in thread
From: sashiko-bot @ 2026-10-14  7:30 UTC (permalink / raw)
  To: Devendra K Verma; +Cc: linux-pci

> Replace 'MDB' with 'CPM6' in the xilinx_cpm6_dma_data comment to
> fix the IP name typo.
> No functional change.
> 
> Signed-off-by: Devendra K Verma <devverma@amd.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261014072907.581539-1-devverma@amd.com?part=2


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

* Re: [PATCH v3 1/2] dmaengine: dw-edma: Sort Register Field Macros by Bit Position
  2026-10-14  7:29 ` [PATCH v3 1/2] dmaengine: dw-edma: Sort Register Field Macros by Bit Position Devendra K Verma
@ 2026-10-14  7:33   ` sashiko-bot
  0 siblings, 0 replies; 5+ messages in thread
From: sashiko-bot @ 2026-10-14  7:33 UTC (permalink / raw)
  To: Devendra K Verma; +Cc: linux-pci

> Sort register field macros by bit position to improve readability.
> No functional change.
> 
> Signed-off-by: Devendra K Verma <devverma@amd.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261014072907.581539-1-devverma@amd.com?part=1


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

end of thread, other threads:[~2026-10-14  7:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-14  7:29 [PATCH v3 0/2] Macro Ordering and Typo Correction Devendra K Verma
2026-10-14  7:29 ` [PATCH v3 1/2] dmaengine: dw-edma: Sort Register Field Macros by Bit Position Devendra K Verma
2026-10-14  7:33   ` sashiko-bot
2026-10-14  7:29 ` [PATCH v3 2/2] dmaengine: dw-edma: correct IP name in xilinx_cpm6_dma_data comment Devendra K Verma
2026-10-14  7:30   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.