mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] firmware: xilinx: Feature check improvements
@ 2026-07-24  9:53 Jay Buddhabhatti
  2026-07-24  9:53 ` [PATCH 1/2] firmware: xilinx: Use TF-A feature check for TF-A-specific APIs Jay Buddhabhatti
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jay Buddhabhatti @ 2026-07-24  9:53 UTC (permalink / raw)
  To: michal.simek
  Cc: linux-arm-kernel, linux-kernel, ptsm, radhey.shyam.pandey,
	Jay Buddhabhatti

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-06 13:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-24  9:53 [PATCH 0/2] firmware: xilinx: Feature check improvements Jay Buddhabhatti
2026-07-24  9:53 ` [PATCH 1/2] firmware: xilinx: Use TF-A feature check for TF-A-specific APIs Jay Buddhabhatti
2026-07-24  9:53 ` [PATCH 2/2] firmware: xilinx: Propagate actual error from feature check Jay Buddhabhatti
2026-08-06 13:18 ` [PATCH 0/2] firmware: xilinx: Feature check improvements Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®