Re: [linux-yocto] [linux-yocto-dev] Add the support for the Marvell cn96xx SoC

2019-09-03 Thread Bruce Ashfield
On Tue, Aug 20, 2019 at 7:25 AM Kevin Hao  wrote:
>
> Hi Bruce,
>
> This patch series adds the support for the Marvell cn96xx SoC. The OCTEON TX2
> cn96xx SoC is a scalable architecture that integrates high performance 64-bit
> Armv8.2 processors, a cache-coherent interconnect, hardware accelerators,
> virtualized networking, and scalable I/O. It support the following
> industry-standard I/O interfaces:
> DDR4 DRAM
> PCI Express 4.0 version 1.0
> SGMII
> QSGMII
> XAUI
> XFI
> CAUI
>
> Most of the patches are for the Marvell specific drivers. So in theory, it
> should be safe to merge these patches to the standard/base branch. But I
> prefer to stage them to the specific standard/cn96xx branch. The reason is
> that we plan to support other Marvell SoCs, and the SDK for them may be
> based on different SDK versions. They will definitely touch some common
> files affect by this patch series. So it would be a nightmare for us to
> support them if these patches are merged to the standard/base branch.
>
> The following changes since commit ce4ec6ff9589e3b1dcc4e3a0b192b02823631c3e:
>
>   Merge tag 'v5.3-rc5' into standard/base (2019-08-18 22:40:47 -0400)
>
> are available in the Git repository at:
>
>   git://github.com/haokexin/linux standard/cn96xx

standard/cn96xx now exists in linux-yocto-dev.

Bruce

>
> for you to fetch changes up to 4fae437f7ea88d2aab10cac684e11d94b12114bd:
>
>   octeontx2-af: Fix the using of variable length arrays (2019-08-20 11:25:36 
> +0800)
>
> 
> Aleksey Makarov (6):
>   octeontx2-pf: Set irq affinity hints for CQ interrupts
>   octeontx2-pf: Implement ndo_tx_timeout callback
>   octeontx2-pf: Support queue interrupts
>   octeontx2-pf: Add reset count to stats
>   octeontx2-af: Add low level support for Marvell PTP coprocessor
>   octeontx2-pf: Add support for PTP clock
>
> Angela Czubak (2):
>   octeontx2-af: fix rvu_sso_ggrp_taq_flush
>   octeontx2-af: fix cgx_lmac_rx_tx_enable
>
> Chandrakala Chavva (1):
>   mmc: cavium_thunderx: Use proper register to clear interrupts
>
> Christina Jacob (21):
>   octeontx2-pf: BQL support.
>   octeontx2-pf: IRQ coalescing config and tuning via ethtool
>   octeontx2-af: Dump current resource provisioning status
>   octeontx2-pf: Adding ethtool support for link status information.
>   octeontx2-af: Patch to prevent redundant message from pf to af.
>   octeontx2-pf: Fix redundant message from AF to PF
>   octeontx2-af: Support to get link info like current speed, fec etc
>   octeontx2-pf: Ethtool support for fec configuration
>   octeontx2-pf: Fix smmuv3 messages while deferring pf driver probe.
>   octeontx2-af: Move to rvu_fwdata version 1.
>   octeontx2-pf: Add ethtool -m option support.
>   octeontx2-af: Extend fwdata structure with additional information.
>   octeontx2-af: Update fwadata structure with few more reserved fields.
>   octeontx2-af: Fetch FEC stats of the physical link
>   octeontx2-pf: Support to display fec counters also in ethtool stats.
>   octeontx2-af: sync ATF and Kernel firmware data structure.
>   octeontx2-pf: Support to display current settings of a vf network 
> interface via ethtool
>   net:thunderx: fix memory leak in nicvf driver.
>   soc: octeontx2: Add mdio command interface using debugfs
>   octeontx2-af: Introduce SET_LINK_MODE command to change various 
> configurations of a network interface.
>   octeontx2-pf: support to change link speed and autoneg
>
> Felix Manlunas (2):
>   octeontx2-af: Add new CGX_CMDs to set and get PHY modulation type
>   octeontx2-pf: Add ethtool priv flag to control PAM4 on/off
>
> Geetha sowjanya (26):
>   octeontx2-af: Sync hw mbox with bounce buffer.
>   octeontx2-pf: Add mailbox bounce buffer
>   octeontx2-pf: Add interface stats to ndo_get_stats64
>   octeontx2-af: Config receive and transmission of pause frames
>   octeontx2-af: Add mbox message to enable/disable pause frames.
>   octeontx2-af: Add mbox messages to configure backpressure for an 
> interface.
>   octeontx2-pf: Add ethtool support to enable/disable pause frames
>   octeontx2-pf: Configure RED drop levels for packet reception.
>   octeontx2-pf: Configure backpressure level for packet reception
>   octeontx2-pf: Skip CQ_STATUS read if pending CQEs greater than budget
>   octeontx2-pf: Set RVU PF/VF watchdog timeout
>   octeontx2-af: Check SQ counters to detect the deadlock
>   octeontx2-af: Enable pci bus mastering
>   octeontx2-af: Fix rvu probe on cgx disable
>   octeontx2-pf: Add VF function level reset (FLR) support
>   octeontx2-vf: Configure backpressure level for packet reception
>   octeontx2-af: Support configurable NDC cache way_mask
>   octeontx2: Fix mbox driver compilation dependency.
> 

