Skip to contentSkip to conversation

usb: xhci: force all memory allocations to node

PATCH New Adam Wallis 1 participant 1 message May 30, 2018 USB

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 usb: xhci: force all memory allocations to node

Mathias,

Quoted 5 lines · Adam Wallis

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.

Quoted 7 lines

---
changes from v1:
* This was rebased on top of Mathias' for-usb-next branch

 drivers/usb/host/xhci-mem.c | 57 ++++++++++++++++++++++++++++++---------------
 1 file changed, 38 insertions(+), 19 deletions(-)

Did you have other recommendations or suggestions for this patch?

Thanks!

Adam