From 3802235a3d1a4e5f26053ee4c1bb4c0e3a087a8d Mon Sep 17 00:00:00 2001 From: Krzysztof Richert Date: Tue, 5 Apr 2022 16:38:39 +0200 Subject: 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 --- include/uapi/linux/peci-ioctl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 -- cgit v1.2.3