git: 3550c47a96b5 - main - Revert "scmi: Redefine max message payload size"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Jun 2025 15:45:57 UTC
The branch main has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=3550c47a96b5cc6ab07fca7fdfbd9043f12f58c2
commit 3550c47a96b5cc6ab07fca7fdfbd9043f12f58c2
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2025-06-09 13:21:49 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2025-06-04 01:32:39 +0000
Revert "scmi: Redefine max message payload size"
Revert to reapply series as some patches were incorrect versions
This reverts commit f0216239492579022982d94e04090f1333fee5a5.
---
sys/dev/firmware/arm/scmi.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/dev/firmware/arm/scmi.h b/sys/dev/firmware/arm/scmi.h
index 73b49f099ad8..5ad7b0db3f5f 100644
--- a/sys/dev/firmware/arm/scmi.h
+++ b/sys/dev/firmware/arm/scmi.h
@@ -36,8 +36,8 @@
#define SCMI_MAX_MSG 32
#define SCMI_MAX_MSG_PAYLD_SIZE 128
-#define SCMI_MAX_MSG_REPLY_SIZE (SCMI_MAX_MSG_PAYLD_SIZE + sizeof(uint32_t))
-#define SCMI_MAX_MSG_SIZE (SCMI_MAX_MSG_REPLY_SIZE + sizeof(uint32_t))
+#define SCMI_MAX_MSG_REPLY_SIZE (SCMI_MAX_MSG_PAYLD_SIZE - sizeof(uint32_t))
+#define SCMI_MAX_MSG_SIZE (SCMI_MAX_MSG_PAYLD_SIZE + sizeof(uint32_t))
enum scmi_chan {
SCMI_CHAN_A2P,