Re: [linux-yocto] [linux-yocto-dev] Add the support for the Marvell cn96xx SoC

2019-09-03 Thread Bruce Ashfield
On Fri, Aug 30, 2019 at 1:01 AM Kevin Hao  wrote:
>
> On Tue, Aug 20, 2019 at 07:21:04PM +0800, Kevin Hao wrote:
> > Hi Bruce,
> >
> > This patch series adds the support for the Marvell cn96xx SoC. The OCTEON 
> > TX2
> > cn96xx SoC is a scalable architecture that integrates high performance 
> > 64-bit
> > Armv8.2 processors, a cache-coherent interconnect, hardware accelerators,
> > virtualized networking, and scalable I/O. It support the following
> > industry-standard I/O interfaces:
> >   DDR4 DRAM
> >   PCI Express 4.0 version 1.0
> >   SGMII
> >   QSGMII
> >   XAUI
> >   XFI
> >   CAUI
> >
> > Most of the patches are for the Marvell specific drivers. So in theory, it
> > should be safe to merge these patches to the standard/base branch. But I
> > prefer to stage them to the specific standard/cn96xx branch. The reason is
> > that we plan to support other Marvell SoCs, and the SDK for them may be
> > based on different SDK versions. They will definitely touch some common
> > files affect by this patch series. So it would be a nightmare for us to
> > support them if these patches are merged to the standard/base branch.
>
> Ping...

Sorry. I managed to miss this after my vacation. Once I have the
current critical issues in master (around the 5.2 kernel) sorted out,
I'll get this merged. I hope to have that done today.

Bruce

