mbox series

[0/4] thunderbolt: NVM fixes and consolidation

Message ID 20210517115907.52503-1-mika.westerberg@linux.intel.com
Headers show
Series thunderbolt: NVM fixes and consolidation | expand

Message

Mika Westerberg May 17, 2021, 11:59 a.m. UTC
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(-)