These two patches resolve signed 32-bit integer truncation bugs in
the segment dump and address translation callbacks of the ADSP and
PAS remoteproc drivers, using unsigned size_t offsets and explicit
comparison-based bounds checking.
Signed-off-by: Anup Vishwakarma <anup.vishwakarma@oss.qualcomm.com>
---
Anup Vishwakarma (2):
remoteproc: qcom_q6v5_pas: Fix 64-bit address truncation in dump and translation
remoteproc: qcom_q6v5_adsp: Fix 64-bit address truncation in translation
drivers/remoteproc/qcom_q6v5_adsp.c | 7 +++++--
drivers/remoteproc/qcom_q6v5_pas.c | 22 +++++++++++++++++-----
2 files changed, 22 insertions(+), 7 deletions(-)
---
base-commit: 5c4d4169604b335c38bbc79bc1fc03042981fc6f
change-id: 20260921-b4-q6v5_address_truncation_fixes_upstream-dc59f0579896
Best regards,
--
Anup Vishwakarma <anup.vishwakarma@oss.qualcomm.com>