[PATCH] xhci: update bounce buffer with correct sg num

2019-04-25 Thread Henry Lin
ist can avoid cache issue. Signed-off-by: Henry Lin --- drivers/usb/host/xhci-ring.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 9215a28..f5d0908 100644 --- a/drivers/usb/host/xhci-ring.c ++

[PATCH] xhci: fix wrong WARN messages for bounce buffer

2019-06-25 Thread Henry Lin
!= 1024 [ 173.750209] xhci-hcd xhci-hcd.0.auto: WARN Wrong bounce buffer write length: 1024 != 108 Signed-off-by: Henry Lin --- drivers/usb/host/xhci-ring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index

Re: [PATCH] usb: xhci: fix length check in xhci_align_td

2019-07-06 Thread Henry Lin
Similar change is posted in https://marc.info/?l=linux-usb&m=156152916509643&w=2 From: Lorenzo Bianconi Sent: Friday, July 5, 2019 2:33 AM To: linux-usb@vger.kernel.org Cc: Henry Lin; gre...@linuxfoundation.org; mathias.ny...@linux.i

[PATCH] xhci: handle stop ep on invalid CStream

2018-11-12 Thread Henry Lin
causes Data-In stream for SCSI command data stopped when CStream is invalid. This patch handles the transfer event to remove false error messages. Signed-off-by: Henry Lin --- drivers/usb/host/xhci-ring.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/usb/host/xhci-ring.c b/d