linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Andreas Noever <andreas.noever@gmail.com>
Cc: "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: How to reserve pci bus numbers for hotplug?
Date: Thu, 19 Dec 2013 16:55:26 -0800	[thread overview]
Message-ID: <20131220005526.GB17307@kroah.com> (raw)
In-Reply-To: <CAMxnaaXzvxTJc+fP_E9fQhMTsVcj2PCJCsp=PNae3Pv47JONdQ@mail.gmail.com>

On Sat, Dec 14, 2013 at 11:15:39PM +0100, Andreas Noever wrote:
> On Sat, Dec 14, 2013 at 11:01 PM, Greg KH <gregkh@linuxfoundation.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...

Ah, that's nice to know, I didn't realize that.

There should be some Intel people around on the list that has access to
a Thunderbolt monitor for testing.  Or, if needed, I can see if I can
expense one, as it would be good to get this working :)

thanks,

greg k-h

      reply	other threads:[~2013-12-20  0:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-11 23:37 How to reserve pci bus numbers for hotplug? Andreas Noever
2013-12-12  0:21 ` Yinghai Lu
2013-12-12 19:56   ` Andreas Noever
2013-12-13  6:04     ` Yinghai Lu
2013-12-13 17:09     ` Bjorn Helgaas
2013-12-14 20:50       ` Andreas Noever
2013-12-15  4:10     ` Yinghai Lu
2013-12-16 20:52       ` Andreas Noever
2013-12-14 22:01 ` Greg KH
2013-12-14 22:15   ` Andreas Noever
2013-12-20  0:55     ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131220005526.GB17307@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=andreas.noever@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).