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

Mukesh Ojha posted 3 patches 11 hours ago
drivers/firmware/qcom/qcom_scm-smc.c |  2 +-
drivers/firmware/qcom/qcom_scm.c     | 42 ++++++++++++++++------------
drivers/firmware/qcom/qcom_scm.h     |  2 +-
drivers/firmware/qcom/qcom_tzmem.c   | 13 ++++++---
4 files changed, 35 insertions(+), 24 deletions(-)
[PATCH v4 0/3] Misc. SCM driver fixes
Posted by Mukesh Ojha 11 hours ago
Some of the existing issue reported by Sasiko mentioned here

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

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

and the series is about addressing them.


Changes in v4:
 - Rebased it on next-20260723

Changes in v3: https://lore.kernel.org/lkml/20260629141750.996853-1-mukesh.ojha@oss.qualcomm.com/
 - Added R-b tag.
 - Address review comment on ret = dev_err_probe(..);
 - will follow up devm_of_reserved_mem_device_init_by_idx()
    as a separate series.

Changes in v2: https://lore.kernel.org/lkml/20260625093644.3918184-1-mukesh.ojha@oss.qualcomm.com/
 - 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     | 42 ++++++++++++++++------------
 drivers/firmware/qcom/qcom_scm.h     |  2 +-
 drivers/firmware/qcom/qcom_tzmem.c   | 13 ++++++---
 4 files changed, 35 insertions(+), 24 deletions(-)

-- 
2.53.0