summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/pci_clp.h
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2016-01-27 13:33:30 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-11-23 16:02:26 +0100
commit5c5afd0201221be578ec200dfedfa04acda529c1 (patch)
tree0a3ef4f5f8320375f48567b453afd4dbf71c246f /arch/s390/include/asm/pci_clp.h
parents390: update defconfig (diff)
downloadlinux-5c5afd0201221be578ec200dfedfa04acda529c1.tar.xz
linux-5c5afd0201221be578ec200dfedfa04acda529c1.zip
s390/pci: use unique UIDs for domain enumeration
Use UIDs as domain numbers if the UID checking rules apply (in this case the FW guarantees uniqueness of these values). Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/pci_clp.h')
-rw-r--r--arch/s390/include/asm/pci_clp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/s390/include/asm/pci_clp.h b/arch/s390/include/asm/pci_clp.h
index e75c64cbcf08..c232ef9711f5 100644
--- a/arch/s390/include/asm/pci_clp.h
+++ b/arch/s390/include/asm/pci_clp.h
@@ -46,6 +46,8 @@ struct clp_fh_list_entry {
#define CLP_UTIL_STR_LEN 64
#define CLP_PFIP_NR_SEGMENTS 4
+extern bool zpci_unique_uid;
+
/* List PCI functions request */
struct clp_req_list_pci {
struct clp_req_hdr hdr;
@@ -59,7 +61,8 @@ struct clp_rsp_list_pci {
u64 resume_token;
u32 reserved2;
u16 max_fn;
- u8 reserved3;
+ u8 : 7;
+ u8 uid_checking : 1;
u8 entry_size;
struct clp_fh_list_entry fh_list[CLP_FH_LIST_NR_ENTRIES];
} __packed;