[PATCH 0/2] firmware: xilinx: Feature check improvements
Michal Simek
michal.simek at amd.com
Thu Aug 6 06:18:23 PDT 2026
On 7/24/26 11:53, Jay Buddhabhatti wrote:
> This series contains two independent improvements to the feature check
> logic in the Xilinx firmware driver:
>
> 1. Use the TF-A dedicated PM_API_FEATURES mechanism to validate
> TF-A-specific APIs instead of routing them through PM_FEATURE_CHECK.
> Falls back to the legacy PM_FEATURE_CHECK for backward
> compatibility.
>
> 2. When do_fw_call() fails in the feature check path, propagate the
> actual errno from zynqmp_pm_ret_code() instead of always returning
> -EOPNOTSUPP.
>
> These were previously part of the kexec cleanup series
> ([PATCH 0/4] firmware: xilinx: Clean up firmware and TF-A state on kexec)
> as patch 4/4 but are split out as they are general improvements independent
> of the kexec functionality.
>
> Jay Buddhabhatti (2):
> firmware: xilinx: Use TF-A feature check for TF-A-specific APIs
> firmware: xilinx: Propagate actual error from feature check
>
> drivers/firmware/xilinx/zynqmp.c | 31 +++++++++++++++++--------------
> 1 file changed, 17 insertions(+), 14 deletions(-)
>
applied.
M
More information about the linux-arm-kernel
mailing list