Skip to content

thunderbolt: NVM fixes and consolidation

Mika Westerberg linux-usb 1 version Applied

Status from this message: Applied to thunderbolt.git/fixes.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4thunderbolt: dma_port: Fix NVM read buffer bounds and offset issuedrivers/thunderbolt/dma_port.c+6 -51 reply
2/4thunderbolt: usb4: Fix NVM read buffer bounds and offset issuedrivers/thunderbolt/usb4.c+5 -41 reply
3/4thunderbolt: Split NVM read/write generic functions out from usb4.cdrivers/thunderbolt/nvm.c drivers/thunderbolt/tb.h drivers/thunderbolt/usb4.c+124 -921 reply
4/4thunderbolt: Use generic tb_nvm_[read|write]_data() for Thunderbolt 2/3 devicesdrivers/thunderbolt/dma_port.c+15 -790 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] thunderbolt: NVM fixes and consolidation

Hi all,

This series includes two fixes from Mathias on read side of NVM. These will go to stable trees as well.

The rest will consolidate NVM read/write functions to get rid of the duplication.

Mathias Nyman (2):
thunderbolt: dma_port: Fix NVM read buffer bounds and offset issue
thunderbolt: usb4: Fix NVM read buffer bounds and offset issue

Mika Westerberg (2):
thunderbolt: Split NVM read/write generic functions out from usb4.c
thunderbolt: Use generic tb_nvm_[read|write]_data() for Thunderbolt 2/3 devices

 drivers/thunderbolt/dma_port.c |  93 +++++-----------------------
 drivers/thunderbolt/nvm.c      |  95 ++++++++++++++++++++++++++++
 drivers/thunderbolt/tb.h       |  11 ++++
 drivers/thunderbolt/usb4.c     | 109 ++++++---------------------------
 4 files changed, 139 insertions(+), 169 deletions(-)
Signature · 1 line
2.30.2