]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firmware: arm_ffa: Treat missing FF-A feature on a platform as a probe miss
authorSudeep Holla <sudeep.holla@kernel.org>
Tue, 26 May 2026 10:36:49 +0000 (11:36 +0100)
committerSudeep Holla <sudeep.holla@kernel.org>
Wed, 27 May 2026 09:14:23 +0000 (10:14 +0100)
commit18706ea68fc4344049bf693b702cb311a7c27ca7
treeb19f20c5df0f79e33c94b1a0e9d1de8a864f893a
parent70492cfce2a4d41e87bf46989028a90f4bc6b38f
firmware: arm_ffa: Treat missing FF-A feature on a platform as a probe miss

When FF-A initialisation is driven from a platform device probe, systems
that do not implement FF-A can return -EOPNOTSUPP from the early transport
or version discovery paths. Driver core treats that as a matched probe
failure and prints:

  |  arm-ffa arm-ffa: probe with driver arm-ffa failed with error -95

That is noisy for a firmware interface that can be absent on otherwise
valid systems. Driver core already treats -ENODEV and -ENXIO as quiet
rejected matches, so translate only the early unsupported discovery cases
to -ENODEV. Keep later setup failures unchanged so real FF-A
initialisation problems are still reported as probe failures.

Reported-by: Nathan Chancellor <nathan@kernel.org>
Closes: https://lore.kernel.org/all/20260523001148.GA1319283@ax162
Reviewed-by: Yeoreum Yun <yeoreum.yun@arm.com>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20260526103649.5684-1-sudeep.holla@kernel.org
Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
drivers/firmware/arm_ffa/driver.c