1. 22 Sep, 2020 19 commits
  2. 21 Sep, 2020 18 commits
  3. 12 Sep, 2020 3 commits
    • Barry Song's avatar
      net: hns: use IRQ_NOAUTOEN to avoid irq is enabled due to request_irq · 5a6bd84f
      Barry Song authored
      Rather than doing request_irq and then disabling the irq immediately, it
      should be safer to use IRQ_NOAUTOEN flag for the irq. It removes any gap
      between request_irq() and disable_irq().
      
      Cc: Salil Mehta <salil.mehta@huawei.com>
      Reviewed-by: default avatarYunsheng Lin <linyunsheng@huawei.com>
      Signed-off-by: default avatarBarry Song <song.bao.hua@hisilicon.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5a6bd84f
    • David S. Miller's avatar
      Merge branch 'net-ethernet-ti-ale-add-static-configuration' · 1cf814a0
      David S. Miller authored
      Grygorii Strashko says:
      
      ====================
      net: ethernet: ti: ale: add static configuration
      
      As existing, as newly introduced CPSW ALE versions have differences in
      supported features and ALE table formats. Especially it's actual for the
      recent AM65x/J721E/J7200 and future AM64x SoCs, which supports more
      features like: auto-aging, classifiers, Link aggregation, additional HW
      filtering, etc.
      
      The existing ALE configuration interface is not practical in terms of
      adding new features and requires consumers to program a lot static
      parameters. And any attempt to add new features will case endless adding
      and maintaining different combination of flags and options. Because CPSW
      ALE configuration is static and fixed for SoC (or set of SoC), It is
      reasonable to add support for static ALE configurations inside ALE module.
      
      This series introduces static ALE configuration table for different ALE
      variants and provides option for consumers to select required ALE
      configuration by providing ALE const char *dev_id identifier (Patch 2).
      And all existing driver have been switched to use new approach (Patches 3-6).
      
      After this ALE HW auto-ageing feature can be enabled for AM65x CPSW ALE
      variant (Patch 7).
      
      Finally, Patches 8-9 introduces tables to describe the ALE VLAN entries
      fields as the ALE VLAN entries are too much differ between different TI
      CPSW ALE versions. So, handling them using flags, defines and get/set
      functions are became over-complicated.
      
      Patch 1 - is preparation patch
      
      Changes in v3:
      - fixed comment for Patch 2
      
      Changes in v2:
      - fixed sparse warnings
      
      v2: https://lore.kernel.org/patchwork/cover/1301684/
      v1: https://lore.kernel.org/patchwork/cover/1301048/
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1cf814a0
    • Grygorii Strashko's avatar
      net: ethernet: ti: ale: add support for multi port k3 cpsw versions · 06c5c912
      Grygorii Strashko authored
      The TI J721E (CPSW9g) ALE version is similar, in general, to Sitara AM3/4/5
      CPSW ALE, but has more extended functions and different ALE VLAN entry
      format.
      
      This patch adds support for for multi port TI J721E (CPSW9g) ALE variant.
      Signed-off-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      06c5c912