arch: arm: mach-socfpga: Change U-Boot mailbox client ID
Subsystems (3)
PATCH 1/1 arch: arm: mach-socfpga: Change U-Boot mailbox client ID
From: Dinesh Maniyam <[email protected]>
Changed MBOX_CLIENT_ID_UBOOT to be the same with ATF's mailbox client ID so that SDM can treat them as same client for related request. Otherwise, under some specific cases, like QSPI_OPEN in SPL stage used different client ID with ATF's client ID for QSPI exclusive access, then following QSPI access like QSPI_CLOSE via SMC call to ATF will fail.
--- arch/arm/mach-socfpga/include/mach/mailbox_s10.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-socfpga/include/mach/mailbox_s10.h +1 -1
@@ -10,7 +10,7 @@/* user define Uboot ID */ #include <linux/bitfield.h> #include <linux/bitops.h> -#define MBOX_CLIENT_ID_UBOOT 0xB +#define MBOX_CLIENT_ID_UBOOT 0x1#define MBOX_ID_UBOOT 0x1#define MBOX_CMD_DIRECT 0
Signature · 1 line
2.43.7
Quoted 35 lines
---> From: Maniyam, Dinesh <[email protected]>
Sent: Wednesday, February 25, 2026 12:32 PM
To: [email protected] <[email protected]>
Cc: Marek Vasut <[email protected]>; Simon Goldschmidt <[email protected]>; Tom Rini <[email protected]>; Chee, Tien Fong <[email protected]>; Hea, Kok Kiang <[email protected]>; Maniyam, Dinesh <[email protected]>; Ng, Boon Khai <[email protected]>; Yuslaimi, Alif Zakuan <[email protected]>
Subject: [PATCH] arch: arm: mach-socfpga: Change U-Boot mailbox client ID
From: Dinesh Maniyam <[email protected]>
ChangedMBOX_CLIENT_ID_UBOOTto be the same with ATF's mailbox client ID so that SDM can treat them as same client for related request. Otherwise, under some specific cases, likeQSPI_OPENin SPL stage used different client ID with ATF's client ID for QSPI exclusive access, then following QSPI access likeQSPI_CLOSEvia SMC call to ATF will fail.Signed-off-by Dinesh Maniyam <[email protected]>---
arch/arm/mach-socfpga/include/mach/mailbox_s10.h | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-socfpga/include/mach/mailbox_s10.h +1
-2@@ -10,7 +10,7 @@ /* user define Uboot ID */ #include <linux/bitfield.h> #include <linux/bitops.h> -#define MBOX_CLIENT_ID_UBOOT 0xB +#define MBOX_CLIENT_ID_UBOOT 0x1 #define MBOX_ID_UBOOT 0x1 #define MBOX_CMD_DIRECT 0 --
Quoted 1 line
2.43.7
Best regards,
Tien Fong