kernel: bump 5.10 to 5.10.164
[openwrt/staging/hauke.git] / target / linux / bcm27xx / patches-5.10 / 950-0154-xhci-Use-more-event-ring-segment-table-entries.patch
index aa0919db34d6995a257e847c82228f50a61c597a..baca2943d6b81a97995fb57b94b4c5cd45d0e6bd 100644 (file)
@@ -22,7 +22,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
 
 --- a/drivers/usb/host/xhci-mem.c
 +++ b/drivers/usb/host/xhci-mem.c
-@@ -2534,9 +2534,11 @@ int xhci_mem_init(struct xhci_hcd *xhci,
+@@ -2538,9 +2538,11 @@ int xhci_mem_init(struct xhci_hcd *xhci,
         * Event ring setup: Allocate a normal ring, but also setup
         * the event ring segment table (ERST).  Section 4.9.3.
         */
@@ -36,7 +36,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
        if (!xhci->event_ring)
                goto fail;
        if (xhci_check_trb_in_td_math(xhci) < 0)
-@@ -2549,7 +2551,7 @@ int xhci_mem_init(struct xhci_hcd *xhci,
+@@ -2553,7 +2555,7 @@ int xhci_mem_init(struct xhci_hcd *xhci,
        /* set ERST count with the number of entries in the segment table */
        val = readl(&xhci->ir_set->erst_size);
        val &= ERST_SIZE_MASK;
@@ -47,7 +47,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
                        val);
 --- a/drivers/usb/host/xhci.h
 +++ b/drivers/usb/host/xhci.h
-@@ -1656,8 +1656,8 @@ struct urb_priv {
+@@ -1660,8 +1660,8 @@ struct urb_priv {
   * Each segment table entry is 4*32bits long.  1K seems like an ok size:
   * (1K bytes * 8bytes/bit) / (4*32 bits) = 64 segment entries in the table,
   * meaning 64 ring segments.