History

Merge tag 'drm-xe-next-2026-07-03' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-next

UAPI Changes: - Add additional error components to xe drm_ras (Riana) - Drop 'force_execlist' module parameter (Roper) Cross-subsystem Changes: - Perf events: Export perf_allow_{cpu,tracepoint} to be used by Xe (John) Display Changes: - Skip FORCE_WC and vm_bound check for external dma-bufs (Auld) Driver Changes: - Gate observation streams with perf_allow_cpu (John Hubbard) - Documentation updates and fixes (Michal, Zhan) - Remove unreleased NVL-S GuC (Daniele) - Fix pcode init path (Michal) - RTP fixes and improvements (Gustavo, Violet, Thomas, Roper) - TLB invalidation fixes and improvements (Tilak) - PXP detachment from HuC for newer platforms (Daniele) - Multi-queue fix (Niranjana) - Improve Kconfig.profile help (Rodrigo) - Xe_drm_ras and hw_error updates and fixes (Raag, Riana) - NVL-S updated PCI-IDs and W/a (Gustavo, Nitin) - Fix dma_fence refcound (Wentao) - Madvise: optimize invalidation path (Arvind) - Fix a infinite gt-reset loop in the timeout recovery (Rodrigo) - Fix wa_oob codegen recipe for external module builds (Thomas) - Avoid global forcewake in cycle query path (Xin) - Update TTM device benefical_order (Brost) - Fix buffer overflow in guc capture (Tejas) - Page-table fixes and improvements (Brian, Francois, Auld, Brost) - Removing redundant check (Lu) - General MCR and MMIO clean-up and improvements (Michal) - Don't whitelist OA registers unconditionally (Ashutosh) - SVM error return fix (Brost) - Userptr fix and small related clean-ups (Shuicheng) - Don't attempt to process FAST_REQ or EVENT relays on PF (Michal) - Couple fdinfo improvements (Auld) - Drop manual VF check on i2c (Raag) - Probe info outside of xe_info_init functions (Gustavo) Signed-off-by: Dave Airlie <airlied@redhat.com>

Dave Airlie committed 4 months ago

Commit 0639cb22 parents fab6908 820de0765 files · +1432 −433Browse files

Showing the changes to kernel (1 of 65 files). Show all

Unified · Split

kernel/events/core.c+18−0
@@ -14769,6 +14769,24 @@ int perf_allow_kernel(void) · 14768 unmodified lines
14769}14769}
14770EXPORT_SYMBOL_GPL(perf_allow_kernel);14770EXPORT_SYMBOL_GPL(perf_allow_kernel);
14771 14771
14772int perf_allow_cpu(void)
14773{
14774 if (sysctl_perf_event_paranoid > 0 && !perfmon_capable())
14775 return -EACCES;
14776
14777 return security_perf_event_open(PERF_SECURITY_CPU);
14778}
14779EXPORT_SYMBOL_GPL(perf_allow_cpu);
14780
14781int perf_allow_tracepoint(void)
14782{
14783 if (sysctl_perf_event_paranoid > -1 && !perfmon_capable())
14784 return -EPERM;
14785
14786 return security_perf_event_open(PERF_SECURITY_TRACEPOINT);
14787}
14788EXPORT_SYMBOL_GPL(perf_allow_tracepoint);
14789
14772/*14790/*
14773 * Inherit an event from parent task to child task.14791 * Inherit an event from parent task to child task.
14774 *14792 *