summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKrzysztof Richert <krzysztof.richert@intel.com>2022-04-05 17:38:39 +0300
committerKrzysztof Richert <krzysiek.richert@gmail.com>2022-04-15 10:15:51 +0300
commit3802235a3d1a4e5f26053ee4c1bb4c0e3a087a8d (patch)
treedcb7c2160997fe4599c32ace7a988501702ebb7f /include
parent6329b11a61a5c3ee529e228731023239d036e40b (diff)
downloadlinux-3802235a3d1a4e5f26053ee4c1bb4c0e3a087a8d.tar.xz
peci: mctp: Add DomainId support for peci-mctp
Get DomainId from peci subsystem message to send message to requested EID. Required EID is taken from aspeed-mctp based on the discovery performed by user-space application. For each particular agent behind master, information about its BDF/DomainId is sufficient to get its EID. Signed-off-by: Krzysztof Richert <krzysztof.richert@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/peci-ioctl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/peci-ioctl.h b/include/uapi/linux/peci-ioctl.h
index 9b1dc539176d..181559c0655d 100644
--- a/include/uapi/linux/peci-ioctl.h
+++ b/include/uapi/linux/peci-ioctl.h
@@ -13,6 +13,9 @@
/* Max number of CPU clients */
#define PECI_OFFSET_MAX 8
+/* Max number of domains per CPU */
+#define DOMAIN_OFFSET_MAX 16
+
/* PECI read/write data buffer size max */
#define PECI_BUFFER_SIZE 255