[PATCH 5.15 025/276] coresight: trbe: Prevent overflow in PERF_IDX2OFF()