Files
opensbi/lib/utils/mpxy
Oza Pawandeep bd873ab56a lib: utils: mpxy: Fix RPMI service ID lookup
mpxy_find_rpmi_srvid() incorrectly used the current service ID to
control iteration through the service table. This could stop the
search prematurely or read beyond the table.

Bound the search using num_services so every registered service is
checked without accessing entries past the end of the array.

Fixes: c5a8b15e39 ("lib: utils/mpxy: Add RPMI client driver for MPXY")
Reviewed-by: Rahul Pathak <rahul.pathak@oss.qualcomm.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Oza Pawandeep <pawandeep.oza@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20261118215549.2499040-7-pawandeep.oza@oss.qualcomm.com
Signed-off-by: Anup Patel <anup@brainfault.org>
2026-11-19 18:22:27 +05:30
..