s390/pci: define RID and RID available
authorPierre Morel <pmorel@linux.ibm.com>
Fri, 21 Feb 2020 09:06:38 +0000 (10:06 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 28 Apr 2020 11:49:46 +0000 (13:49 +0200)
commitc9a1752b84f1a8f73187c116ff0514b2ab24d878
tree07ac7933d9619a6f5cff7940e81bc0749c70adec
parent6cf17f9a67c124aa4739b79709008d942635b975
s390/pci: define RID and RID available

Firmware provides the bus/devfn part of the PCI addresses of a zPCI
function inside the new field RID of the CLP query PCI function
with a bit to know if this field is available to use.

Let's add these fields to the clp_rsp_query_pci structure,
add corresponding fields to zdev and initialize them.

Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/pci.h
arch/s390/include/asm/pci_clp.h
arch/s390/pci/pci_clp.c