]> git.baikalelectronics.ru Git - arm-tf.git/commit
qemu: fix holding pen mailbox sequence
authorEtienne Carriere <etienne.carriere@linaro.org>
Mon, 23 Oct 2017 23:09:52 +0000 (01:09 +0200)
committerEtienne Carriere <etienne.carriere@linaro.org>
Tue, 24 Oct 2017 11:57:36 +0000 (13:57 +0200)
commit33dd33f8f0ce347209adae1044291e037ab2a0e1
treebbf4f4b3db9545478a5002d101c06c4f39c36e78
parent3b39efa49d9949c80b6e76b99829f84619b46110
qemu: fix holding pen mailbox sequence

Before this change, plat_secondary_cold_boot_setup reads wake up mailbox
as a byte array but through 64bit accesses on unaligned 64bit addresses.
In the other hand qemu_pwr_domain_on wakes secondary cores by writing
into a 64bit array.

This change forces the 64bit mailbox format as PLAT_QEMU_HOLD_ENTRY_SIZE
explicitly specifies it.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
plat/qemu/aarch64/plat_helpers.S
plat/qemu/include/platform_def.h