Commit b0c0388
committed
Merge: RHEL 10.1: DRM Dependencies Backport
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/606
## Overview
The DRM backport's goal is to backport all the changes in the DRM subsystem to the kernel target version, with the biggest value being that we get the upstream hardware enablement (and bug fixes) into RHEL.
This merge request is the initial step of the DRM backport: identify and backport the dependencies of the DRM backport outside of `drivers/gpu`.
Check https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/615 for the main backport MR.
## Dependencies:
This MR is quite big. In other to simplify the process of getting ACKs from different subsystems, I extracted some of the tree-wide changes to standalone MRs:
- Drop `__stringify` in `EXPORT_SYMBOL_NS`, `EXPORT_SYMBOL_NS_GPL` and `MODULE_IMPORT_NS`. Backported in https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/627.
- Simplify assignment of required_devs for required OPPs. The first 2 patches of [the series](https://lore.kernel.org/all/20241002122232.194245-1-ulf.hansson@linaro.org/) are already present the rest are backported in https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/628.
## Included changes:
Dependencies required for 6.13:
- New configuration options
- Add file_ref. Patches:
- fs: protect backing files with rcu
- fs: add file_ref
- fs: port files to file_ref
- Rename drm/intel/i915_pciids.h to drm/intel/pciids.h. Patches:
- drm/i915/pciids: use designated initializers in INTEL_VGA_DEVICE()
- drm/i915/pciids: separate ARL and MTL PCI IDs
- drm/i915/xe3lpd: reuse xe2lpd definition
- drm/i915/pciids: add PVC PCI ID macros
- drm/intel/pciids: rename i915_pciids.h to just pciids.h
- Remove drm/intel/xe_pciids.h and use drm/intel/pciids.h. Patches:
- drm/xe/ptl: Add PTL platform definition
- drm/xe: switch to common PCI ID macros
- drm/xe: remove unused xe_pciids.h harder, add missing PCI ID
- Fix recursive dependencies compile errors. Patches:
- fbdev: Fix recursive dependencies wrt BACKLIGHT_CLASS_DEVICE
- Add missing IDs in media-bus-format.h. Patches:
- media: uapi: Add MEDIA_BUS_FMT_RGB101010_1X7X5_{SPWG, JEIDA}
- Constify struct bin_attribute. Patches: [Dropped after https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/638 was merged]
- sysfs: explicitly pass size to sysfs_add_bin_file_mode_ns()
- sysfs: introduce callback attribute_group::bin_size
- PCI/sysfs: Calculate bin_attribute size through bin_size()
- nvmem: core: calculate bin_attribute size through bin_size()
- sysfs: treewide: constify attribute callback of bin_is_visible()
- sysfs: treewide: constify attribute callback of bin_attribute::mmap()
- sysfs: treewide: constify attribute callback of bin_attribute::llseek()
- sysfs: implement all BIN_ATTR_* macros in terms of __BIN_ATTR()
- sysfs: bin_attribute: add const read/write callback variants
- driver core: Constify attribute arguments of binary attributes
- cdx: Fix cdx_mmap_resource() after constifying attr in ->mmap()
Dependencies required for 6.14:
- New configuration options
- [Add "dmem" memory accounting cgroup](https://lore.kernel.org/all/20241204134410.1161769-1-dev@lankhorst.se/). Only the first patch and the follow up fixes are required, the other will be backported by the main backport. Patches:
- kernel/cgroup: Add "dmem" memory accounting cgroup
- cgroup/dmem: Select PAGE_COUNTER
- cgroup/dmem: Fix parameters documentation
- drm/doc: Include new drm-compute documentation
- doc/cgroup: Fix title underline length
- cgroup/rdma: Drop bogus PAGE_COUNTER select
- cgroup/dmem: Don't open-code css_for_each_descendant_pre
- [kthread: Introduce preferred affinity](https://lore.kernel.org/all/20241211154035.75565-1-frederic@kernel.org/). I need "treewide: Introduce kthread_run_worker[_on_cpu]\(\)", but it requires backporting the entire series. Patches:
- arm/bL_switcher: Use kthread_run_on_cpu()
- firmware: stratix10-svc: Use kthread_run_on_cpu()
- scsi: bnx2fc: Use kthread_create_on_cpu()
- scsi: bnx2i: Use kthread_create_on_cpu()
- scsi: qedi: Use kthread_create_on_cpu()
- soc/qman: test: Use kthread_run_on_cpu()
- kallsyms: Use kthread_run_on_cpu()
- lib: test_objpool: Use kthread_run_on_cpu()
- arm64: Exclude nohz_full CPUs from 32bits el0 support
- sched,arm64: Handle CPU isolation on last resort fallback rq selection
- kthread: Make sure kthread hasn't started while binding it
- kthread: Default affine kthread to its preferred NUMA node
- mm: Create/affine kcompactd to its preferred node
- mm: Create/affine kswapd to its preferred node
- kthread: Implement preferred affinity
- rcu: Use kthread preferred affinity for RCU boost
- kthread: Unify kthread_create_on_cpu() and kthread_create_worker_on_cpu() automatic format
- treewide: Introduce kthread_run_worker[_on_cpu]\(\)
- rcu: Use kthread preferred affinity for RCU exp kworkers
- kthread: Fix return value on kzalloc() failure in kthread_affine_preferred()
- kthread: modify kernel-doc function name to match code
- [ASoC: hdmi-codec: pass data to get_dai_id too](https://lore.kernel.org/all/20241224-drm-bridge-hdmi-connector-v10-0-dc89577cd438@linaro.org/). Taking the first 2 patches, the others will be backported by the main backport. Patches:
- ASoC: hdmi-codec: pass data to get_dai_id too
- ASoC: hdmi-codec: move no_capture_mute to struct hdmi_codec_pdata
- [Converge on secs_to_jiffies()](https://lore.kernel.org/all/20241030-open-coded-timeouts-v3-0-9ba123facf88@linux.microsoft.com/). Required for secs_to_jiffies(). Patches:
- jiffies: Define secs_to_jiffies()
- jiffies: Cast to unsigned long in secs_to_jiffies() conversion
- [Support BMG PMT features for Xe](https://lore.kernel.org/all/20241114130358.2467787-1-michael.j.ruhl@intel.com/). Only the first patch, the other will be backported by the main backport. Patches:
- platform/x86/intel/pmt: allow user offset for PMT callbacks
## Omitted fixes:
These are reported as fixes for "jiffies: Define secs_to_jiffies()", but they are not fixes, they are conversions to use secs_to_jiffies() instead of various functions. They can be omitted:
Omitted-fix: 75c2d63 <br/>
Omitted-fix: 5ad2abf <br/>
Omitted-fix: 1969392 <br/>
Omitted-fix: 84c398c <br/>
Omitted-fix: c2cd598 <br/>
Omitted-fix: b4aa02f <br/>
Omitted-fix: 84bbaeb <br/>
Omitted-fix: 38b2ea1 <br/>
Omitted-fix: 4d69f4c <br/>
Omitted-fix: 3d1a26a <br/>
Omitted-fix: b294259 <br/>
Omitted-fix: eefdb19 <br/>
Omitted-fix: e3b5ace <br/>
Omitted-fix: f5ea031 <br/>
Omitted-fix: 6d072c0 <br/>
Omitted-fix: b6ca5bb <br/>
Omitted-fix: f87e4f2 <br/>
Omitted-fix: 734ff31 <br/>
Omitted-fix: 7d2497f <br/>
Omitted-fix: a9d5131 <br/>
Omitted-fix: e3e627e <br/>
Omitted-fix: 3f0a819 <br/>
Omitted-fix: c9d84da <br/>
Omitted-fix: a131f20 <br/>
Omitted-fix: 32fcd1b <br/>
Omitted-fix: 1d2e01d <br/>
Omitted-fix: 96b8f46 <br/>
Omitted-fix: b3e8dc1 <br/>
Omitted-fix: 84c34d0 <br/>
Omitted-fix: 78cf56f <br/>
Omitted-fix: 344825e <br/>
Omitted-fix: 8ef9019 <br/>
Omitted-fix: d583461 <br/>
Omitted-fix: a877cd2 <br/>
Omitted-fix: 2c54b24 <br/>
Omitted-fix: 6cf828d <br/>
Omitted-fix: eee6af2 <br/>
Omitted-fix: 7c9a8c5 <br/>
Omitted-fix: 8ba1b42 <br/>
Omitted-fix: 66644d8 <br/>
Omitted-fix: f873136 <br/>
Omitted-fix: f4293c2 <br/>
Omitted-fix: 16b8236
## Other:
JIRA: https://issues.redhat.com/browse/RHEL-85955
Signed-off-by: José Expósito <jexposit@redhat.com>
Approved-by: Rafael Aquini <raquini@redhat.com>
Approved-by: Bastien Nocera <bnocera@redhat.com>
Approved-by: Chris Leech <cleech@redhat.com>
Approved-by: Vladis Dronov <vdronov@redhat.com>
Approved-by: Phil Auld <pauld@redhat.com>
Approved-by: Jocelyn Falempe <jfalempe@redhat.com>
Approved-by: Michal Schmidt <mschmidt@redhat.com>
Approved-by: David Arcari <darcari@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>
Merged-by: Julio Faracco <jfaracco@redhat.com>File tree
112 files changed
+1965
-586
lines changed- Documentation
- admin-guide
- arch/arm64
- core-api
- gpu
- userspace-api/media/v4l
- arch
- arm64
- include/asm
- kernel
- arm/common
- x86
- kernel
- kvm
- crypto
- drivers
- cpufreq
- firmware
- gpu/drm
- bridge
- adv7511
- analogix
- synopsys
- exynos
- i2c
- i915
- display
- gem/selftests
- gt
- selftests
- mediatek
- msm
- disp
- rockchip
- sti
- vmwgfx
- xe
- media/platform/chips-media/wave5
- net
- dsa/mv88e6xxx
- ethernet/intel/ice
- platform
- chrome
- x86/intel/pmt
- ptp
- scsi
- bnx2fc
- bnx2i
- qedi
- soc/fsl/qbman
- spi
- usb/typec/tcpm
- vdpa/vdpa_sim
- watchdog
- fs
- erofs
- include
- drm/intel
- linux
- sound
- uapi/linux
- init
- kernel
- cgroup
- rcu
- sched
- lib
- mm
- net/dsa
- redhat/configs
- common/generic
- x86
- rhel/generic
- sound/soc/codecs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
112 files changed
+1965
-586
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
2626 | 2627 | | |
2627 | 2628 | | |
2628 | 2629 | | |
| 2630 | + | |
| 2631 | + | |
| 2632 | + | |
| 2633 | + | |
| 2634 | + | |
| 2635 | + | |
| 2636 | + | |
| 2637 | + | |
| 2638 | + | |
| 2639 | + | |
| 2640 | + | |
| 2641 | + | |
| 2642 | + | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
| 2654 | + | |
| 2655 | + | |
| 2656 | + | |
| 2657 | + | |
| 2658 | + | |
| 2659 | + | |
| 2660 | + | |
| 2661 | + | |
| 2662 | + | |
| 2663 | + | |
| 2664 | + | |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
| 2668 | + | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
2629 | 2673 | | |
2630 | 2674 | | |
2631 | 2675 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments