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

Jay Buddhabhatti posted 2 patches 11 hours ago
drivers/firmware/xilinx/zynqmp.c | 31 +++++++++++++++++--------------
1 file changed, 17 insertions(+), 14 deletions(-)
[PATCH 0/2] firmware: xilinx: Feature check improvements
Posted by Jay Buddhabhatti 11 hours ago
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(-)

-- 
2.34.1