Skip to contentSkip to conversation

arch: arm: mach-socfpga: Change U-Boot mailbox client ID

PATCH In review [email protected] 2 participants 2 messages Feb 25 – Apr 13

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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
index 1a461de4819..0025ea2dbab 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
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]>
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 -2
index 1a461de4819..0025ea2dbab 100644
@@ -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