diff mbox series

[Bug,215740] kernel warning: DMA-API: xhci_hcd: cacheline tracking EEXIST, overlapping mappings aren't supported

Message ID bug-215740-208809-Wa9Y1kexOW@https.bugzilla.kernel.org/ (mailing list archive)
State New, archived
Headers show
Series [Bug,215740] kernel warning: DMA-API: xhci_hcd: cacheline tracking EEXIST, overlapping mappings aren't supported | expand

Commit Message

bugzilla-daemon@kernel.org Nov. 24, 2023, 10:22 p.m. UTC
https://bugzilla.kernel.org/show_bug.cgi?id=215740

--- Comment #30 from Ferry Toth (ferry.toth@elsinga.info) ---
So I checked and:
root@yuna:~# cat /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size
64

So I just simply added to your debug patches:

and the problem disappears. 
But then, why Comment 15 can Alan not reproduce this?
diff mbox series

Patch

diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 0ff47eeffb49..ba5864b23aed 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -1420,7 +1420,7 @@  static int hub_configure(struct usb_hub *hub,
        unsigned full_load;
        unsigned maxchild;

-       hub->buffer = kmalloc(sizeof(*hub->buffer), GFP_KERNEL);
+       hub->buffer = kmalloc(64, GFP_KERNEL);
        if (!hub->buffer) {
                ret = -ENOMEM;
                goto fail;