1. 22 Dec, 2023 4 commits
    • Iulia Tanasescu's avatar
      Bluetooth: ISO: Reassociate a socket with an active BIS · fa224d0c
      Iulia Tanasescu authored
      For ISO Broadcast, all BISes from a BIG have the same lifespan - they
      cannot be created or terminated independently from each other.
      
      This links together all BIS hcons that are part of the same BIG, so all
      hcons are kept alive as long as the BIG is active.
      
      If multiple BIS sockets are opened for a BIG handle, and only part of
      them are closed at some point, the associated hcons will be marked as
      open. If new sockets will later be opened for the same BIG, they will
      be reassociated with the open BIS hcons.
      
      All BIS hcons will be cleaned up and the BIG will be terminated when
      the last BIS socket is closed from userspace.
      Signed-off-by: default avatarIulia Tanasescu <iulia.tanasescu@nxp.com>
      Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
      fa224d0c
    • Iulia Tanasescu's avatar
      Bluetooth: ISO: Allow binding a PA sync socket · 80837140
      Iulia Tanasescu authored
      This makes it possible to bind a PA sync socket to a number of BISes
      before issuing the BIG Create Sync command.
      Signed-off-by: default avatarIulia Tanasescu <iulia.tanasescu@nxp.com>
      Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
      80837140
    • Suman Ghosh's avatar
      octeontx2-af: Fix a double free issue · 27c346a2
      Suman Ghosh authored
      There was a memory leak during error handling in function
      npc_mcam_rsrcs_init().
      
      Fixes: dd784287 ("octeontx2-af: Add new devlink param to configure maximum usable NIX block LFs")
      Suggested-by: default avatarSimon Horman <horms@kernel.org>
      Signed-off-by: default avatarSuman Ghosh <sumang@marvell.com>
      Reviewed-by: default avatarSimon Horman <horms@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      27c346a2
    • David S. Miller's avatar
      Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue · afa9e267
      David S. Miller authored
      Tony Nguyen says:
      
      ====================
      intel: use bitfield operations
      
      Jesse Brandeburg says:
      
      After repeatedly getting review comments on new patches, and sporadic
      patches to fix parts of our drivers, we should just convert the Intel code
      to use FIELD_PREP() and FIELD_GET().  It's then "common" in the code and
      hopefully future change-sets will see the context and do-the-right-thing.
      
      This conversion was done with a coccinelle script which is mentioned in the
      commit messages. Generally there were only a couple conversions that were
      "undone" after the automatic changes because they tried to convert a
      non-contiguous mask.
      
      Patch 1 is required at the beginning of this series to fix a "forever"
      issue in the e1000e driver that fails the compilation test after conversion
      because the shift / mask was out of range.
      
      The second patch just adds all the new #includes in one go.
      
      The patch titled: "ice: fix pre-shifted bit usage" is needed to allow the
      use of the FIELD_* macros and fix up the unexpected "shifts included"
      defines found while creating this series.
      
      The rest are the conversion to use FIELD_PREP()/FIELD_GET(), and the
      occasional leXX_{get,set,encode}_bits() call, as suggested by Alex.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      afa9e267
  2. 21 Dec, 2023 16 commits
  3. 20 Dec, 2023 20 commits