sst-linux/arch/x86
Peter Zijlstra (Intel) 0a416b4c53 perf/x86/intel: Apply static call for drain_pebs
commit 314dfe10576912e1d786b13c5d4eee8c51b63caa upstream.

The x86_pmu_drain_pebs static call was introduced in commit 7c9903c9bf
("x86/perf, static_call: Optimize x86_pmu methods"), but it's not really
used to replace the old method.

Apply the static call for drain_pebs.

Fixes: 7c9903c9bf ("x86/perf, static_call: Optimize x86_pmu methods")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20250121152303.3128733-1-kan.liang@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-04-10 14:33:42 +02:00
..
boot x86/boot: Use '-std=gnu11' to fix build with GCC 15 2025-02-21 13:49:46 +01:00
coco x86/tdx: Fix "in-kernel MMIO" check 2024-10-17 15:21:29 +02:00
configs
crypto crypto: x86/aegis128 - access 32-bit arguments as 32-bit 2024-12-14 19:53:58 +01:00
entry x86/entry: Fix ORC unwinder for PUSH_REGS with save_ret=1 2025-04-10 14:33:35 +02:00
events perf/x86/intel: Apply static call for drain_pebs 2025-04-10 14:33:42 +02:00
hyperv
ia32
include x86/speculation: Add __update_spec_ctrl() helper 2025-03-13 12:53:11 +01:00
kernel x86/sgx: Warn explicitly if X86_FEATURE_SGX_LC is not enabled 2025-04-10 14:33:39 +02:00
kvm KVM: SVM: Drop DEBUGCTL[5:2] from guest's effective value 2025-03-13 12:53:21 +01:00
lib x86/kmsan: Fix hook for unaligned accesses 2024-09-12 11:10:19 +02:00
math-emu
mm x86/sev: Add missing RIP_REL_REF() invocations during sme_enable() 2025-04-10 14:33:30 +02:00
net bpf, x64: Fix a jit convergence issue 2024-10-17 15:22:13 +02:00
pci PCI: Detect and trust built-in Thunderbolt chips 2024-12-14 19:54:47 +01:00
platform x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos 2024-08-03 08:48:54 +02:00
power
purgatory x86/purgatory: Switch to the position-independent small code model 2024-06-12 11:03:12 +02:00
ras
realmode
tools x86/boot: Ignore relocations in .notes sections in walk_relocs() too 2024-06-12 11:03:07 +02:00
um um: Fix the -Wmissing-prototypes warning for get_thread_reg 2024-06-12 11:03:47 +02:00
video
virt/vmx/tdx
xen Grab mm lock before grabbing pt lock 2025-02-21 13:49:59 +01:00
.gitignore
Kbuild
Kconfig x86/platform: Only allow CONFIG_EISA for 32-bit 2025-04-10 14:33:30 +02:00
Kconfig.assembler
Kconfig.cpu
Kconfig.debug x86/kconfig: Select ARCH_WANT_FRAME_POINTERS again when UNWINDER_FRAME_POINTER=y 2024-06-12 11:03:50 +02:00
Makefile
Makefile_32.cpu
Makefile.um