mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] pciehp/shpchp prevent duplicate slot names
@ 2008-08-21 21:11 Alex Chiang
  2008-08-21 21:13 ` [PATCH 1/2] pciehp: Rename duplicate slot name N as N-1, N-2, N-M Alex Chiang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alex Chiang @ 2008-08-21 21:11 UTC (permalink / raw)
  To: jbarnes; +Cc: kaneshige.kenji, linux-pci, linux-kernel

Hi Jesse,

Here are patches:

	[PATCH 1/2] pciehp: Rename duplicate slot name N as N-1, N-2, N-M...
	[PATCH 2/2] shpchp: Rename duplicate slot name N as N-1, N-2, N-M...

Against Linus's 2.6.27-rc4.

As noted in the changelogs, these are temporary patches, meant as
placeholders until I complete the longer patch series that allows
the PCI core to manage the slot names on behalf of the drivers.

The longer patch series will keep the same behavior that these
temp patches implement, so that's goodness.

These patches have already been tested and acked by Kenji-san.

	http://article.gmane.org/gmane.linux.kernel/714583
	http://article.gmane.org/gmane.linux.kernel/714582

So I think you can add his sign-offs too.

Thanks,

/ac


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: post 2.6.26 requires pciehp_slot_with_bus
@ 2008-07-24 21:07 Jesse Barnes
  2008-07-24 21:51 ` Pierre Ossman
  0 siblings, 1 reply; 6+ messages in thread
From: Jesse Barnes @ 2008-07-24 21:07 UTC (permalink / raw)
  To: Pierre Ossman; +Cc: Kenji Kaneshige, LKML, linux-pci

On Thursday, July 24, 2008 1:39 pm Pierre Ossman wrote:
> On Thu, 24 Jul 2008 21:38:32 +0900
>
> Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> wrote:
> > Hi Pierre,
> > (Added linux-pci to CC)
> >
> > Pierre Ossman wrote:
> > > Somewhere post 2.6.26, pciehp started whining about not being able to
> > > claim the slot and error code -17. It suggested adding
> > > "pciehp_slot_with_bus", which actually helped. Still, having a kernel
> > > parameter should just be a temporary fix.
> >
> > The "pciehp_slot_with_bus" option is a workaround for the platforms
> > that assign the same physical slot number to multiple slots. If your
> > system has PCI chassis and it supports Chassis Number registers,
> > maybe one of the solution is using chassis number + slot number as a
> > slot name. But I don't have any idea other than "pciehp_slot_with_bus"
> > if your system doesn't support chassis number.
>
> The what now? :)
>
> This is a laptop with a single expressport that worked fine up until
> this merge window. What changed and why is it no longer possible to
> support this hardware without a kernel parameter?

Yeah we're being a bit more careful about registering hotplug slots these 
days.  The fact that you got a conflict message indicates that more than one 
driver is trying to bind to that PCIe port and handle hotplug for it.  I 
guess acpiphp must already be loaded?

Jesse

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-08-21 22:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-21 21:11 [PATCH 0/2] pciehp/shpchp prevent duplicate slot names Alex Chiang
2008-08-21 21:13 ` [PATCH 1/2] pciehp: Rename duplicate slot name N as N-1, N-2, N-M Alex Chiang
2008-08-21 21:13 ` [PATCH 2/2] shpchp: " Alex Chiang
2008-08-21 22:16 ` [PATCH 0/2] pciehp/shpchp prevent duplicate slot names Jesse Barnes
  -- strict thread matches above, loose matches on Subject: below --
2008-07-24 21:07 post 2.6.26 requires pciehp_slot_with_bus Jesse Barnes
2008-07-24 21:51 ` Pierre Ossman
2008-07-24 22:06   ` Jesse Barnes
2008-07-24 22:29     ` Alex Chiang
2008-07-24 22:49       ` Pierre Ossman
2008-07-24 23:08         ` Alex Chiang
2008-07-24 23:29           ` Pierre Ossman
2008-07-25  3:29             ` Matthew Wilcox
2008-07-25  4:57               ` Kenji Kaneshige
2008-07-30  2:38                 ` Alex Chiang
2008-07-30  2:42                   ` [PATCH 1/2] pciehp: Rename duplicate slot name N as N-1, N-2, N-M Alex Chiang
2008-07-31 10:32                     ` Kenji Kaneshige

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®