summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/ism.h
diff options
context:
space:
mode:
authorWen Gu <guwen@linux.alibaba.com>2023-12-19 22:26:16 +0800
committerDavid S. Miller <davem@davemloft.net>2023-12-26 20:24:33 +0000
commitb3bf76024f645369e1fc45e0b08a2bd24f200d9b (patch)
tree3039dfce81ff61cee3378a044ef4b4602d0b3b34 /drivers/s390/net/ism.h
parentc6b8b8eb49904018e22e4e4b1fa502e57dc747d9 (diff)
downloadlinux-stable-b3bf76024f645369e1fc45e0b08a2bd24f200d9b.tar.gz
linux-stable-b3bf76024f645369e1fc45e0b08a2bd24f200d9b.tar.bz2
linux-stable-b3bf76024f645369e1fc45e0b08a2bd24f200d9b.zip
net/smc: manage system EID in SMC stack instead of ISM driver
The System EID (SEID) is an internal EID that is used by the SMCv2 software stack that has a predefined and constant value representing the s390 physical machine that the OS is executing on. So it should be managed by SMC stack instead of ISM driver and be consistent for all ISMv2 device (including virtual ISM devices) on s390 architecture. Suggested-by: Alexandra Winter <wintera@linux.ibm.com> Signed-off-by: Wen Gu <guwen@linux.alibaba.com> Reviewed-and-tested-by: Wenjia Zhang <wenjia@linux.ibm.com> Reviewed-by: Alexandra Winter <wintera@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/ism.h')
-rw-r--r--drivers/s390/net/ism.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/s390/net/ism.h b/drivers/s390/net/ism.h
index 70c5bbda0fea..047fa6101555 100644
--- a/drivers/s390/net/ism.h
+++ b/drivers/s390/net/ism.h
@@ -16,7 +16,6 @@
*/
#define ISM_DMB_WORD_OFFSET 1
#define ISM_DMB_BIT_OFFSET (ISM_DMB_WORD_OFFSET * 32)
-#define ISM_IDENT_MASK 0x00FFFF
#define ISM_REG_SBA 0x1
#define ISM_REG_IEQ 0x2
@@ -192,12 +191,6 @@ struct ism_sba {
#define ISM_CREATE_REQ(dmb, idx, sf, offset) \
((dmb) | (idx) << 24 | (sf) << 23 | (offset))
-struct ism_systemeid {
- u8 seid_string[24];
- u8 serial_number[4];
- u8 type[4];
-};
-
static inline void __ism_read_cmd(struct ism_dev *ism, void *data,
unsigned long offset, unsigned long len)
{