usb: xhci: force all memory allocations to node
authorAdam Wallis <awallis@codeaurora.org>
Tue, 22 May 2018 18:55:32 +0000 (14:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Jun 2018 11:24:51 +0000 (13:24 +0200)
commita965315e59f3cbceb5d27d0feb68a456544f0f8d
treefb0f20225f2762488008e1d71ff715a154da2791
parent5ef12cb4a3a78ffb331c03a795a15eea4ae35155
usb: xhci: force all memory allocations to node

The xhci driver forces DMA memory to be node aware, however, there are
several ring-related memory allocations that are not memory node aware.
This patch resolves those *alloc functions to be allocated on the proper
memory node.

Signed-off-by: Adam Wallis <awallis@codeaurora.org>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mem.c