summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKrzysztof Richert <krzysztof.richert@intel.com>2022-04-05 15:56:27 +0300
committerKrzysztof Richert <krzysiek.richert@gmail.com>2022-04-15 10:15:51 +0300
commit913231244a40110c832b5ec0afabda89d4d95f0f (patch)
treea8a33fb74e033df4186dedd75ed066b2187ddf6b /include
parentf5ba2d6bd4a59ed722b7a2511b0658b135afb412 (diff)
downloadlinux-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')
-rw-r--r--include/uapi/linux/aspeed-mctp.h11
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 */