[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMxnaaXzvxTJc+fP_E9fQhMTsVcj2PCJCsp=PNae3Pv47JONdQ@mail.gmail.com>
Date: Sat, 14 Dec 2013 23:15:39 +0100
From: Andreas Noever <andreas.noever@...il.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: "linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: How to reserve pci bus numbers for hotplug?
On Sat, Dec 14, 2013 at 11:01 PM, Greg KH <gregkh@...uxfoundation.org> wrote:
> On Thu, Dec 12, 2013 at 12:37:50AM +0100, Andreas Noever wrote:
>>
>> If I could get Linux to assign enough resources (bus numbers for now)
>> then I could drop the acpi_osi parameter and make thunderbolt work
>> after suspend... So, is there an easy way to fix this? (Quirks,
>> reconfiguring bus number assignments from a platform driver, ...?)
>
> I think you are going to have to do a lot more here, what is needed is a
> whole connection manager for Thunderbolt, emulating what the BIOS does,
> in order to get all of this working properly.
>
> But don't let that stop you from trying, however the work involved is
> really not trivial at all.
>
> good luck,
>
> greg k-h
Actually the thunderbolt part is already working (for non chaining
devices, see https://lkml.org/lkml/2013/11/28/492 if you are
interested). I can completely bootstrap the tb side of things. The
only problem is that if power has been cut by the firmware (during
boot without osi_acpi=Darwin or after a suspend/resume cycle) then
Linux does not allocate enough PCI resources...
Cheers,
Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists