[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160705075346.GA2918@wunner.de>
Date: Tue, 5 Jul 2016 09:53:46 +0200
From: Lukas Wunner <lukas@...ner.de>
To: AceLan Kao <acelan@...il.com>
Cc: Mathias Nyman <mathias.nyman@...ux.intel.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>,
Linux PCI <linux-pci@...r.kernel.org>,
ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
USB <linux-usb@...r.kernel.org>
Subject: Re: kmem_cache_alloc fail with unable to handle paging request after
pci hotplug remove.
On Tue, Jul 05, 2016 at 11:00:21AM +0800, AceLan Kao wrote:
> These are logs from my machine.
>
> *** Before plug-in the USB key
>
> u@...PS-13-9xxx:~$ sudo lspci -vvvv -s 00:1c.0
> 00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1) (prog-if 00
> [Normal decode])
[...]
> LnkSta: Speed 2.5GT/s, Width x0, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
> SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+
The link is down (DLActive-), but the root port is a hotplug port,
so apparently with Alpine Ridge the controller is powered down if
nothing is plugged in and this results in the controller being
"unplugged" from the root port.
This looks less fishy than I originally thought, it's just very
different from the power management of pre Alpine Ridge controllers
on Macs (which is the only thing I'm really familiar with), where
the root port is not a hotplug port and the controller does not
disappear from the system when powered down. (It's config space
just becomes inaccessible.)
Best regards,
Lukas
Powered by blists - more mailing lists