Lines Matching +full:full +full:- +full:bit

1 /* SPDX-License-Identifier: GPL-2.0 */
142 /* Steal the highest bit of pebs_data_cfg for SW usage */
156 unsigned int full; member
169 unsigned int full; member
180 unsigned int full; member
199 /* Deep C-state Reset */
204 unsigned int full; member
213 /* Call-stack Mode Supported */
216 unsigned int full; member
221 /* Mispredict Bit Supported */
231 unsigned int full; member
249 unsigned int full; member
264 * Fixed-purpose performance events:
272 * All the fixed-mode PMCs are configured via this single MSR:
277 * There is no event-code assigned to the fixed-mode PMCs.
279 * For a fixed-mode PMC, which has an equivalent event on a general-purpose
280 * PMC, the event-code of the equivalent event is used for the fixed-mode PMC,
283 * For a fixed-mode PMC, which doesn't have an equivalent event, a
284 * pseudo-encoding is used, e.g., CPU_CLK_Unhalted.Ref and TOPDOWN.SLOTS.
285 * The pseudo event-code for a fixed-mode PMC must be 0x00.
286 * The pseudo umask-code is 0xX. The X equals the index of the fixed
287 * counter + 1, e.g., the fixed counter 2 has the pseudo-encoding 0x0300.
300 /* CPU_CLK_Unhalted.Ref: event=0x00,umask=0x3 (pseudo-encoding) */
305 /* TOPDOWN.SLOTS: event=0x00,umask=0x4 (pseudo-encoding) */
316 * We model BTS tracing as another fixed-mode PMC.
325 * The PERF_METRICS MSR is modeled as several magic fixed-mode PMCs, one for
344 * There is no event-code assigned to the TopDown events.
348 * For the metric events, the pseudo event-code is 0x00.
349 * The pseudo umask-code starts from the middle of the pseudo event
369 return (unsigned)(idx - INTEL_PMC_IDX_METRIC_BASE) < INTEL_TD_METRIC_NUM; in is_metric_idx()
377 #define INTEL_PMC_OTHER_TOPDOWN_BITS(bit) \ argument
378 (~(0x1ull << bit) & INTEL_PMC_MSK_TOPDOWN)
394 * We model guest LBR event tracing as another fixed-mode PMC like BTS.
396 * We choose bit 58 because it's used to indicate LBR stack frozen state
397 * for architectural perfmon v4, also we unconditionally mask that bit in
407 * Pseudo-encoding the guest LBR event as event=0x00,umask=0x1b,
408 * since it would claim bit 58 which is effectively Fixed26.
451 * Same bit mask as for IBS cpuid feature flags (Fn8000_001B_EAX), but
452 * bit 0 is used to indicate the existence of IBS.
498 #define IBS_OP_MAX_CNT_EXT 0x007FFFFFULL /* not a register bit mask */
507 static inline int forward_event_to_ibs(struct perf_event *event) { return -ENOENT; } in forward_event_to_ibs()
518 * EXACT - the IP points to the exact instruction that triggered the
520 * VM - original X86_VM_MASK; see set_linear_ip().
538 * We abuse bit 3 from flags to pass exact information, see perf_misc_flags
542 (regs)->ip = (__ip); \
543 (regs)->sp = (unsigned long)__builtin_frame_address(0); \
544 (regs)->cs = __KERNEL_CS; \
545 regs->flags = 0; \