lkml.org 
[lkml]   [2016]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kmem_cache_alloc fail with unable to handle paging request after pci hotplug remove.
On Mon, Jul 04, 2016 at 06:04:42PM +0300, Mathias Nyman wrote:
> On 04.07.2016 17:25, Rafael J. Wysocki wrote:
> > On Mon, Jul 4, 2016 at 4:26 PM, Mathias Nyman <mathias.nyman@linux.intel.com> wrote:
> > > AceLan Kao can get his DELL XPS 13 laptop to hang by plugging/un-plugging
> > > a USB 3.1 key via thunderbolt port.
> > >
> > > Allocating memory fails after this, always pointing to NULL pointer or
> > > page request failing in get_freepointer() called by
> > > kmalloc/kmem_cache_alloc.
> > >
> > > Unplugging a usb type-c device from the thunderbolt port on Alpine Ridge
> > > based systems like this one will hotplug remove PCI bridges together
> > > with the USB xhci controller behind them.

Yes, that matches with the lspci output you've posted, the whole
Thunderbolt controller is gone after unplug. Perhaps it's powered
down? What does "lspci -vvvv -s 00:1d.6" say? (Does the root port
still have a link to the Thunderbolt controller?)

Best regards,

Lukas

\
 
 \ /
  Last update: 2016-07-04 17:41    [W:0.117 / U:0.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site