On 10/7/2025 4:12 PM, Youssef Samir wrote:
From: Youssef Samir <quic_yabdu...@quicinc.com>

struct qaic_perf_stats is defined to have a DBC specified in the header,
followed by struct qaic_perf_stats_entry instances, each pointing to a BO
that is associated with the DBC. Currently, qaic_perf_stats_bo_ioctl() does
not check if the entries belong to the DBC specified in the header.
Therefore, add checks to ensure that each entry in the request is sliced
and belongs to hdr.dbc_id.

Co-developed-by: Carl Vanderlip <carl.vander...@oss.qualcomm.com>
Signed-off-by: Carl Vanderlip <carl.vander...@oss.qualcomm.com>
Signed-off-by: Youssef Samir <quic_yabdu...@quicinc.com>
Signed-off-by: Youssef Samir <youssef.abdulrah...@oss.qualcomm.com>

Reviewed-by: Jeff Hugo <jeff.h...@oss.qualcomm.com>

Reply via email to