OSDN Git Service

arm/ast2600: Fix SMP booting with -kernel
authorJoel Stanley <joel@jms.id.au>
Tue, 9 Mar 2021 11:01:27 +0000 (12:01 +0100)
committerCédric Le Goater <clg@kaod.org>
Tue, 9 Mar 2021 11:01:27 +0000 (12:01 +0100)
commita4ea92013d265f636d71b58408b67dbecd679d1d
tree8988fb80d203958a9333e20a58b5a4705f374afb
parent229a834518b950d56fd1bc94923276504d0ee9d4
arm/ast2600: Fix SMP booting with -kernel

The ast2600 machines do not have PSCI firmware, so this property should
have never been set. Removing this node fixes SMP booting Linux kernels
that have PSCI enabled, as Linux fails to find PSCI in the device tree
and falls back to the soc-specific method for enabling secondary CPUs.

The comment is out of date as Qemu has supported -kernel booting since
9bb6d14081ce ("aspeed: Add boot stub for smp booting"), in v5.1.

Fixes: f25c0ae1079d ("aspeed/soc: Add AST2600 support")
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20210303010505.635621-1-joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/arm/aspeed_ast2600.c