aboutsummaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorMartin Schiller <[email protected]>2019-02-18 06:37:30 +0000
committerFelipe Balbi <[email protected]>2019-06-06 10:51:57 +0000
commit4a4863bf2e7932e584a3a462d3c6daf891142ddc (patch)
tree5db2d2a943d82aad44d9b1081016041d233b122c /lib/timerqueue.c
parentusb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression) (diff)
downloadkernel-4a4863bf2e7932e584a3a462d3c6daf891142ddc.tar.gz
kernel-4a4863bf2e7932e584a3a462d3c6daf891142ddc.zip
usb: dwc2: Fix DMA cache alignment issues
Insert a padding between data and the stored_xfer_buffer pointer to ensure they are not on the same cache line. Otherwise, the stored_xfer_buffer gets corrupted for IN URBs on non-cache-coherent systems. (In my case: Lantiq xRX200 MIPS) Fixes: 3bc04e28a030 ("usb: dwc2: host: Get aligned DMA in a more supported way") Fixes: 56406e017a88 ("usb: dwc2: Fix DMA alignment to start at allocated boundary") Cc: <[email protected]> Tested-by: Douglas Anderson <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Acked-by: Minas Harutyunyan <[email protected]> Signed-off-by: Martin Schiller <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions