mbox series

[net-next,v1,0/4] net: stmmac: Enable Per DMA Channel interrupt

Message ID 20231222054451.2683242-1-leong.ching.swee@intel.com (mailing list archive)
Headers show
Series net: stmmac: Enable Per DMA Channel interrupt | expand

Message

Swee, Leong Ching Dec. 22, 2023, 5:44 a.m. UTC
From: Swee Leong Ching <leong.ching.swee@intel.com>

Hi,
Add Per DMA Channel interrupt feature for DWXGMAC IP.
 
Patchset (link below) contains per DMA channel interrupt, But it was 
achieved.
https://lore.kernel.org/lkml/20230821203328.GA2197059-
robh@kernel.org/t/#m849b529a642e1bff89c05a07efc25d6a94c8bfb4
 
Some of the changes in this patchset are based on reviewer comment on 
patchset mentioned beforehand.

Swee Leong Ching (4):
  dt-bindings: net: snps,dwmac: per channel irq
  net: stmmac: Make MSI interrupt routine generic
  net: stmmac: Add support for TX/RX channel interrupt
  net: stmmac: Use interrupt mode INTM=1 for per channel irq

 .../devicetree/bindings/net/snps,dwmac.yaml   | 24 ++++++++++----
 .../net/ethernet/stmicro/stmmac/dwmac-intel.c |  4 +--
 .../net/ethernet/stmicro/stmmac/dwmac4_dma.c  |  2 +-
 .../net/ethernet/stmicro/stmmac/dwxgmac2.h    |  3 ++
 .../ethernet/stmicro/stmmac/dwxgmac2_dma.c    | 32 +++++++++++--------
 .../net/ethernet/stmicro/stmmac/stmmac_main.c | 29 +++++++++--------
 .../ethernet/stmicro/stmmac/stmmac_platform.c | 24 ++++++++++++++
 include/linux/stmmac.h                        |  4 +--
 8 files changed, 84 insertions(+), 38 deletions(-)

Comments

Serge Semin Dec. 22, 2023, 2:44 p.m. UTC | #1
Hi Leong

On Fri, Dec 22, 2023 at 01:44:47PM +0800, Leong Ching Swee wrote:
> From: Swee Leong Ching <leong.ching.swee@intel.com>
> 
> Hi,
> Add Per DMA Channel interrupt feature for DWXGMAC IP.
>  
> Patchset (link below) contains per DMA channel interrupt, But it was 
> achieved.
> https://lore.kernel.org/lkml/20230821203328.GA2197059-
> robh@kernel.org/t/#m849b529a642e1bff89c05a07efc25d6a94c8bfb4
>  
> Some of the changes in this patchset are based on reviewer comment on 
> patchset mentioned beforehand.

Thanks for resubmitting the patches. At some point in the past they
saved me some time in fixing the DW XGMAC on my platform.

-Serge(y)

> 
> Swee Leong Ching (4):
>   dt-bindings: net: snps,dwmac: per channel irq
>   net: stmmac: Make MSI interrupt routine generic
>   net: stmmac: Add support for TX/RX channel interrupt
>   net: stmmac: Use interrupt mode INTM=1 for per channel irq
> 
>  .../devicetree/bindings/net/snps,dwmac.yaml   | 24 ++++++++++----
>  .../net/ethernet/stmicro/stmmac/dwmac-intel.c |  4 +--
>  .../net/ethernet/stmicro/stmmac/dwmac4_dma.c  |  2 +-
>  .../net/ethernet/stmicro/stmmac/dwxgmac2.h    |  3 ++
>  .../ethernet/stmicro/stmmac/dwxgmac2_dma.c    | 32 +++++++++++--------
>  .../net/ethernet/stmicro/stmmac/stmmac_main.c | 29 +++++++++--------
>  .../ethernet/stmicro/stmmac/stmmac_platform.c | 24 ++++++++++++++
>  include/linux/stmmac.h                        |  4 +--
>  8 files changed, 84 insertions(+), 38 deletions(-)
> 
> -- 
> 2.34.1
> 
>