Skip to content
Commit 21365f50 authored by James Morse's avatar James Morse
Browse files

drivers: firmware: psci: Fix the expected return code from remove_cpu()



The PSCI checker disables CPUs in order to check the PSCI implementation.
One of its fun tricks, is to disable the only running CPU in the system,
this is expected to fail.

Since commit 93ef1429 ("cpu/hotplug: Add new {add,remove}_cpu()
functions"), the return code seen by this path can also be -EPERM from
offline_device(). psci_checker prints an error about an unexpected
return code in this case.

Fix the expected return code.

Fixes: 93ef1429 ("cpu/hotplug: Add new {add,remove}_cpu() functions")
Signed-off-by: James Morse's avatarJames Morse <james.morse@arm.com>
parent dd7bb9d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment