summaryrefslogtreecommitdiffstats
path: root/commands/global.c
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2019-11-15 08:52:56 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-19 11:57:25 +0100
commit301893f3a91335e0fa569909cded5b56900ae1cb (patch)
tree8c4e075aaf5e02271901653a814f9b93605bfb96 /commands/global.c
parentc227eac51a8a0132ffcc9851072eb165e1eb7e14 (diff)
downloadbarebox-301893f3a91335e0fa569909cded5b56900ae1cb.tar.gz
barebox-301893f3a91335e0fa569909cded5b56900ae1cb.tar.xz
commands: smc: verify PSCI_POWER_ON with interprocessor handshake
The use of psci_printf here, at least for the phytec-phycore-imx7, is racy, because access to the UART is not synchronized. This may lead to characters being swallowed and most certainly to garbled text. One way around this would be using separate UART ports for each core or even more generically, just dropping psci_printf and resorting to inter-core communication over shared-memory to check whether code execution succeeded. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/global.c')
0 files changed, 0 insertions, 0 deletions