1. 26 Sep, 2022 27 commits
  2. 24 Sep, 2022 10 commits
  3. 23 Sep, 2022 3 commits
    • Jakub Kicinski's avatar
      Merge tag 'linux-can-next-for-6.1-20220923' of... · 4dfa5f05
      Jakub Kicinski authored
      Merge tag 'linux-can-next-for-6.1-20220923' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next
      
      Marc Kleine-Budde says:
      
      ====================
      pull-request: can-next 2022-09-23
      
      The first 2 patches are by Ziyang Xuan and optimize registration and
      the sending in the CAN BCM protocol a bit.
      
      The next 8 patches target the gs_usb driver. 7 are by me and first fix
      the time hardware stamping support (added during this net-next cycle),
      rename a variable, convert the usb_control_msg + manual
      kmalloc()/kfree() to usb_control_msg_{send,rev}(), clean up the error
      handling and add switchable termination support. The patch by Rhett
      Aultman and Vasanth Sadhasivan convert the driver from
      usb_alloc_coherent()/usb_free_coherent() to kmalloc()/URB_FREE_BUFFER.
      
      The last patch is by Shang XiaoJing and removes an unneeded call to
      dev_err() from the ctucanfd driver.
      
      * tag 'linux-can-next-for-6.1-20220923' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next:
        can: ctucanfd: Remove redundant dev_err call
        can: gs_usb: remove dma allocations
        can: gs_usb: add switchable termination support
        can: gs_usb: gs_make_candev(): clean up error handling
        can: gs_usb: convert from usb_control_msg() to usb_control_msg_{send,recv}()
        can: gs_usb: gs_cmd_reset(): rename variable holding struct gs_can pointer to dev
        can: gs_usb: gs_can_open(): initialize time counter before starting device
        can: gs_usb: add missing lock to protect struct timecounter::cycle_last
        can: gs_usb: gs_usb_get_timestamp(): fix endpoint parameter for usb_control_msg_recv()
        can: bcm: check the result of can_send() in bcm_can_tx()
        can: bcm: registration process optimization in bcm_module_init()
      ====================
      
      Link: https://lore.kernel.org/r/20220923120859.740577-1-mkl@pengutronix.deSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      4dfa5f05
    • Jakub Kicinski's avatar
      Merge branch 'net-macsec-remove-the-preparation-phase-when-offloading-operations' · f416bdfb
      Jakub Kicinski authored
      Antoine Tenart says:
      
      ====================
      net: macsec: remove the preparation phase when offloading operations
      
      It was reported[1] the 2-step phase offloading of MACsec operations did
      not fit well and device drivers were mostly ignoring the first phase
      (preparation). In addition the s/w fallback in case h/w rejected an
      operation, which could have taken advantage of this design, never was
      implemented and it's probably not a good idea anyway (at least
      unconditionnally). So let's remove this logic which only makes the code
      more complex for no advantage, before there are too many drivers
      providing MACsec offloading.
      
      This series removes the first phase (preparation) of the MACsec h/w
      offloading. The modifications are split per-driver and in a way that
      makes bissection working with logical steps; but I can squash some
      patches if needed.
      
      This was tested on the MSCC PHY but not on the Altantic nor mlx5e NICs.
      
      [1] https://lore.kernel.org/all/166322893264.61080.12133865599607623050@kwain/T/
      ====================
      
      Link: https://lore.kernel.org/r/20220921135118.968595-1-atenart@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      f416bdfb
    • Antoine Tenart's avatar
      net: macsec: remove the prepare flag from the MACsec offloading context · 99383f12
      Antoine Tenart authored
      Now that the MACsec offloading preparation phase was removed from the
      MACsec core implementation as well as from drivers implementing it, we
      can safely remove the flag representing it.
      Signed-off-by: default avatarAntoine Tenart <atenart@kernel.org>
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      99383f12