]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firmware: arm_ffa: Fix big-endian support in __ffa_partition_info_get()
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 17 Feb 2025 15:38:45 +0000 (15:38 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 17 Feb 2025 15:42:03 +0000 (15:42 +0000)
commitf94ebb72406779637dbdb2c192a5e99f43375036
tree2817b50909b94cf49ce0d02dab9b7617415e744e
parent8768972cbbeacd673f09dc1f8e198e03ccfa9f52
firmware: arm_ffa: Fix big-endian support in __ffa_partition_info_get()

Currently the FF-A driver doesn't support big-endian correctly. It is
hard to regularly test the setup due to lack of test infrastructure and
tools.

In order to support full stack, we need to take small steps in getting
the support for big-endian kernel added slowly. This change fixes the
support in __ffa_partition_info_get() so that the response from the
firmware are converted correctly as required. With this change, we can
enumerate all the FF-A devices correctly in the big-endian kernel.

Tested-by: Viresh Kumar <viresh.kumar@linaro.org>
Message-Id: <20250217-ffa_updates-v3-4-bd1d9de615e7@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_ffa/driver.c