Re: [PATCH 0/5][RFC] Physical PCI slot objects

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gary Hade
Date: Tuesday, November 13, 2007 - 4:08 pm

On Tue, Nov 13, 2007 at 01:11:02PM -0700, Matthew Wilcox wrote:

I be one of them. :)  I have been involved in many (but not all)
of IBM's x86 based (IBM System x) servers with hotplug capable
PCI slots.  I have mostly worked on 'acpiphp' associated issues.


I am not fundamentally opposed to this new capability but
share the same concerns that Greg and others have expressed.
So far, I have only tried the changes on one single node
system (IBM x3850) but the below NAK-worthy result supports
the idea that the changes need to be well and widely tested.

Have you possibly considered a kernel option as a kinder and
gentler way of introducing the changes?

Gary

-- 
Gary Hade
System x Enablement
IBM Linux Technology Center
503-578-4503  IBM T/L: 775-4503
garyhade@us.ibm.com
http://www.ibm.com/linux/ltc

====
IBM x3850
Slots 1-2: PCI-X under PCI root bridges
Slots 3-6: PCIe under transparent P2P bridges
Slot 1: PCI-X - populated
Slot 2: PCI-X - !populated
Slot 3: PCIe -  populated
Slot 4: PCIe -  !populated
Slot 5: PCIe -  !populated
Slot 6: PCIe -  populated

result is with 2.6.24-rc2 plus all 4 proposed patches
problem: acpiphp failed to register empty PCIe slots 4 and 5
====

# dmesg
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
acpiphp_glue: found PCI host-bus bridge with hot-pluggable slots
acpiphp_glue: found ACPI PCI Hotplug slot 1 at PCI 0000:02:01
acpiphp: Slot [1] registered
acpiphp_glue: found PCI host-bus bridge with hot-pluggable slots
acpiphp_glue: found ACPI PCI Hotplug slot 2 at PCI 0000:06:01
acpiphp: Slot [2] registered
acpiphp_glue: found PCI-to-PCI bridge at PCI 0000:0a:00.0
acpiphp_glue: found ACPI PCI Hotplug slot 3 at PCI 0000:0b:00
acpiphp: Slot [3] registered
acpiphp_glue: found PCI-to-PCI bridge at PCI 0000:0f:00.0
acpiphp_glue: found ACPI PCI Hotplug slot 4 at PCI 0000:10:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found ACPI PCI Hotplug slot 4 at PCI 0000:10:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found ACPI PCI Hotplug slot 4 at PCI 0000:10:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found ACPI PCI Hotplug slot 4 at PCI 0000:10:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found ACPI PCI Hotplug slot 4 at PCI 0000:10:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found ACPI PCI Hotplug slot 4 at PCI 0000:10:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found ACPI PCI Hotplug slot 4 at PCI 0000:10:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found ACPI PCI Hotplug slot 4 at PCI 0000:10:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found PCI-to-PCI bridge at PCI 0000:14:00.0
acpiphp_glue: found ACPI PCI Hotplug slot 5 at PCI 0000:15:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found ACPI PCI Hotplug slot 5 at PCI 0000:15:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found ACPI PCI Hotplug slot 5 at PCI 0000:15:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found ACPI PCI Hotplug slot 5 at PCI 0000:15:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found ACPI PCI Hotplug slot 5 at PCI 0000:15:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found ACPI PCI Hotplug slot 5 at PCI 0000:15:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found ACPI PCI Hotplug slot 5 at PCI 0000:15:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found ACPI PCI Hotplug slot 5 at PCI 0000:15:00
acpiphp: pci_hp_register failed with error -17
acpiphp_glue: acpiphp_register_hotplug_slot failed(err code = 0xffffffef)
acpiphp_glue: found PCI-to-PCI bridge at PCI 0000:19:00.0
acpiphp_glue: found ACPI PCI Hotplug slot 6 at PCI 0000:1a:00
acpiphp: Slot [6] registered
acpiphp_glue: Bus 0000:1a has 1 slot
acpiphp_glue: Bus 0000:15 has 0 slots
acpiphp_glue: Bus 0000:10 has 0 slots
acpiphp_glue: Bus 0000:0b has 1 slot
acpiphp_glue: Bus 0000:06 has 1 slot
acpiphp_glue: Bus 0000:02 has 1 slot
acpiphp_glue: Total 4 slots

