From: Sarah Sharp Date: Tue, 28 Dec 2010 21:08:42 +0000 (-0800) Subject: xhci: Use GFP_NOIO during device reset. X-Git-Tag: v2.6.38-rc3~7^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6d940dd759bf240d28624198660ed34582a327b;p=pandora-kernel.git xhci: Use GFP_NOIO during device reset. When xhci_discover_or_reset_device() is called after a host controller power loss, the virtual device may need to be reallocated. Make sure xhci_alloc_dev() uses GFP_NOIO. This avoid causing a deadlock by allowing the kernel to flush pending I/O while reallocating memory for a virtual device for a USB mass storage device that's holding the backing store for dirty memory buffers. This patch should be queued for the 2.6.37 stable tree. Signed-off-by: Sarah Sharp Cc: stable@kernel.org --- Reading git-diff-tree failed