Searched hist:f6576a1b4896b984dce0e8393efeba68cc2b96c8 (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/pci/hotplug/ |
H A D | s390_pci_hpc.c | diff f6576a1b4896b984dce0e8393efeba68cc2b96c8 Tue Mar 02 14:55:21 CET 2021 Niklas Schnelle <schnelle@linux.ibm.com> s390/pci: refactor zpci function states
The current zdev->state mixes the configuration states supported by CLP with an additional Online state which is used inconsistently to include enabled zPCI functions which are not yet visible to the common PCI subsytem. In preparation for a clean separation between architected configuration states and fine grained function states remove the Online function state.
Where we previously checked for Online it is more accurate to check if the function is enabled to avoid an edge case where a disabled device was still treated as Online. This also simplifies checks whether a function is configured as this is now directly reflected by its function state.
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
|
/linux/arch/s390/include/asm/ |
H A D | pci.h | diff f6576a1b4896b984dce0e8393efeba68cc2b96c8 Tue Mar 02 14:55:21 CET 2021 Niklas Schnelle <schnelle@linux.ibm.com> s390/pci: refactor zpci function states
The current zdev->state mixes the configuration states supported by CLP with an additional Online state which is used inconsistently to include enabled zPCI functions which are not yet visible to the common PCI subsytem. In preparation for a clean separation between architected configuration states and fine grained function states remove the Online function state.
Where we previously checked for Online it is more accurate to check if the function is enabled to avoid an edge case where a disabled device was still treated as Online. This also simplifies checks whether a function is configured as this is now directly reflected by its function state.
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
|
/linux/arch/s390/pci/ |
H A D | pci.c | diff f6576a1b4896b984dce0e8393efeba68cc2b96c8 Tue Mar 02 14:55:21 CET 2021 Niklas Schnelle <schnelle@linux.ibm.com> s390/pci: refactor zpci function states
The current zdev->state mixes the configuration states supported by CLP with an additional Online state which is used inconsistently to include enabled zPCI functions which are not yet visible to the common PCI subsytem. In preparation for a clean separation between architected configuration states and fine grained function states remove the Online function state.
Where we previously checked for Online it is more accurate to check if the function is enabled to avoid an edge case where a disabled device was still treated as Online. This also simplifies checks whether a function is configured as this is now directly reflected by its function state.
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
|