# find /sys/bus/pci/slots
/sys/bus/pci/slots
/sys/bus/pci/slots/1
/sys/bus/pci/slots/1/address
/sys/bus/pci/slots/1/power
/sys/bus/pci/slots/1/attention
/sys/bus/pci/slots/1/latch
/sys/bus/pci/slots/1/adapter
/sys/bus/pci/slots/2
/sys/bus/pci/slots/2/address
/sys/bus/pci/slots/2/power
/sys/bus/pci/slots/2/attention
/sys/bus/pci/slots/2/latch
/sys/bus/pci/slots/2/adapter
/sys/bus/pci/slots/3
/sys/bus/pci/slots/3/address
/sys/bus/pci/slots/3/power
/sys/bus/pci/slots/3/attention
/sys/bus/pci/slots/3/latch
/sys/bus/pci/slots/3/adapter
/sys/bus/pci/slots/4
/sys/bus/pci/slots/4/address
/sys/bus/pci/slots/5
/sys/bus/pci/slots/5/address
/sys/bus/pci/slots/6
/sys/bus/pci/slots/6/address
/sys/bus/pci/slots/6/power
/sys/bus/pci/slots/6/attention
/sys/bus/pci/slots/6/latch
/sys/bus/pci/slots/6/adapter

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Mon Nov 12, 5:08 pm)
[PATCH 1/5] Remove path attribute from sgi_hotplug, Alex Chiang, (Mon Nov 12, 5:12 pm)
[PATCH 2/5] Construct one fakephp slot per pci slot, Alex Chiang, (Mon Nov 12, 5:13 pm)
[PATCH 3/5, RFC] Introduce pci_slot, Alex Chiang, (Mon Nov 12, 5:14 pm)
[PATCH 4/5, RFC] ACPI PCI slot detection driver, Alex Chiang, (Mon Nov 12, 5:17 pm)
[PATCH 5/5] Add pci_slot_add_hotplug() interface, Alex Chiang, (Mon Nov 12, 5:18 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Greg KH, (Tue Nov 13, 10:01 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Matthew Wilcox, (Tue Nov 13, 11:33 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Greg KH, (Tue Nov 13, 11:51 am)
Re: [PATCH 2/5] Construct one fakephp slot per pci slot, Linas Vepstas, (Tue Nov 13, 12:48 pm)
Re: [PATCH 2/5] Construct one fakephp slot per pci slot, Matthew Wilcox, (Tue Nov 13, 12:52 pm)
Re: [PATCH 3/5, RFC] Introduce pci_slot, Linas Vepstas, (Tue Nov 13, 12:56 pm)
Re: [PATCH 3/5, RFC] Introduce pci_slot, Matthew Wilcox, (Tue Nov 13, 1:03 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Matthew Wilcox, (Tue Nov 13, 1:11 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Greg KH, (Tue Nov 13, 1:19 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Tue Nov 13, 1:21 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Linas Vepstas, (Tue Nov 13, 1:24 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Greg KH, (Tue Nov 13, 1:26 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Tue Nov 13, 1:36 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Tue Nov 13, 1:59 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Matt Domsch, (Tue Nov 13, 2:15 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Greg KH, (Tue Nov 13, 2:30 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Tue Nov 13, 2:31 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Greg KH, (Tue Nov 13, 2:32 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Greg KH, (Tue Nov 13, 2:36 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Linas Vepstas, (Tue Nov 13, 2:41 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Matthew Wilcox, (Tue Nov 13, 2:58 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Bjorn Helgaas, (Tue Nov 13, 3:01 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Greg KH, (Tue Nov 13, 3:16 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Rick Jones, (Tue Nov 13, 3:51 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Greg KH, (Tue Nov 13, 3:56 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Kristen Carlson Accardi, (Tue Nov 13, 3:59 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Matthew Wilcox, (Tue Nov 13, 4:04 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Greg KH, (Tue Nov 13, 4:07 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Gary Hade, (Tue Nov 13, 4:08 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Tue Nov 13, 4:14 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Kristen Carlson Accardi, (Tue Nov 13, 4:33 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Matthew Wilcox, (Tue Nov 13, 5:10 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Andi Kleen, (Tue Nov 13, 6:07 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Tue Nov 13, 6:37 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Scott Murray, (Tue Nov 13, 11:00 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Kenji Kaneshige, (Wed Nov 14, 2:55 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Kenji Kaneshige, (Wed Nov 14, 4:43 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Matthew Wilcox, (Wed Nov 14, 7:17 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Andi Kleen, (Wed Nov 14, 7:35 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Wed Nov 14, 7:42 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Matthew Wilcox, (Wed Nov 14, 8:00 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Andi Kleen, (Wed Nov 14, 8:08 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Matthew Wilcox, (Wed Nov 14, 8:12 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Wed Nov 14, 8:20 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Bjorn Helgaas, (Wed Nov 14, 10:37 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Matthew Garrett, (Wed Nov 14, 10:44 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Greg KH, (Wed Nov 14, 10:51 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Greg KH, (Wed Nov 14, 10:53 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Matthew Garrett, (Wed Nov 14, 11:03 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Gary Hade, (Wed Nov 14, 11:13 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Wed Nov 14, 11:36 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Kristen Carlson Accardi, (Wed Nov 14, 11:38 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Wed Nov 14, 12:53 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Wed Nov 14, 2:24 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Wed Nov 14, 2:42 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Gary Hade, (Wed Nov 14, 5:40 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Thu Nov 15, 10:36 am)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Alex Chiang, (Thu Nov 15, 1:20 pm)
Re: [PATCH 0/5][RFC] Physical PCI slot objects, Gary Hade, (Thu Nov 15, 4:38 pm)