1. 15 Nov, 2019 6 commits
  2. 13 Nov, 2019 28 commits
  3. 12 Nov, 2019 6 commits
    • David S. Miller's avatar
      Merge tag 'linux-can-next-for-5.5-20191111' of... · e0580b50
      David S. Miller authored
      Merge tag 'linux-can-next-for-5.5-20191111' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next
      
      Marc Kleine-Budde says:
      
      ====================
      pull-request: can-next 2019-10-07
      
      this is a pull request for net-next/master consisting of 32 patches.
      
      The first patch is by Gustavo A. R. Silva and removes unused code in the
      generic CAN infrastructure.
      
      The next three patches target the mcp251x driver. The one by Andy
      Shevchenko removes the legacy platform data support from the driver. The
      other two are by Timo Schlüßler and reset the device only when needed,
      to prevent glitches on the output when GPIO support is added.
      
      I'm contributing two patches fixing checkpatch warnings in the
      c_can_platform and peak_canfd driver.
      
      Stephane Grosjean's patch for the peak_canfd driver adds hw timestamps
      support in rx skbs.
      
      The next three patches target the xilinx_can driver. One patch by me to
      fix checkpatch warnings, one patch by Anssi Hannula to avoid non
      requested bus error frames, and a patch by YueHaibing that switches the
      driver to devm_platform_ioremap_resource().
      
      Pankaj Sharma contributes two patches for the m_can driver, the first
      one adds support for one shot mode, the other support for handling
      arbitration errors.
      
      Followed by four patches by YueHaibing, switching the grcan, ifi, rcar,
      and sun4i drivers to devm_platform_ioremap_resource()
      
      I'm contributing cleanup patches for the rx-offload helper, while Joakim
      Zhang's patch prepares the rx-offload helper for CAN-FD support. The rx
      offload users flexcan and ti_hecc are converted accordingly.
      
      The remaining twelve patches target the flexcan driver. First Joakim
      Zhang switches the driver to devm_platform_ioremap_resource(). The
      remaining eleven patch are by me and clean up the abstract the access of
      the iflag1 and iflag2 register both for RX and TX mailboxes. This is a
      preparation for the upcoming CAN-FD support.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e0580b50
    • Arthur Fabre's avatar
      sfc: trace_xdp_exception on XDP failure · 9440a875
      Arthur Fabre authored
      The sfc driver can drop packets processed with XDP, notably when running
      out of buffer space on XDP_TX, or returning an unknown XDP action.
      This increments the rx_xdp_bad_drops ethtool counter.
      
      Call trace_xdp_exception everywhere rx_xdp_bad_drops is incremented,
      except for fragmented RX packets as the XDP program hasn't run yet.
      This allows it to easily be monitored from userspace.
      
      This mirrors the behavior of other drivers.
      Signed-off-by: default avatarArthur Fabre <afabre@cloudflare.com>
      Acked-by: default avatarEdward Cree <ecree@solarflare.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9440a875
    • YueHaibing's avatar
      ptp: ptp_clockmatrix: Fix build error · 1e86606b
      YueHaibing authored
      When do randbuilding, we got this warning:
      
      WARNING: unmet direct dependencies detected for PTP_1588_CLOCK
        Depends on [n]: NET [=y] && POSIX_TIMERS [=n]
        Selected by [y]:
        - PTP_1588_CLOCK_IDTCM [=y]
      
      Make PTP_1588_CLOCK_IDTCM depends on PTP_1588_CLOCK to fix this.
      
      Fixes: 3a6ba7dc ("ptp: Add a ptp clock driver for IDT ClockMatrix.")
      Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
      Reviewed-by: default avatarVincent Cheng  <vincent.cheng.xh@renesas.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1e86606b
    • Davide Caratti's avatar
      net/sched: actions: remove unused 'order' · e0e2b35b
      Davide Caratti authored
      after commit 4097e9d2 ("net: sched: don't use tc_action->order during
      action dump"), 'act->order' is initialized but then it's no more read, so
      we can just remove this member of struct tc_action.
      
      CC: Ivan Vecera <ivecera@redhat.com>
      Signed-off-by: default avatarDavide Caratti <dcaratti@redhat.com>
      Acked-by: default avatarJiri Pirko <jiri@mellanox.com>
      Reviewed-by: default avatarIvan Vecera <ivecera@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e0e2b35b
    • Colin Ian King's avatar
      net: dsa: mv88e6xxx: fix broken if statement because of a stray semicolon · 4e4637b1
      Colin Ian King authored
      There is a stray semicolon in an if statement that will cause a dev_err
      message to be printed unconditionally. Fix this by removing the stray
      semicolon.
      
      Addresses-Coverity: ("Stay semicolon")
      Fixes: f0942e00 ("net: dsa: mv88e6xxx: Add support for port mirroring")
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4e4637b1
    • David S. Miller's avatar
      Merge branch 'Update-devlink-binary-output' · 084346be
      David S. Miller authored
      Aya Levin says:
      
      ====================
      Update devlink binary output
      
      This series changes the devlink binary interface:
      -The first patch forces binary values to be enclosed in an array. In
       addition, devlink_fmsg_binary_pair_put breaks the binary value into
       chunks to comply with devlink's restriction for value length.
      -The second patch removes redundant code and uses the fixed devlink
       interface (devlink_fmsg_binary_pair_put).
      -The third patch make self test to use the updated devlink
       interface.
      -The fourth, adds a verification of dumping a very large binary
       content. This test verifies breaking the data into chunks in a valid
       JSON output.
      
      Series was generated against net-next commit:
      ca22d697 Merge branch 'stmmac-next'
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      084346be