[PATCH v2 0/3] Misc. SCM driver fixes

From: Mukesh Ojha

Date: Mon Jun 29 2026 - 10:21:32 EST


Some of the existing issue reported by Sasiko mentioned here

https://lore.kernel.org/all/20260624192213.C82691F000E9@xxxxxxxxxxxxxxx/

https://lore.kernel.org/all/20260624192418.92B761F000E9@xxxxxxxxxxxxxxx/

and the series is about addressing them.


Changes in v2: https://lore.kernel.org/lkml/20260625093644.3918184-1-mukesh.ojha@xxxxxxxxxxxxxxxx/
- Separated the fixes(2/3, 3/3) as per review.
- Added 1/3 as new patch.

Mukesh Ojha (3):
firmware: qcom: scm: Fix NULL dereference in IRQ handler before __scm
is published
firmware: qcom: scm: Fix reserved memory cleanup on probe failure
firmware: qcom: scm: Fix tzmem state on probe retry

drivers/firmware/qcom/qcom_scm-smc.c | 2 +-
drivers/firmware/qcom/qcom_scm.c | 43 ++++++++++++++++------------
drivers/firmware/qcom/qcom_scm.h | 2 +-
drivers/firmware/qcom/qcom_tzmem.c | 13 ++++++---
4 files changed, 36 insertions(+), 24 deletions(-)

--
2.53.0