firmware/psci: Fix MEM_PROTECT_RANGE function numbers
authorWill Deacon <will@kernel.org>
Fri, 25 Nov 2022 10:18:26 +0000 (10:18 +0000)
committerWill Deacon <will@kernel.org>
Fri, 6 Jan 2023 17:12:39 +0000 (17:12 +0000)
commitf3dc61cde80d48751999c4cb46daf3b2185e6895
tree42812eb39def6dd813c6d32c14b24142cd9b89e4
parentf26cd7372160da2eba31061d7943348ab9f2c01d
firmware/psci: Fix MEM_PROTECT_RANGE function numbers

PSCI v1.1 offers 32-bit and 64-bit variants of the MEM_PROTECT_RANGE
call using function identifier 20.

Fix the incorrect definitions of the MEM_PROTECT_CHECK_RANGE calls in
the PSCI UAPI header.

Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Fixes: 3137f2e60098 ("firmware/psci: Add debugfs support to ease debugging")
Acked-by: Marc Zyngier <maz@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20221125101826.22404-1-will@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
include/uapi/linux/psci.h