>
> Thanks,
> Kevin
>
> >
> > The following changes since commit ce4ec6ff9589e3b1dcc4e3a0b192b02823631c3e:
> >
> >   Merge tag 'v5.3-rc5' into standard/base (2019-08-18 22:40:47 -0400)
> >
> > are available in the Git repository at:
> >
> >   git://github.com/haokexin/linux standard/cn96xx
> >
> > for you to fetch changes up to 4fae437f7ea88d2aab10cac684e11d94b12114bd:
> >
> >   octeontx2-af: Fix the using of variable length arrays (2019-08-20 
> > 11:25:36 +0800)
> >
> > 
> > Aleksey Makarov (6):
> >   octeontx2-pf: Set irq affinity hints for CQ interrupts
> >   octeontx2-pf: Implement ndo_tx_timeout callback
> >   octeontx2-pf: Support queue interrupts
> >   octeontx2-pf: Add reset count to stats
> >   octeontx2-af: Add low level support for Marvell PTP coprocessor
> >   octeontx2-pf: Add support for PTP clock
> >
> > Angela Czubak (2):
> >   octeontx2-af: fix rvu_sso_ggrp_taq_flush
> >   octeontx2-af: fix cgx_lmac_rx_tx_enable
> >
> > Chandrakala Chavva (1):
> >   mmc: cavium_thunderx: Use proper register to clear interrupts
> >
> > Christina Jacob (21):
> >   octeontx2-pf: BQL support.
> >   octeontx2-pf: IRQ coalescing config and tuning via ethtool
> >   octeontx2-af: Dump current resource provisioning status
> >   octeontx2-pf: Adding ethtool support for link status information.
> >   octeontx2-af: Patch to prevent redundant message from pf to af.
> >   octeontx2-pf: Fix redundant message from AF to PF
> >   octeontx2-af: Support to get link info like current speed, fec etc
> >   octeontx2-pf: Ethtool support for fec configuration
> >   octeontx2-pf: Fix smmuv3 messages while deferring pf driver probe.
> >   octeontx2-af: Move to rvu_fwdata version 1.
> >   octeontx2-pf: Add ethtool -m option support.
> >   octeontx2-af: Extend fwdata structure with additional information.
> >   octeontx2-af: Update fwadata structure with few more reserved fields.
> >   octeontx2-af: Fetch FEC stats of the physical link
> >   octeontx2-pf: Support to display fec counters also in ethtool stats.
> >   octeontx2-af: sync ATF and Kernel firmware data structure.
> >   octeontx2-pf: Support to display current settings of a vf network 
> > interface via ethtool
> >   net:thunderx: fix memory leak in nicvf driver.
> >   soc: octeontx2: Add mdio command interface using debugfs
> >   octeontx2-af: Introduce SET_LINK_MODE command to change various 
> > configurations of a network interface.
> >   octeontx2-pf: support to change link speed and autoneg
> >
> > Felix Manlunas (2):
> >   octeontx2-af: Add new CGX_CMDs to set and get PHY modulation type
> >   octeontx2-pf: Add ethtool priv flag to control PAM4 on/off
> >
> > Geetha sowjanya (26):
> >   octeontx2-af: Sync hw mbox with bounce buffer.
> >   octeontx2-pf: Add mailbox bounce buffer
> >   octeontx2-pf: Add interface stats to ndo_get_stats64
> >   octeontx2-af: Config receive and transmission of pause frames
> >   octeontx2-af: Add mbox message to enable/disable pause frames.
> >   octeontx2-af: Add mbox messages to configure backpressure for an 
> > interface.
> >   octeontx2-pf: Add ethtool support to enable/disable pause frames
> >   octeontx2-pf: Configure RED drop levels for packet reception.
> >   octeontx2-pf: Configure backpressure level for packet reception
> >   octeontx2-pf: Skip CQ_STATUS read if pending CQEs greater than budget
> >   octeontx2-pf: Set RVU PF/VF watchdog 

Re: [linux-yocto] [linux-yocto-dev] Add the support for the Marvell cn96xx SoC

2019-08-29 Thread Kevin Hao
On Tue, Aug 20, 2019 at 07:21:04PM +0800, Kevin Hao wrote:
> Hi Bruce,
> 
> This patch series adds the support for the Marvell cn96xx SoC. The OCTEON TX2
> cn96xx SoC is a scalable architecture that integrates high performance 64-bit
> Armv8.2 processors, a cache-coherent interconnect, hardware accelerators,
> virtualized networking, and scalable I/O. It support the following
> industry-standard I/O interfaces:
>   DDR4 DRAM
>   PCI Express 4.0 version 1.0
>   SGMII
>   QSGMII
>   XAUI
>   XFI
>   CAUI
> 
> Most of the patches are for the Marvell specific drivers. So in theory, it
> should be safe to merge these patches to the standard/base branch. But I
> prefer to stage them to the specific standard/cn96xx branch. The reason is
> that we plan to support other Marvell SoCs, and the SDK for them may be
> based on different SDK versions. They will definitely touch some common
> files affect by this patch series. So it would be a nightmare for us to
> support them if these patches are merged to the standard/base branch.

Ping...

Thanks,
Kevin

> 
> The following changes since commit ce4ec6ff9589e3b1dcc4e3a0b192b02823631c3e:
> 
>   Merge tag 'v5.3-rc5' into standard/base (2019-08-18 22:40:47 -0400)
> 
> are available in the Git repository at:
> 
>   git://github.com/haokexin/linux standard/cn96xx
> 
> for you to fetch changes up to 4fae437f7ea88d2aab10cac684e11d94b12114bd:
> 
>   octeontx2-af: Fix the using of variable length arrays (2019-08-20 11:25:36 
> +0800)
> 
> 
> Aleksey Makarov (6):
>   octeontx2-pf: Set irq affinity hints for CQ interrupts
>   octeontx2-pf: Implement ndo_tx_timeout callback
>   octeontx2-pf: Support queue interrupts
>   octeontx2-pf: Add reset count to stats
>   octeontx2-af: Add low level support for Marvell PTP coprocessor
>   octeontx2-pf: Add support for PTP clock
> 
> Angela Czubak (2):
>   octeontx2-af: fix rvu_sso_ggrp_taq_flush
>   octeontx2-af: fix cgx_lmac_rx_tx_enable
> 
> Chandrakala Chavva (1):
>   mmc: cavium_thunderx: Use proper register to clear interrupts
> 
> Christina Jacob (21):
>   octeontx2-pf: BQL support.
>   octeontx2-pf: IRQ coalescing config and tuning via ethtool
>   octeontx2-af: Dump current resource provisioning status
>   octeontx2-pf: Adding ethtool support for link status information.
>   octeontx2-af: Patch to prevent redundant message from pf to af.
>   octeontx2-pf: Fix redundant message from AF to PF
>   octeontx2-af: Support to get link info like current speed, fec etc
>   octeontx2-pf: Ethtool support for fec configuration
>   octeontx2-pf: Fix smmuv3 messages while deferring pf driver probe.
>   octeontx2-af: Move to rvu_fwdata version 1.
>   octeontx2-pf: Add ethtool -m option support.
>   octeontx2-af: Extend fwdata structure with additional information.
>   octeontx2-af: Update fwadata structure with few more reserved fields.
>   octeontx2-af: Fetch FEC stats of the physical link
>   octeontx2-pf: Support to display fec counters also in ethtool stats.
>   octeontx2-af: sync ATF and Kernel firmware data structure.
>   octeontx2-pf: Support to display current settings of a vf network 
> interface via ethtool
>   net:thunderx: fix memory leak in nicvf driver.
>   soc: octeontx2: Add mdio command interface using debugfs
>   octeontx2-af: Introduce SET_LINK_MODE command to change various 
> configurations of a network interface.
>   octeontx2-pf: support to change link speed and autoneg
> 
> Felix Manlunas (2):
>   octeontx2-af: Add new CGX_CMDs to set and get PHY modulation type
>   octeontx2-pf: Add ethtool priv flag to control PAM4 on/off
> 
> Geetha sowjanya (26):
>   octeontx2-af: Sync hw mbox with bounce buffer.
>   octeontx2-pf: Add mailbox bounce buffer
>   octeontx2-pf: Add interface stats to ndo_get_stats64
>   octeontx2-af: Config receive and transmission of pause frames
>   octeontx2-af: Add mbox message to enable/disable pause frames.
>   octeontx2-af: Add mbox messages to configure backpressure for an 
> interface.
>   octeontx2-pf: Add ethtool support to enable/disable pause frames
>   octeontx2-pf: Configure RED drop levels for packet reception.
>   octeontx2-pf: Configure backpressure level for packet reception
>   octeontx2-pf: Skip CQ_STATUS read if pending CQEs greater than budget
>   octeontx2-pf: Set RVU PF/VF watchdog timeout
>   octeontx2-af: Check SQ counters to detect the deadlock
>   octeontx2-af: Enable pci bus mastering
>   octeontx2-af: Fix rvu probe on cgx disable
>   octeontx2-pf: Add VF function level reset (FLR) support
>   octeontx2-vf: Configure backpressure level for packet reception
>   octeontx2-af: Support configurable NDC cache way_mask
>   octeontx2: Fix mbox driver compilation dependency.
>   octeontx2-pf: Set