Lines Matching refs:payload

25 static u64 arm_spe_calc_ip(int index, u64 payload)  in arm_spe_calc_ip()  argument
32 ns = SPE_ADDR_PKT_GET_NS(payload); in arm_spe_calc_ip()
33 el = SPE_ADDR_PKT_GET_EL(payload); in arm_spe_calc_ip()
36 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_calc_ip()
40 payload |= 0xffULL << SPE_ADDR_PKT_ADDR_BYTE7_SHIFT; in arm_spe_calc_ip()
46 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_calc_ip()
62 val = SPE_ADDR_PKT_ADDR_GET_BYTE_6(payload); in arm_spe_calc_ip()
64 payload |= 0xffULL << SPE_ADDR_PKT_ADDR_BYTE7_SHIFT; in arm_spe_calc_ip()
69 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_calc_ip()
78 return payload; in arm_spe_calc_ip()
155 u64 payload, ip; in arm_spe_read_record() local
166 payload = decoder->packet.payload; in arm_spe_read_record()
170 decoder->record.timestamp = payload; in arm_spe_read_record()
175 ip = arm_spe_calc_ip(idx, payload); in arm_spe_read_record()
187 decoder->record.latency = payload; in arm_spe_read_record()
190 decoder->record.context_id = payload; in arm_spe_read_record()
196 if (payload & SPE_OP_PKT_ST) in arm_spe_read_record()
200 if (SPE_OP_PKT_IS_LDST_SVE(payload)) in arm_spe_read_record()
205 if (SPE_OP_PKT_IS_OTHER_SVE_OP(payload)) in arm_spe_read_record()
217 if (payload & BIT(EV_L1D_REFILL)) in arm_spe_read_record()
220 if (payload & BIT(EV_L1D_ACCESS)) in arm_spe_read_record()
223 if (payload & BIT(EV_TLB_WALK)) in arm_spe_read_record()
226 if (payload & BIT(EV_TLB_ACCESS)) in arm_spe_read_record()
229 if (payload & BIT(EV_LLC_MISS)) in arm_spe_read_record()
232 if (payload & BIT(EV_LLC_ACCESS)) in arm_spe_read_record()
235 if (payload & BIT(EV_REMOTE_ACCESS)) in arm_spe_read_record()
238 if (payload & BIT(EV_MISPRED)) in arm_spe_read_record()
241 if (payload & BIT(EV_PARTIAL_PREDICATE)) in arm_spe_read_record()
244 if (payload & BIT(EV_EMPTY_PREDICATE)) in arm_spe_read_record()
249 decoder->record.source = payload; in arm_spe_read_record()