s390/pci: PCI hotplug support via SCLP
authorJan Glauber <jang@linux.vnet.ibm.com>
Thu, 29 Nov 2012 13:35:47 +0000 (14:35 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 30 Nov 2012 16:47:25 +0000 (17:47 +0100)
commit7441b0627e2251370902305a204e1330a696ca04
treed3a36466a8517f8b889b6f0037f15280e33302d4
parentcbc0dd1f856b52b59c2c73a477b6cb210c8c66ad
s390/pci: PCI hotplug support via SCLP

Add SCLP PCI configure/deconfigure and implement a PCI hotplug
controller (s390_pci_hpc). The hotplug controller creates a slot
for every PCI function in stand-by or configured state. The PCI
functions are named after the PCI function ID (fid). By writing to
the power attribute in /sys/bus/pci/slots/<fid>/power the PCI function
is moved to stand-by or configured state. If moved to the configured
state the device is automatically scanned by the s390 PCI layer.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pci.h
arch/s390/include/asm/sclp.h
arch/s390/pci/pci.c
drivers/pci/hotplug/Kconfig
drivers/pci/hotplug/Makefile
drivers/pci/hotplug/s390_pci_hpc.c [new file with mode: 0644]
drivers/s390/char/sclp.h
drivers/s390/char/sclp_cmd.c
This page took 0.028125 seconds and 5 git commands to generate.