Skip to content

firmware: xilinx: Feature check improvements

Jay Buddhabhatti linux-arm-kernel lkml 1 version Applied

Status from this message: applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2firmware: xilinx: Use TF-A feature check for TF-A-specific APIsdrivers/firmware/xilinx/zynqmp.c+15 -100 replies
2/2firmware: xilinx: Propagate actual error from feature checkdrivers/firmware/xilinx/zynqmp.c+2 -40 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRadhey Shyam PandeyPrasanna Kumar T S M
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] firmware: xilinx: Feature check improvements

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(-)
Signature · 1 line
2.34.1