[PATCH 5.4 018/224] perf: arm_spe: Prevent overflow in PERF_IDX2OFF()