qemu/aarch64/plat_helpers.S : calculate the position shiftRather than re-create this file in multiple qemu variants insteadcaclulate the shift needed to convert MPIDR to position.Add a new PLATF
qemu/aarch64/plat_helpers.S : calculate the position shiftRather than re-create this file in multiple qemu variants insteadcaclulate the shift needed to convert MPIDR to position.Add a new PLATFORM_CPU_PER_CLUSTER_SHIFT define in platform_def.hfor both qemu and qemu_sbsa to enable this calculation.Signed-off-by: Graeme Gregory <graeme@nuviainc.com>Change-Id: I0e3a86354aa716d95150a3a34b15287cd70c8fd2
show more ...
Don't return error information from console_flushAnd from crash_console_flush.We ignore the error information return by console_flush in _every_place where we call it, and casting the return typ
Don't return error information from console_flushAnd from crash_console_flush.We ignore the error information return by console_flush in _every_place where we call it, and casting the return type to void does notwork around the MISRA violation that this causes. Instead, we collectthe error information from the driver (to avoid changing that API), anddon't return it to the caller.Change-Id: I1e35afe01764d5c8f0efd04f8949d333ffb688c1Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com>
qemu: Implement PSCI_CPU_OFF.This is based on the rpi implementation fromhttps://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/2746.Signed-off-by: Andrew Walbran <qwandor@google.com>Ch
qemu: Implement PSCI_CPU_OFF.This is based on the rpi implementation fromhttps://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/2746.Signed-off-by: Andrew Walbran <qwandor@google.com>Change-Id: I5fe324fcd9d5e232091e01267ea12147c46bc9c1
qemu: introducing sub-platforms to qemu platformThis commit change the plat/qemu directory structure into:`-- plat `-- qemu |-- common (files shared with all qemu subplatforms)
qemu: introducing sub-platforms to qemu platformThis commit change the plat/qemu directory structure into:`-- plat `-- qemu |-- common (files shared with all qemu subplatforms) |-- qemu (original qemu platform) |-- qemu_sbsa (new sqemu_sbsa platform) |-- subplat1 `-- subplat2This opens the possibility of adding new qemu sub-platforms which reuseexisting common platform code. The first platform which will leverage newstructure will be SBSA platform.Signed-off-by: Radoslaw Biernacki <radoslaw.biernacki@linaro.org>Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>Change-Id: Id0d8133e1fffc1b574b69aa2770ebc02bb837a9b