diff options
author | Krzysztof Richert <krzysztof.richert@intel.com> | 2022-04-05 15:56:27 +0300 |
---|---|---|
committer | Krzysztof Richert <krzysiek.richert@gmail.com> | 2022-04-15 10:15:51 +0300 |
commit | 913231244a40110c832b5ec0afabda89d4d95f0f (patch) | |
tree | a8a33fb74e033df4186dedd75ed066b2187ddf6b /include/uapi | |
parent | f5ba2d6bd4a59ed722b7a2511b0658b135afb412 (diff) | |
download | linux-913231244a40110c832b5ec0afabda89d4d95f0f.tar.xz |
soc: aspeed: mctp: Add IOCTLs for extended EID information
For PECI over MCTP purposes, aspeed-mctp driver needs to be
extended that allows to set Domain ID information.
Signed-off-by: Krzysztof Richert <krzysztof.richert@intel.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/aspeed-mctp.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/uapi/linux/aspeed-mctp.h b/include/uapi/linux/aspeed-mctp.h index 86ff04b71e92..678ec3d9f1cc 100644 --- a/include/uapi/linux/aspeed-mctp.h +++ b/include/uapi/linux/aspeed-mctp.h @@ -82,6 +82,12 @@ struct aspeed_mctp_eid_info { __u16 bdf; }; +struct aspeed_mctp_eid_ext_info { + __u8 eid; + __u16 bdf; + __u8 domain_id; +}; + struct aspeed_mctp_get_eid_info { __u64 ptr; __u16 count; @@ -113,5 +119,10 @@ struct aspeed_mctp_set_eid_info { _IOWR(ASPEED_MCTP_IOCTL_BASE, 8, struct aspeed_mctp_get_eid_info) #define ASPEED_MCTP_IOCTL_SET_EID_INFO \ _IOW(ASPEED_MCTP_IOCTL_BASE, 9, struct aspeed_mctp_set_eid_info) +#define ASPEED_MCTP_IOCTL_GET_EID_EXT_INFO \ + _IOW(ASPEED_MCTP_IOCTL_BASE, 10, struct aspeed_mctp_get_eid_info) +#define ASPEED_MCTP_IOCTL_SET_EID_EXT_INFO \ + _IOW(ASPEED_MCTP_IOCTL_BASE, 11, struct aspeed_mctp_set_eid_info) + #endif /* _UAPI_LINUX_ASPEED_MCTP_H */ |