Patch "xhci: remove GFP_DMA flag from allocation" has been added to the 4.11-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
xhci: remove GFP_DMA flag from allocation
to the 4.11-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
xhci-remove-gfp_dma-flag-from-allocation.patch
and it can be found in the queue-4.11 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
5db851cf20857c5504b146046e97cb7781f2a743Mon Sep 17 00:00:00 2001
From: Matthias Lange <[email protected]>
Date: Wed, 17 May 2017 18:32:04 +0300
Subject: xhci: remove GFP_DMA flag from allocation
From: Matthias Lange <[email protected]>
commit 5db851cf20857c5504b146046e97cb7781f2a743 upstream.
There is no reason to restrict allocations to the first 16MB ISA DMA addresses.
It is causing problems in a virtualization setup with enabled IOMMU (x86_64). The result is that USB is not working in the VM.
--- drivers/usb/host/xhci-mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/xhci-mem.c +1 -1
@@ -56,7 +56,7 @@ static struct xhci_segment *xhci_segment }if (max_packet) { - seg->bounce_buf =kzalloc (max_packet, flags |GFP_DMA ); + seg->bounce_buf =kzalloc (max_packet, flags);if (!seg->bounce_buf) {dma_pool_free (xhci->segment_pool, seg->trbs, dma);kfree (seg);
Patches currently in stable-queue which might be from [email protected] are
queue-4.11/xhci-remove-gfp_dma-flag-from-allocation.patch