diff options
| author | Ingo Molnar <mingo@kernel.org> | 2026-07-27 11:27:54 +0200 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2026-07-27 11:27:54 +0200 |
| commit | 8757374fd8292424c10199a4a36467338a54bb16 (patch) | |
| tree | 9fd838c8e688a4b72b9aaaa4b15c41fe14a21f98 /drivers/gpu | |
| parent | f5098b6bae761e346ebcd9da7f95622c04733cff (diff) | |
| parent | c364506b98ef947174c1e8554c6861383712e141 (diff) | |
| download | linux-next-8757374fd8292424c10199a4a36467338a54bb16.tar.gz linux-next-8757374fd8292424c10199a4a36467338a54bb16.zip | |
Merge branch into tip/master: 'perf/merge'
# New commits in perf/merge:
3eaa50e1e255 ("x86/cpu: Hide and rename static_cpu_has()")
edda9051e267 ("perf/x86/amd/uncore: Add group validation")
d7ebbae57de3 ("selftests/bpf: Add tests for forked/cloned optimized uprobes")
eccf368562bb ("selftests/bpf: Add tests for uprobe nop10 red zone clobbering")
28d57db3e8d4 ("selftests/bpf: Add reattach tests for uprobe syscall")
b2cf7c41e4f1 ("selftests/bpf: Change uprobe/usdt trigger bench code to use nop10")
ec0596a02083 ("selftests/bpf: Change uprobe syscall tests to use nop10")
6d91200bcbb5 ("selftests/bpf: Emit nop,nop10 instructions combo for x86_64 arch")
8cae54c58608 ("libbpf: Detect uprobe syscall with new error")
ee2862439e5c ("libbpf: Change has_nop_combo to work on top of nop10")
554ba38456da ("uprobes/x86: Move optimized uprobe from nop5 to nop10")
d9a48e77f6fe ("uprobes/x86: Allow to copy uprobe trampolines on fork")
07c308eb2bcf ("uprobes/x86: Do not leak trampoline vma mapping on optimization failure")
38af0dd6a266 ("uprobes/x86: Remove struct uprobe_trampoline object")
a4573a3838ae ("perf/core: Check kernel access when kernel callchains are requested")
166f10836a65 ("perf/core: Fix kernel register info leak via hardware skid")
a6b5fbc33172 ("perf/x86/intel: Drop fixed-counter PEBS constraints for baseline PEBS")
01c153956b44 ("perf/x86/intel: Validate the return value of intel_pmu_init_hybrid()")
e2b0575900ff ("perf/x86/intel: Fix kernel address leakages in LBR stack")
170cc6b02e3d ("perf/x86/intel: Fallback to sw branch type decoding if no hw decoding")
3c4ec9b2a5db ("perf/x86/intel: Keep cap_user_rdpmc in sync with RDPMC user-disable state")
8767b4d73018 ("perf/x86/intel: Remove anythread_deprecated bit from perf_capabilities")
b25813b17944 ("perf/x86/intel/uncore: Implement lazy setup for MSR/MMIO PMUs")
174f0582e38a ("perf/x86/intel/uncore: Fix uncore_box ref/unref ordering")
30c0a1095652 ("perf/x86/intel/uncore: Introduce PMU flags and broken state")
ae7ca8796dda ("perf/x86/intel/uncore: Factor out box setup code")
3012af7df343 ("perf/x86/intel/uncore: Keep PCI PMUs working when MMIO/MSR setup fails")
cbbc25209ce3 ("perf/x86/intel/uncore: Let init_box() callback report failures")
7d3a9ff98898 ("perf/x86/intel/uncore: Fix refcnt and other cleanups")
003267cb94e2 ("perf/x86/intel/uncore: Fix PCI PMU cleanup on setup failure")
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/gpu')
| -rw-r--r-- | drivers/gpu/drm/drm_cache.c | 8 | ||||
| -rw-r--r-- | drivers/gpu/drm/i915/gem/i915_gem_domain.c | 4 | ||||
| -rw-r--r-- | drivers/gpu/drm/i915/i915_memcpy.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/drm/drm_cache.c b/drivers/gpu/drm/drm_cache.c index ea1d2d5d2c66..2eed55b46e29 100644 --- a/drivers/gpu/drm/drm_cache.c +++ b/drivers/gpu/drm/drm_cache.c @@ -88,7 +88,7 @@ drm_clflush_pages(struct page *pages[], unsigned long num_pages) { #if defined(CONFIG_X86) - if (static_cpu_has(X86_FEATURE_CLFLUSH)) { + if (cpu_feature_enabled(X86_FEATURE_CLFLUSH)) { drm_cache_flush_clflush(pages, num_pages); return; } @@ -127,7 +127,7 @@ void drm_clflush_sg(struct sg_table *st) { #if defined(CONFIG_X86) - if (static_cpu_has(X86_FEATURE_CLFLUSH)) { + if (cpu_feature_enabled(X86_FEATURE_CLFLUSH)) { struct sg_page_iter sg_iter; mb(); /*CLFLUSH is ordered only by using memory barriers*/ @@ -157,7 +157,7 @@ void drm_clflush_virt_range(void *addr, unsigned long length) { #if defined(CONFIG_X86) - if (static_cpu_has(X86_FEATURE_CLFLUSH)) { + if (cpu_feature_enabled(X86_FEATURE_CLFLUSH)) { const int size = boot_cpu_data.x86_clflush_size; void *end = addr + length; @@ -332,7 +332,7 @@ void drm_memcpy_init_early(void) * Some hypervisors (e.g. KVM) don't support VEX-prefix instructions * emulation. So don't enable movntdqa in hypervisor guest. */ - if (static_cpu_has(X86_FEATURE_XMM4_1) && + if (cpu_feature_enabled(X86_FEATURE_XMM4_1) && !boot_cpu_has(X86_FEATURE_HYPERVISOR)) static_branch_enable(&has_movntdqa); } diff --git a/drivers/gpu/drm/i915/gem/i915_gem_domain.c b/drivers/gpu/drm/i915/gem/i915_gem_domain.c index df7502391b50..b7297c0a3a48 100644 --- a/drivers/gpu/drm/i915/gem/i915_gem_domain.c +++ b/drivers/gpu/drm/i915/gem/i915_gem_domain.c @@ -681,7 +681,7 @@ int i915_gem_object_prepare_read(struct drm_i915_gem_object *obj, return ret; if (obj->cache_coherent & I915_BO_CACHE_COHERENT_FOR_READ || - !static_cpu_has(X86_FEATURE_CLFLUSH)) { + !cpu_feature_enabled(X86_FEATURE_CLFLUSH)) { ret = i915_gem_object_set_to_cpu_domain(obj, false); if (ret) goto err_unpin; @@ -732,7 +732,7 @@ int i915_gem_object_prepare_write(struct drm_i915_gem_object *obj, return ret; if (obj->cache_coherent & I915_BO_CACHE_COHERENT_FOR_WRITE || - !static_cpu_has(X86_FEATURE_CLFLUSH)) { + !cpu_feature_enabled(X86_FEATURE_CLFLUSH)) { ret = i915_gem_object_set_to_cpu_domain(obj, true); if (ret) goto err_unpin; diff --git a/drivers/gpu/drm/i915/i915_memcpy.c b/drivers/gpu/drm/i915/i915_memcpy.c index cc41974cee74..20433621e09a 100644 --- a/drivers/gpu/drm/i915/i915_memcpy.c +++ b/drivers/gpu/drm/i915/i915_memcpy.c @@ -166,7 +166,7 @@ void i915_memcpy_init_early(struct drm_i915_private *dev_priv) * Some hypervisors (e.g. KVM) don't support VEX-prefix instructions * emulation. So don't enable movntdqa in hypervisor guest. */ - if (static_cpu_has(X86_FEATURE_XMM4_1) && + if (cpu_feature_enabled(X86_FEATURE_XMM4_1) && !boot_cpu_has(X86_FEATURE_HYPERVISOR)) static_branch_enable(&has_movntdqa); } |
