Lines Matching +full:3 +full:d

42 	{8, {0x02, 0xa3, 3}, 0, {INTEL_PT_TNT, 1, 0x1a302ULL << 47}, 0, 0 },
47 {3, {0x2d, 1, 2}, 0, {INTEL_PT_TIP, 1, 0x201}, 0, 0 },
48 {5, {0x4d, 1, 2, 3, 4}, 0, {INTEL_PT_TIP, 2, 0x4030201}, 0, 0 },
49 {7, {0x6d, 1, 2, 3, 4, 5, 6}, 0, {INTEL_PT_TIP, 3, 0x60504030201}, 0, 0 },
50 {7, {0x8d, 1, 2, 3, 4, 5, 6}, 0, {INTEL_PT_TIP, 4, 0x60504030201}, 0, 0 },
51 {9, {0xcd, 1, 2, 3, 4, 5, 6, 7, 8}, 0, {INTEL_PT_TIP, 6, 0x807060504030201}, 0, 0 },
54 {3, {0x31, 1, 2}, 0, {INTEL_PT_TIP_PGE, 1, 0x201}, 0, 0 },
55 {5, {0x51, 1, 2, 3, 4}, 0, {INTEL_PT_TIP_PGE, 2, 0x4030201}, 0, 0 },
56 {7, {0x71, 1, 2, 3, 4, 5, 6}, 0, {INTEL_PT_TIP_PGE, 3, 0x60504030201}, 0, 0 },
57 {7, {0x91, 1, 2, 3, 4, 5, 6}, 0, {INTEL_PT_TIP_PGE, 4, 0x60504030201}, 0, 0 },
58 {9, {0xd1, 1, 2, 3, 4, 5, 6, 7, 8}, 0, {INTEL_PT_TIP_PGE, 6, 0x807060504030201}, 0, 0 },
61 {3, {0x21, 1, 2}, 0, {INTEL_PT_TIP_PGD, 1, 0x201}, 0, 0 },
62 {5, {0x41, 1, 2, 3, 4}, 0, {INTEL_PT_TIP_PGD, 2, 0x4030201}, 0, 0 },
63 {7, {0x61, 1, 2, 3, 4, 5, 6}, 0, {INTEL_PT_TIP_PGD, 3, 0x60504030201}, 0, 0 },
64 {7, {0x81, 1, 2, 3, 4, 5, 6}, 0, {INTEL_PT_TIP_PGD, 4, 0x60504030201}, 0, 0 },
65 {9, {0xc1, 1, 2, 3, 4, 5, 6, 7, 8}, 0, {INTEL_PT_TIP_PGD, 6, 0x807060504030201}, 0, 0 },
68 {3, {0x3d, 1, 2}, 0, {INTEL_PT_FUP, 1, 0x201}, 0, 0 },
69 {5, {0x5d, 1, 2, 3, 4}, 0, {INTEL_PT_FUP, 2, 0x4030201}, 0, 0 },
70 {7, {0x7d, 1, 2, 3, 4, 5, 6}, 0, {INTEL_PT_FUP, 3, 0x60504030201}, 0, 0 },
71 {7, {0x9d, 1, 2, 3, 4, 5, 6}, 0, {INTEL_PT_FUP, 4, 0x60504030201}, 0, 0 },
72 {9, {0xdd, 1, 2, 3, 4, 5, 6, 7, 8}, 0, {INTEL_PT_FUP, 6, 0x807060504030201}, 0, 0 },
75 {8, {0x02, 0x43, 3, 4, 6, 8, 10, 12}, 0, {INTEL_PT_PIP, 0, 0xC0A08060403}, 0, 0 },
92 {8, {0x19, 1, 2, 3, 4, 5, 6, 7}, 0, {INTEL_PT_TSC, 0, 0x7060504030201}, 0, 1 },
106 {3, {0x07, 1, 2}, 0, {INTEL_PT_CYC, 0, 0x1000}, 0, 1 },
107 {3, {0xff, 0xff, 0xfe}, 0, {INTEL_PT_CYC, 0, 0x7ffff}, 0, 1 },
123 {7, {0x02, 0xc8, 1, 2, 3, 4, 5}, 0, {INTEL_PT_VMCS, 5, 0x504030201}, 0, 0 },
135 {11, {0x02, 0xc3, 0x88, 1, 2, 3, 4, 5, 6, 7}, 0, {INTEL_PT_MNT, 0, 0x7060504030201}, 0, 1 },
137 {6, {0x02, 0x12, 1, 2, 3, 4}, 0, {INTEL_PT_PTWRITE, 0, 0x4030201}, 0, 0 },
138 {10, {0x02, 0x32, 1, 2, 3, 4, 5, 6, 7, 8}, 0, {INTEL_PT_PTWRITE, 1, 0x807060504030201}, 0, 0 },
139 {6, {0x02, 0x92, 1, 2, 3, 4}, 0, {INTEL_PT_PTWRITE_IP, 0, 0x4030201}, 0, 0 },
140 {10, {0x02, 0xb2, 1, 2, 3, 4, 5, 6, 7, 8}, 0, {INTEL_PT_PTWRITE_IP, 1, 0x807060504030201}, 0, 0 },
146 {10, {0x02, 0xc2, 1, 2, 3, 4, 5, 6, 7, 8}, 0, {INTEL_PT_MWAIT, 0, 0x807060504030201}, 0, 0 },
147 {10, {0x02, 0xc2, 0xff, 2, 3, 4, 7, 6, 7, 8}, 0, {INTEL_PT_MWAIT, 0, 0x8070607040302ff}, 0, 0 },
155 {7, {0x02, 0xa2, 1, 2, 3, 4, 5}, 0, {INTEL_PT_PWRX, 0, 0x504030201}, 0, 1 },
158 {3, {0x02, 0x63, 0x00}, 0, {INTEL_PT_BBP, 0, 0}, INTEL_PT_BLK_8_CTX, 0 },
159 {3, {0x02, 0x63, 0x80}, 0, {INTEL_PT_BBP, 1, 0}, INTEL_PT_BLK_4_CTX, 0 },
160 {3, {0x02, 0x63, 0x1f}, 0, {INTEL_PT_BBP, 0, 0x1f}, INTEL_PT_BLK_8_CTX, 0 },
161 {3, {0x02, 0x63, 0x9f}, 0, {INTEL_PT_BBP, 1, 0x1f}, INTEL_PT_BLK_4_CTX, 0 },
165 {5, {0x04, 1, 2, 3, 4}, INTEL_PT_BLK_4_CTX, {INTEL_PT_BIP, 0, 0x04030201}, INTEL_PT_BLK_4_CTX, 0 },
166 …{5, {0xfc, 1, 2, 3, 4}, INTEL_PT_BLK_4_CTX, {INTEL_PT_BIP, 0x1f, 0x04030201}, INTEL_PT_BLK_4_CTX, …
170 …{9, {0x04, 1, 2, 3, 4, 5, 6, 7, 8}, INTEL_PT_BLK_8_CTX, {INTEL_PT_BIP, 0, 0x0807060504030201}, INT…
171 …{9, {0xfc, 1, 2, 3, 4, 5, 6, 7, 8}, INTEL_PT_BLK_8_CTX, {INTEL_PT_BIP, 0x1f, 0x0807060504030201}, …
178 {4, {0x02, 0x13, 0x01, 0x03}, 0, {INTEL_PT_CFE, 1, 3}, 0, 0 },
179 {4, {0x02, 0x13, 0x81, 0x03}, 0, {INTEL_PT_CFE_IP, 1, 3}, 0, 0 },
183 {11, {0x02, 0x53, 0x09, 1, 2, 3, 4, 5, 6, 7}, 0, {INTEL_PT_EVD, 0x09, 0x7060504030201}, 0, 0 },
184 {11, {0x02, 0x53, 0x3f, 2, 3, 4, 5, 6, 7, 8}, 0, {INTEL_PT_EVD, 0x3f, 0x8070605040302}, 0, 0 },
209 static void decoding_failed(const struct test_data *d) in decoding_failed() argument
213 dump_packet(&d->packet, d->bytes, d->len); in decoding_failed()
216 static int fail(const struct test_data *d, struct intel_pt_pkt *packet, int len, in fail() argument
219 decoding_failed(d); in fail()
221 if (len != d->len) in fail()
222 pr_debug("Expected length: %d Decoded length %d\n", in fail()
223 d->len, len); in fail()
225 if (packet->type != d->packet.type) in fail()
226 pr_debug("Expected type: %d Decoded type %d\n", in fail()
227 d->packet.type, packet->type); in fail()
229 if (packet->count != d->packet.count) in fail()
230 pr_debug("Expected count: %d Decoded count %d\n", in fail()
231 d->packet.count, packet->count); in fail()
233 if (packet->payload != d->packet.payload) in fail()
235 (unsigned long long)d->packet.payload, in fail()
238 if (new_ctx != d->new_ctx) in fail()
239 pr_debug("Expected packet context: %d Decoded packet context %d\n", in fail()
240 d->new_ctx, new_ctx); in fail()
245 static int test_ctx_unchanged(const struct test_data *d, struct intel_pt_pkt *packet, in test_ctx_unchanged() argument
253 decoding_failed(d); in test_ctx_unchanged()
261 static int test_one(const struct test_data *d) in test_one() argument
264 enum intel_pt_pkt_ctx ctx = d->ctx; in test_one()
270 ret = intel_pt_get_packet(d->bytes, d->len, &packet, &ctx); in test_one()
272 decoding_failed(d); in test_one()
273 pr_debug("intel_pt_get_packet returned %d\n", ret); in test_one()
278 if (d->ctx_unchanged) { in test_one()
281 err = test_ctx_unchanged(d, &packet, INTEL_PT_NO_CTX); in test_one()
284 err = test_ctx_unchanged(d, &packet, INTEL_PT_BLK_4_CTX); in test_one()
287 err = test_ctx_unchanged(d, &packet, INTEL_PT_BLK_8_CTX); in test_one()
293 if (ret != d->len || packet.type != d->packet.type || in test_one()
294 packet.count != d->packet.count || in test_one()
295 packet.payload != d->packet.payload || ctx != d->new_ctx) in test_one()
296 return fail(d, &packet, ret, ctx); in test_one()
299 ret = dump_packet(&d->packet, d->bytes, d->len); in test_one()
310 const struct test_data *d = data; in test__intel_pt_pkt_decoder() local
313 for (d = data; d->len; d++) { in test__intel_pt_pkt_decoder()
314 ret = test_one(d); in test__intel_pt_pkt_decoder()
329 pr_debug("sched_setaffinity() failed for CPU %d\n", cpu); in setaffinity()
367 pr_debug("CPU %d CPUID leaf 20 subleaf %d\n", cpu, i); in get_pt_caps()
396 .ecx = GENMASK(3, 0), in compare_caps()
414 pr_debug("CPU %d subleaf %d reg %d FAIL %#x vs %#x\n", in compare_caps()
425 pr_debug("CPU %d subleaf 1 reg 0 FAIL address filter count %#x vs %#x\n", in compare_caps()
431 pr_debug("CPU %d OK\n", cpu); in compare_caps()
456 pr_debug("CPU %d not found\n", cpu); in test__intel_pt_hybrid_compat()
460 pr_debug("CPU %d same caps as previous CPU\n", cpu); in test__intel_pt_hybrid_compat()