diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2024-05-04 16:09:57 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2024-05-04 16:09:57 +0200 |
commit | 8d155e9c8872d1ed636a154fe6e60c859215fbed (patch) | |
tree | ed5eea5d6fdb12c164c4575c65982da83eaf2621 | |
parent | 4fc30561591a268fc993f3f56cd5c5043d1c1eac (diff) | |
download | kernel-fsync-8d155e9c8872d1ed636a154fe6e60c859215fbed.tar.gz kernel-fsync-8d155e9c8872d1ed636a154fe6e60c859215fbed.zip |
kernel 6.8.9
-rw-r--r-- | SOURCES/Patchlist.changelog | 9 | ||||
-rw-r--r-- | SOURCES/cachy-bore.patch | 191 | ||||
-rw-r--r-- | SOURCES/kernel-aarch64-16k-debug-fedora.config | 2 | ||||
-rw-r--r-- | SOURCES/kernel-aarch64-16k-fedora.config | 2 | ||||
-rw-r--r-- | SOURCES/kernel-aarch64-debug-fedora.config | 2 | ||||
-rw-r--r-- | SOURCES/kernel-aarch64-fedora.config | 2 | ||||
-rw-r--r-- | SOURCES/kernel-ppc64le-debug-fedora.config | 3 | ||||
-rw-r--r-- | SOURCES/kernel-ppc64le-fedora.config | 3 | ||||
-rw-r--r-- | SOURCES/kernel-s390x-debug-fedora.config | 3 | ||||
-rw-r--r-- | SOURCES/kernel-s390x-fedora.config | 3 | ||||
-rw-r--r-- | SOURCES/kernel-x86_64-debug-fedora.config | 4 | ||||
-rw-r--r-- | SOURCES/kernel-x86_64-debug-rhel.config | 1 | ||||
-rw-r--r-- | SOURCES/kernel-x86_64-fedora.config | 4 | ||||
-rw-r--r-- | SOURCES/kernel-x86_64-rhel.config | 1 | ||||
-rw-r--r-- | SOURCES/kernel-x86_64-rt-debug-rhel.config | 1 | ||||
-rw-r--r-- | SOURCES/kernel-x86_64-rt-rhel.config | 1 | ||||
-rw-r--r-- | SOURCES/kernel.changelog | 9 | ||||
-rw-r--r-- | SOURCES/patch-6.8-redhat.patch | 179 | ||||
-rw-r--r-- | SOURCES/steamdeck-oled-legion-go-bluetooth-hang.patch | 22 | ||||
-rw-r--r-- | SPECS/kernel.spec | 20 |
20 files changed, 378 insertions, 84 deletions
diff --git a/SOURCES/Patchlist.changelog b/SOURCES/Patchlist.changelog index cb33f64..3f72814 100644 --- a/SOURCES/Patchlist.changelog +++ b/SOURCES/Patchlist.changelog @@ -1,3 +1,12 @@ +"https://gitlab.com/cki-project/kernel-ark/-/commit"/21b019ce62997d78fe5e42f4a04b64cd9d9b11b8 + 21b019ce62997d78fe5e42f4a04b64cd9d9b11b8 drm/nouveau/dp: Don't probe eDP ports twice harder + +"https://gitlab.com/cki-project/kernel-ark/-/commit"/fb6f1f07d22bc6bac44c87e7623cf252e8c57473 + fb6f1f07d22bc6bac44c87e7623cf252e8c57473 drm/nouveau/kms/nv50-: Disable AUX bus for disconnected DP ports + +"https://gitlab.com/cki-project/kernel-ark/-/commit"/5122018da124756713dfe49cad50a7653ade7bf0 + 5122018da124756713dfe49cad50a7653ade7bf0 drm/dp: Don't attempt AUX transfers when eDP panels are not powered + "https://gitlab.com/cki-project/kernel-ark/-/commit"/e56840b5f971b4d0f4032f6f5ab95c0c5ba40f8e e56840b5f971b4d0f4032f6f5ab95c0c5ba40f8e nouveau: fix devinit paths to only handle display on GSP. diff --git a/SOURCES/cachy-bore.patch b/SOURCES/cachy-bore.patch index 711ded8..4437383 100644 --- a/SOURCES/cachy-bore.patch +++ b/SOURCES/cachy-bore.patch @@ -1,18 +1,18 @@ -From c75c12077f2f8dfa7c763f434f746727b8a3b9e6 Mon Sep 17 00:00:00 2001 +From eadef3d0f478dc82de92a71a2a5c9cd1874ea4e8 Mon Sep 17 00:00:00 2001 From: Piotr Gorski <lucjan.lucjanov@gmail.com> -Date: Tue, 26 Mar 2024 08:10:41 +0100 +Date: Mon, 29 Apr 2024 21:26:00 +0200 Subject: [PATCH] bore Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com> --- include/linux/sched.h | 10 ++ - init/Kconfig | 17 ++++ - kernel/sched/core.c | 144 ++++++++++++++++++++++++++ - kernel/sched/debug.c | 60 ++++++++++- - kernel/sched/fair.c | 218 +++++++++++++++++++++++++++++++++++++++- - kernel/sched/features.h | 4 + + init/Kconfig | 17 +++ + kernel/sched/core.c | 143 +++++++++++++++++++++ + kernel/sched/debug.c | 60 ++++++++- + kernel/sched/fair.c | 272 +++++++++++++++++++++++++++++++++++++--- + kernel/sched/features.h | 20 ++- kernel/sched/sched.h | 7 ++ - 7 files changed, 457 insertions(+), 3 deletions(-) + 7 files changed, 512 insertions(+), 17 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index ffe8f618a..0ab0b0424 100644 @@ -36,7 +36,7 @@ index ffe8f618a..0ab0b0424 100644 u64 slice; diff --git a/init/Kconfig b/init/Kconfig -index bee58f746..13427dbb4 100644 +index c8a155cf7..874bd0158 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1279,6 +1279,23 @@ config CHECKPOINT_RESTORE @@ -64,15 +64,14 @@ index bee58f746..13427dbb4 100644 bool "Automatic process group scheduling" select CGROUPS diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 9116bcc90..fc3d7b48e 100644 +index 9116bcc90..a38919fe8 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -4507,6 +4507,139 @@ int wake_up_state(struct task_struct *p, unsigned int state) +@@ -4507,6 +4507,138 @@ int wake_up_state(struct task_struct *p, unsigned int state) return try_to_wake_up(p, state, 0); } +#ifdef CONFIG_SCHED_BORE -+extern bool sched_bore; +extern u8 sched_burst_fork_atavistic; +extern uint sched_burst_cache_lifetime; + @@ -207,7 +206,7 @@ index 9116bcc90..fc3d7b48e 100644 /* * Perform scheduler related setup for a newly forked process p. * p is forked by current. -@@ -4523,6 +4656,9 @@ static void __sched_fork(unsigned long clone_flags, struct task_struct *p) +@@ -4523,6 +4655,9 @@ static void __sched_fork(unsigned long clone_flags, struct task_struct *p) p->se.prev_sum_exec_runtime = 0; p->se.nr_migrations = 0; p->se.vruntime = 0; @@ -217,7 +216,7 @@ index 9116bcc90..fc3d7b48e 100644 p->se.vlag = 0; p->se.slice = sysctl_sched_base_slice; INIT_LIST_HEAD(&p->se.group_node); -@@ -4839,6 +4975,9 @@ void sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs) +@@ -4839,6 +4974,9 @@ void sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs) void sched_post_fork(struct task_struct *p) { @@ -227,13 +226,13 @@ index 9116bcc90..fc3d7b48e 100644 uclamp_post_fork(p); } -@@ -9910,6 +10049,11 @@ void __init sched_init(void) +@@ -9910,6 +10048,11 @@ void __init sched_init(void) BUG_ON(&dl_sched_class != &stop_sched_class + 1); #endif +#ifdef CONFIG_SCHED_BORE + sched_init_bore(); -+ printk(KERN_INFO "BORE (Burst-Oriented Response Enhancer) CPU Scheduler modification 5.0.3 by Masahito Suzuki"); ++ printk(KERN_INFO "BORE (Burst-Oriented Response Enhancer) CPU Scheduler modification 5.2.0 by Masahito Suzuki"); +#endif // CONFIG_SCHED_BORE + wait_bit_init(); @@ -347,7 +346,7 @@ index 8d5d98a58..b17861261 100644 P(se.avg.runnable_sum); P(se.avg.util_sum); diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c -index 533547e3c..ae55f46a8 100644 +index aee5e7a70..d6824d030 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -19,6 +19,9 @@ @@ -360,7 +359,7 @@ index 533547e3c..ae55f46a8 100644 */ #include <linux/energy_model.h> #include <linux/mmap_lock.h> -@@ -64,20 +67,126 @@ +@@ -64,20 +67,125 @@ * SCHED_TUNABLESCALING_LOG - scaled logarithmical, *1+ilog(ncpus) * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus * @@ -400,7 +399,6 @@ index 533547e3c..ae55f46a8 100644 +u8 __read_mostly sched_burst_penalty_offset = 22; +uint __read_mostly sched_burst_penalty_scale = 1280; +uint __read_mostly sched_burst_cache_lifetime = 60000000; -+static int __maybe_unused thirty_two = 32; +static int __maybe_unused sixty_four = 64; +static int __maybe_unused maxval_12_bits = 4095; + @@ -489,7 +487,7 @@ index 533547e3c..ae55f46a8 100644 int sched_thermal_decay_shift; static int __init setup_sched_thermal_decay_shift(char *str) { -@@ -137,6 +246,69 @@ static unsigned int sysctl_numa_balancing_promote_rate_limit = 65536; +@@ -137,6 +245,69 @@ static unsigned int sysctl_numa_balancing_promote_rate_limit = 65536; #ifdef CONFIG_SYSCTL static struct ctl_table sched_fair_sysctls[] = { @@ -559,7 +557,7 @@ index 533547e3c..ae55f46a8 100644 #ifdef CONFIG_CFS_BANDWIDTH { .procname = "sched_cfs_bandwidth_slice_us", -@@ -195,6 +367,13 @@ static inline void update_load_set(struct load_weight *lw, unsigned long w) +@@ -195,6 +366,13 @@ static inline void update_load_set(struct load_weight *lw, unsigned long w) * * This idea comes from the SD scheduler of Con Kolivas: */ @@ -573,7 +571,7 @@ index 533547e3c..ae55f46a8 100644 static unsigned int get_update_sysctl_factor(void) { unsigned int cpus = min_t(unsigned int, num_online_cpus(), 8); -@@ -225,6 +404,7 @@ static void update_sysctl(void) +@@ -225,6 +403,7 @@ static void update_sysctl(void) SET_SYSCTL(sched_base_slice); #undef SET_SYSCTL } @@ -581,17 +579,93 @@ index 533547e3c..ae55f46a8 100644 void __init sched_init_granularity(void) { -@@ -704,6 +884,9 @@ static void update_entity_lag(struct cfs_rq *cfs_rq, struct sched_entity *se) - lag = avg_vruntime(cfs_rq) - se->vruntime; +@@ -702,6 +881,9 @@ static s64 entity_lag(u64 avruntime, struct sched_entity *se) + vlag = avruntime - se->vruntime; limit = calc_delta_fair(max_t(u64, 2*se->slice, TICK_NSEC), se); +#ifdef CONFIG_SCHED_BORE + limit >>= 1; +#endif // CONFIG_SCHED_BORE - se->vlag = clamp(lag, -limit, limit); + + return clamp(vlag, -limit, limit); + } +@@ -862,6 +1044,39 @@ struct sched_entity *__pick_first_entity(struct cfs_rq *cfs_rq) + return __node_2_se(left); } -@@ -955,6 +1138,7 @@ struct sched_entity *__pick_last_entity(struct cfs_rq *cfs_rq) ++static inline bool pick_curr(struct cfs_rq *cfs_rq, ++ struct sched_entity *curr, struct sched_entity *wakee) ++{ ++ /* ++ * Nothing to preserve... ++ */ ++ if (!curr || !sched_feat(RESPECT_SLICE)) ++ return false; ++ ++ /* ++ * Allow preemption at the 0-lag point -- even if not all of the slice ++ * is consumed. Note: placement of positive lag can push V left and render ++ * @curr instantly ineligible irrespective the time on-cpu. ++ */ ++ if (sched_feat(RUN_TO_PARITY) && !entity_eligible(cfs_rq, curr)) ++ return false; ++ ++ /* ++ * Don't preserve @curr when the @wakee has a shorter slice and earlier ++ * deadline. IOW, explicitly allow preemption. ++ */ ++ if (sched_feat(PREEMPT_SHORT) && wakee && ++ wakee->slice < curr->slice && ++ (s64)(wakee->deadline - curr->deadline) < 0) ++ return false; ++ ++ /* ++ * Preserve @curr to allow it to finish its first slice. ++ * See the HACK in set_next_entity(). ++ */ ++ return curr->vlag == curr->deadline; ++} ++ + /* + * Earliest Eligible Virtual Deadline First + * +@@ -881,28 +1096,27 @@ struct sched_entity *__pick_first_entity(struct cfs_rq *cfs_rq) + * + * Which allows tree pruning through eligibility. + */ +-static struct sched_entity *pick_eevdf(struct cfs_rq *cfs_rq) ++static struct sched_entity *pick_eevdf(struct cfs_rq *cfs_rq, struct sched_entity *wakee) + { + struct rb_node *node = cfs_rq->tasks_timeline.rb_root.rb_node; + struct sched_entity *se = __pick_first_entity(cfs_rq); + struct sched_entity *curr = cfs_rq->curr; + struct sched_entity *best = NULL; + ++ if (curr && !curr->on_rq) ++ curr = NULL; ++ + /* + * We can safely skip eligibility check if there is only one entity + * in this cfs_rq, saving some cycles. + */ + if (cfs_rq->nr_running == 1) +- return curr && curr->on_rq ? curr : se; +- +- if (curr && (!curr->on_rq || !entity_eligible(cfs_rq, curr))) +- curr = NULL; ++ return curr ?: se; + + /* +- * Once selected, run a task until it either becomes non-eligible or +- * until it gets a new slice. See the HACK in set_next_entity(). ++ * Preserve @curr to let it finish its slice. + */ +- if (sched_feat(RUN_TO_PARITY) && curr && curr->vlag == curr->deadline) ++ if (pick_curr(cfs_rq, curr, wakee)) + return curr; + + /* Pick the leftmost entity if it's eligible */ +@@ -961,6 +1175,7 @@ struct sched_entity *__pick_last_entity(struct cfs_rq *cfs_rq) * Scheduling class statistics methods: */ #ifdef CONFIG_SMP @@ -599,7 +673,7 @@ index 533547e3c..ae55f46a8 100644 int sched_update_scaling(void) { unsigned int factor = get_update_sysctl_factor(); -@@ -966,6 +1150,7 @@ int sched_update_scaling(void) +@@ -972,6 +1187,7 @@ int sched_update_scaling(void) return 0; } @@ -607,7 +681,7 @@ index 533547e3c..ae55f46a8 100644 #endif #endif -@@ -1165,7 +1350,13 @@ static void update_curr(struct cfs_rq *cfs_rq) +@@ -1171,7 +1387,13 @@ static void update_curr(struct cfs_rq *cfs_rq) if (unlikely(delta_exec <= 0)) return; @@ -621,7 +695,7 @@ index 533547e3c..ae55f46a8 100644 update_deadline(cfs_rq, curr); update_min_vruntime(cfs_rq); -@@ -5171,6 +5362,9 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int flags) +@@ -5177,6 +5399,9 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int flags) * * EEVDF: placement strategy #1 / #2 */ @@ -631,7 +705,16 @@ index 533547e3c..ae55f46a8 100644 if (sched_feat(PLACE_LAG) && cfs_rq->nr_running) { struct sched_entity *curr = cfs_rq->curr; unsigned long load; -@@ -6803,6 +6997,14 @@ static void dequeue_task_fair(struct rq *rq, struct task_struct *p, int flags) +@@ -5466,7 +5691,7 @@ pick_next_entity(struct cfs_rq *cfs_rq) + cfs_rq->next && entity_eligible(cfs_rq, cfs_rq->next)) + return cfs_rq->next; + +- return pick_eevdf(cfs_rq); ++ return pick_eevdf(cfs_rq, NULL); + } + + static bool check_cfs_rq_runtime(struct cfs_rq *cfs_rq); +@@ -6809,6 +7034,14 @@ static void dequeue_task_fair(struct rq *rq, struct task_struct *p, int flags) bool was_sched_idle = sched_idle_rq(rq); util_est_dequeue(&rq->cfs, p); @@ -646,7 +729,19 @@ index 533547e3c..ae55f46a8 100644 for_each_sched_entity(se) { cfs_rq = cfs_rq_of(se); -@@ -8552,16 +8754,25 @@ static void yield_task_fair(struct rq *rq) +@@ -8343,10 +8576,7 @@ static void check_preempt_wakeup_fair(struct rq *rq, struct task_struct *p, int + cfs_rq = cfs_rq_of(se); + update_curr(cfs_rq); + +- /* +- * XXX pick_eevdf(cfs_rq) != se ? +- */ +- if (pick_eevdf(cfs_rq) == pse) ++ if (pick_eevdf(cfs_rq, pse) == pse) + goto preempt; + + return; +@@ -8564,16 +8794,25 @@ static void yield_task_fair(struct rq *rq) /* * Are we the only task in the tree? */ @@ -672,7 +767,7 @@ index 533547e3c..ae55f46a8 100644 /* * Tell update_rq_clock() that we've just updated, * so we don't do microscopic update in schedule() -@@ -12651,6 +12862,9 @@ static void task_fork_fair(struct task_struct *p) +@@ -12663,6 +12902,9 @@ static void task_fork_fair(struct task_struct *p) curr = cfs_rq->curr; if (curr) update_curr(cfs_rq); @@ -683,26 +778,42 @@ index 533547e3c..ae55f46a8 100644 rq_unlock(rq, &rf); } diff --git a/kernel/sched/features.h b/kernel/sched/features.h -index 143f55df8..3f0fe409f 100644 +index 143f55df8..bfeb9f653 100644 --- a/kernel/sched/features.h +++ b/kernel/sched/features.h -@@ -6,7 +6,11 @@ +@@ -5,8 +5,26 @@ + * sleep+wake cycles. EEVDF placement strategy #1, #2 if disabled. */ SCHED_FEAT(PLACE_LAG, true) ++/* ++ * Give new tasks half a slice to ease into the competition. ++ */ SCHED_FEAT(PLACE_DEADLINE_INITIAL, true) +-SCHED_FEAT(RUN_TO_PARITY, true) ++/* ++ * Inhibit (wakeup) preemption until the current task has exhausted its slice. ++ */ +#ifdef CONFIG_SCHED_BORE -+SCHED_FEAT(RUN_TO_PARITY, false) ++SCHED_FEAT(RESPECT_SLICE, false) +#else // !CONFIG_SCHED_BORE - SCHED_FEAT(RUN_TO_PARITY, true) ++SCHED_FEAT(RESPECT_SLICE, true) +#endif // CONFIG_SCHED_BORE ++/* ++ * Relax RESPECT_SLICE to allow preemption once current has reached 0-lag. ++ */ ++SCHED_FEAT(RUN_TO_PARITY, false) ++/* ++ * Allow tasks with a shorter slice to disregard RESPECT_SLICE ++ */ ++SCHED_FEAT(PREEMPT_SHORT, true) /* * Prefer to schedule the task we woke last (assuming it failed diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h -index 001fe047b..da3ad1d4e 100644 +index 8c817d0a9..05c0a1157 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h -@@ -1965,7 +1965,11 @@ static inline void dirty_sched_domain_sysctl(int cpu) +@@ -1967,7 +1967,11 @@ static inline void dirty_sched_domain_sysctl(int cpu) } #endif @@ -714,7 +825,7 @@ index 001fe047b..da3ad1d4e 100644 static inline const struct cpumask *task_user_cpus(struct task_struct *p) { -@@ -2552,6 +2556,9 @@ extern const_debug unsigned int sysctl_sched_nr_migrate; +@@ -2554,6 +2558,9 @@ extern const_debug unsigned int sysctl_sched_nr_migrate; extern const_debug unsigned int sysctl_sched_migration_cost; extern unsigned int sysctl_sched_base_slice; @@ -725,5 +836,5 @@ index 001fe047b..da3ad1d4e 100644 #ifdef CONFIG_SCHED_DEBUG extern int sysctl_resched_latency_warn_ms; -- -2.43.0.232.ge79552d197 +2.44.0.325.g11c821f2f2 diff --git a/SOURCES/kernel-aarch64-16k-debug-fedora.config b/SOURCES/kernel-aarch64-16k-debug-fedora.config index a80bcd3..8ece265 100644 --- a/SOURCES/kernel-aarch64-16k-debug-fedora.config +++ b/SOURCES/kernel-aarch64-16k-debug-fedora.config @@ -6337,7 +6337,7 @@ CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=y CONFIG_RANDOMIZE_KSTACK_OFFSET=y CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa CONFIG_RANDOMIZE_MODULE_REGION_FULL=y -# CONFIG_RANDOM_KMALLOC_CACHES is not set +CONFIG_RANDOM_KMALLOC_CACHES=y CONFIG_RANDOM_TRUST_BOOTLOADER=y CONFIG_RANDOM_TRUST_CPU=y # CONFIG_RANDSTRUCT_FULL is not set diff --git a/SOURCES/kernel-aarch64-16k-fedora.config b/SOURCES/kernel-aarch64-16k-fedora.config index 69d8bb3..f86446f 100644 --- a/SOURCES/kernel-aarch64-16k-fedora.config +++ b/SOURCES/kernel-aarch64-16k-fedora.config @@ -6310,7 +6310,7 @@ CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=y CONFIG_RANDOMIZE_KSTACK_OFFSET=y CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa CONFIG_RANDOMIZE_MODULE_REGION_FULL=y -# CONFIG_RANDOM_KMALLOC_CACHES is not set +CONFIG_RANDOM_KMALLOC_CACHES=y CONFIG_RANDOM_TRUST_BOOTLOADER=y CONFIG_RANDOM_TRUST_CPU=y # CONFIG_RANDSTRUCT_FULL is not set diff --git a/SOURCES/kernel-aarch64-debug-fedora.config b/SOURCES/kernel-aarch64-debug-fedora.config index 0ba5bb9..5fbdd2a 100644 --- a/SOURCES/kernel-aarch64-debug-fedora.config +++ b/SOURCES/kernel-aarch64-debug-fedora.config @@ -6337,7 +6337,7 @@ CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=y CONFIG_RANDOMIZE_KSTACK_OFFSET=y CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa CONFIG_RANDOMIZE_MODULE_REGION_FULL=y -# CONFIG_RANDOM_KMALLOC_CACHES is not set +CONFIG_RANDOM_KMALLOC_CACHES=y CONFIG_RANDOM_TRUST_BOOTLOADER=y CONFIG_RANDOM_TRUST_CPU=y # CONFIG_RANDSTRUCT_FULL is not set diff --git a/SOURCES/kernel-aarch64-fedora.config b/SOURCES/kernel-aarch64-fedora.config index 488f077..b0816ed 100644 --- a/SOURCES/kernel-aarch64-fedora.config +++ b/SOURCES/kernel-aarch64-fedora.config @@ -6310,7 +6310,7 @@ CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=y CONFIG_RANDOMIZE_KSTACK_OFFSET=y CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa CONFIG_RANDOMIZE_MODULE_REGION_FULL=y -# CONFIG_RANDOM_KMALLOC_CACHES is not set +CONFIG_RANDOM_KMALLOC_CACHES=y CONFIG_RANDOM_TRUST_BOOTLOADER=y CONFIG_RANDOM_TRUST_CPU=y # CONFIG_RANDSTRUCT_FULL is not set diff --git a/SOURCES/kernel-ppc64le-debug-fedora.config b/SOURCES/kernel-ppc64le-debug-fedora.config index f91fde5..eb6a9a3 100644 --- a/SOURCES/kernel-ppc64le-debug-fedora.config +++ b/SOURCES/kernel-ppc64le-debug-fedora.config @@ -912,7 +912,6 @@ CONFIG_CIO2_BRIDGE=y CONFIG_CLEANCACHE=y CONFIG_CLK_FD_KUNIT_TEST=m CONFIG_CLK_GATE_KUNIT_TEST=m -# CONFIG_CLK_GFM_LPASS_SM8250 is not set # CONFIG_CLK_ICST is not set CONFIG_CLK_KUNIT_TEST=m # CONFIG_CLK_QORIQ is not set @@ -5165,7 +5164,7 @@ CONFIG_RANDOM32_SELFTEST=y CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=y CONFIG_RANDOMIZE_KSTACK_OFFSET=y CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa -# CONFIG_RANDOM_KMALLOC_CACHES is not set +CONFIG_RANDOM_KMALLOC_CACHES=y CONFIG_RANDOM_TRUST_BOOTLOADER=y CONFIG_RANDOM_TRUST_CPU=y # CONFIG_RANDSTRUCT_FULL is not set diff --git a/SOURCES/kernel-ppc64le-fedora.config b/SOURCES/kernel-ppc64le-fedora.config index c0e178b..dbfe9d8 100644 --- a/SOURCES/kernel-ppc64le-fedora.config +++ b/SOURCES/kernel-ppc64le-fedora.config @@ -910,7 +910,6 @@ CONFIG_CIO2_BRIDGE=y CONFIG_CLEANCACHE=y CONFIG_CLK_FD_KUNIT_TEST=m CONFIG_CLK_GATE_KUNIT_TEST=m -# CONFIG_CLK_GFM_LPASS_SM8250 is not set # CONFIG_CLK_ICST is not set CONFIG_CLK_KUNIT_TEST=m # CONFIG_CLK_QORIQ is not set @@ -5136,7 +5135,7 @@ CONFIG_RAID_ATTRS=m CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=y CONFIG_RANDOMIZE_KSTACK_OFFSET=y CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa -# CONFIG_RANDOM_KMALLOC_CACHES is not set +CONFIG_RANDOM_KMALLOC_CACHES=y CONFIG_RANDOM_TRUST_BOOTLOADER=y CONFIG_RANDOM_TRUST_CPU=y # CONFIG_RANDSTRUCT_FULL is not set diff --git a/SOURCES/kernel-s390x-debug-fedora.config b/SOURCES/kernel-s390x-debug-fedora.config index 01b417f..b3503d2 100644 --- a/SOURCES/kernel-s390x-debug-fedora.config +++ b/SOURCES/kernel-s390x-debug-fedora.config @@ -919,7 +919,6 @@ CONFIG_CIO2_BRIDGE=y CONFIG_CLEANCACHE=y CONFIG_CLK_FD_KUNIT_TEST=m CONFIG_CLK_GATE_KUNIT_TEST=m -# CONFIG_CLK_GFM_LPASS_SM8250 is not set # CONFIG_CLK_ICST is not set CONFIG_CLK_KUNIT_TEST=m # CONFIG_CLK_QORIQ is not set @@ -5086,7 +5085,7 @@ CONFIG_RANDOMIZE_BASE=y CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=y CONFIG_RANDOMIZE_KSTACK_OFFSET=y CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa -# CONFIG_RANDOM_KMALLOC_CACHES is not set +CONFIG_RANDOM_KMALLOC_CACHES=y CONFIG_RANDOM_TRUST_BOOTLOADER=y CONFIG_RANDOM_TRUST_CPU=y # CONFIG_RANDSTRUCT_FULL is not set diff --git a/SOURCES/kernel-s390x-fedora.config b/SOURCES/kernel-s390x-fedora.config index 0d9bb44..a1de2c2 100644 --- a/SOURCES/kernel-s390x-fedora.config +++ b/SOURCES/kernel-s390x-fedora.config @@ -917,7 +917,6 @@ CONFIG_CIO2_BRIDGE=y CONFIG_CLEANCACHE=y CONFIG_CLK_FD_KUNIT_TEST=m CONFIG_CLK_GATE_KUNIT_TEST=m -# CONFIG_CLK_GFM_LPASS_SM8250 is not set # CONFIG_CLK_ICST is not set CONFIG_CLK_KUNIT_TEST=m # CONFIG_CLK_QORIQ is not set @@ -5057,7 +5056,7 @@ CONFIG_RANDOMIZE_BASE=y CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=y CONFIG_RANDOMIZE_KSTACK_OFFSET=y CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa -# CONFIG_RANDOM_KMALLOC_CACHES is not set +CONFIG_RANDOM_KMALLOC_CACHES=y CONFIG_RANDOM_TRUST_BOOTLOADER=y CONFIG_RANDOM_TRUST_CPU=y # CONFIG_RANDSTRUCT_FULL is not set diff --git a/SOURCES/kernel-x86_64-debug-fedora.config b/SOURCES/kernel-x86_64-debug-fedora.config index b4da6c0..ddd7d28 100644 --- a/SOURCES/kernel-x86_64-debug-fedora.config +++ b/SOURCES/kernel-x86_64-debug-fedora.config @@ -976,7 +976,6 @@ CONFIG_CIO2_BRIDGE=y CONFIG_CLEANCACHE=y CONFIG_CLK_FD_KUNIT_TEST=m CONFIG_CLK_GATE_KUNIT_TEST=m -# CONFIG_CLK_GFM_LPASS_SM8250 is not set # CONFIG_CLK_ICST is not set CONFIG_CLK_KUNIT_TEST=m # CONFIG_CLK_LGM_CGU is not set @@ -1091,6 +1090,7 @@ CONFIG_CPU_ISOLATION=y CONFIG_CPU_LITTLE_ENDIAN=y CONFIG_CPUMASK_KUNIT_TEST=m CONFIG_CPUMASK_OFFSTACK=y +CONFIG_CPU_MITIGATIONS=y CONFIG_CPUSETS=y CONFIG_CPU_SRSO=y # CONFIG_CPU_THERMAL is not set @@ -5570,7 +5570,7 @@ CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=y CONFIG_RANDOMIZE_KSTACK_OFFSET=y CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa CONFIG_RANDOMIZE_MEMORY=y -# CONFIG_RANDOM_KMALLOC_CACHES is not set +CONFIG_RANDOM_KMALLOC_CACHES=y CONFIG_RANDOM_TRUST_BOOTLOADER=y CONFIG_RANDOM_TRUST_CPU=y # CONFIG_RANDSTRUCT_FULL is not set diff --git a/SOURCES/kernel-x86_64-debug-rhel.config b/SOURCES/kernel-x86_64-debug-rhel.config index 0abb7c0..29ea223 100644 --- a/SOURCES/kernel-x86_64-debug-rhel.config +++ b/SOURCES/kernel-x86_64-debug-rhel.config @@ -907,6 +907,7 @@ CONFIG_CPU_ISOLATION=y CONFIG_CPU_LITTLE_ENDIAN=y CONFIG_CPUMASK_KUNIT_TEST=m CONFIG_CPUMASK_OFFSTACK=y +CONFIG_CPU_MITIGATIONS=y CONFIG_CPUSETS=y CONFIG_CPU_SRSO=y # CONFIG_CPU_THERMAL is not set diff --git a/SOURCES/kernel-x86_64-fedora.config b/SOURCES/kernel-x86_64-fedora.config index 60015ad..29c4273 100644 --- a/SOURCES/kernel-x86_64-fedora.config +++ b/SOURCES/kernel-x86_64-fedora.config @@ -974,7 +974,6 @@ CONFIG_CIO2_BRIDGE=y CONFIG_CLEANCACHE=y CONFIG_CLK_FD_KUNIT_TEST=m CONFIG_CLK_GATE_KUNIT_TEST=m -# CONFIG_CLK_GFM_LPASS_SM8250 is not set # CONFIG_CLK_ICST is not set CONFIG_CLK_KUNIT_TEST=m # CONFIG_CLK_LGM_CGU is not set @@ -1089,6 +1088,7 @@ CONFIG_CPU_ISOLATION=y CONFIG_CPU_LITTLE_ENDIAN=y CONFIG_CPUMASK_KUNIT_TEST=m CONFIG_CPUMASK_OFFSTACK=y +CONFIG_CPU_MITIGATIONS=y CONFIG_CPUSETS=y CONFIG_CPU_SRSO=y # CONFIG_CPU_THERMAL is not set @@ -5542,7 +5542,7 @@ CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=y CONFIG_RANDOMIZE_KSTACK_OFFSET=y CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa CONFIG_RANDOMIZE_MEMORY=y -# CONFIG_RANDOM_KMALLOC_CACHES is not set +CONFIG_RANDOM_KMALLOC_CACHES=y CONFIG_RANDOM_TRUST_BOOTLOADER=y CONFIG_RANDOM_TRUST_CPU=y # CONFIG_RANDSTRUCT_FULL is not set diff --git a/SOURCES/kernel-x86_64-rhel.config b/SOURCES/kernel-x86_64-rhel.config index a92e9b1..2ed7013 100644 --- a/SOURCES/kernel-x86_64-rhel.config +++ b/SOURCES/kernel-x86_64-rhel.config @@ -907,6 +907,7 @@ CONFIG_CPU_ISOLATION=y CONFIG_CPU_LITTLE_ENDIAN=y CONFIG_CPUMASK_KUNIT_TEST=m CONFIG_CPUMASK_OFFSTACK=y +CONFIG_CPU_MITIGATIONS=y CONFIG_CPUSETS=y CONFIG_CPU_SRSO=y # CONFIG_CPU_THERMAL is not set diff --git a/SOURCES/kernel-x86_64-rt-debug-rhel.config b/SOURCES/kernel-x86_64-rt-debug-rhel.config index 14c962e..4b8f5c5 100644 --- a/SOURCES/kernel-x86_64-rt-debug-rhel.config +++ b/SOURCES/kernel-x86_64-rt-debug-rhel.config @@ -907,6 +907,7 @@ CONFIG_CPU_ISOLATION=y CONFIG_CPU_LITTLE_ENDIAN=y CONFIG_CPUMASK_KUNIT_TEST=m CONFIG_CPUMASK_OFFSTACK=y +CONFIG_CPU_MITIGATIONS=y CONFIG_CPUSETS=y CONFIG_CPU_SRSO=y # CONFIG_CPU_THERMAL is not set diff --git a/SOURCES/kernel-x86_64-rt-rhel.config b/SOURCES/kernel-x86_64-rt-rhel.config index 4db1879..0097b33 100644 --- a/SOURCES/kernel-x86_64-rt-rhel.config +++ b/SOURCES/kernel-x86_64-rt-rhel.config @@ -907,6 +907,7 @@ CONFIG_CPU_ISOLATION=y CONFIG_CPU_LITTLE_ENDIAN=y CONFIG_CPUMASK_KUNIT_TEST=m CONFIG_CPUMASK_OFFSTACK=y +CONFIG_CPU_MITIGATIONS=y CONFIG_CPUSETS=y CONFIG_CPU_SRSO=y # CONFIG_CPU_THERMAL is not set diff --git a/SOURCES/kernel.changelog b/SOURCES/kernel.changelog index fcffa87..9caf590 100644 --- a/SOURCES/kernel.changelog +++ b/SOURCES/kernel.changelog @@ -1,3 +1,12 @@ +* Thu May 02 2024 Augusto Caringi <acaringi@redhat.com> [6.8.9-0] +- redhat/configs: Enable CONFIG_CPU_MITIGATIONS (Augusto Caringi) +- Turn on CONFIG_RANDOM_KMALLOC_CACHES for Fedora (Justin M. Forbes) +- drm/nouveau/dp: Don't probe eDP ports twice harder (Lyude Paul) +- drm/nouveau/kms/nv50-: Disable AUX bus for disconnected DP ports (Lyude Paul) +- drm/dp: Don't attempt AUX transfers when eDP panels are not powered (Douglas Anderson) +- Linux v6.8.9 +Resolves: + * Sat Apr 27 2024 Justin M. Forbes <jforbes@fedoraproject.org> [6.8.8-0] - Update BugsFixed for 6.8.8 (Justin M. Forbes) - Turn on ISM for Fedora (Justin M. Forbes) diff --git a/SOURCES/patch-6.8-redhat.patch b/SOURCES/patch-6.8-redhat.patch index 66d8881..55cc025 100644 --- a/SOURCES/patch-6.8-redhat.patch +++ b/SOURCES/patch-6.8-redhat.patch @@ -13,6 +13,10 @@ drivers/firmware/efi/efi.c | 124 +++++++++++---- drivers/firmware/efi/secureboot.c | 38 +++++ drivers/firmware/sysfb.c | 18 ++- + drivers/gpu/drm/display/drm_dp_helper.c | 35 +++++ + drivers/gpu/drm/nouveau/nouveau_dp.c | 23 ++- + drivers/gpu/drm/panel/panel-edp.c | 3 + + drivers/gpu/drm/panel/panel-samsung-atna33xc20.c | 2 + drivers/hid/hid-rmi.c | 66 -------- drivers/hwtracing/coresight/coresight-etm4x-core.c | 19 +++ drivers/input/rmi4/rmi_driver.c | 124 +++++++++------ @@ -21,6 +25,7 @@ drivers/scsi/sd.c | 10 ++ drivers/usb/core/hub.c | 7 + fs/xfs/xfs_iomap.c | 4 +- + include/drm/display/drm_dp_helper.h | 6 + include/linux/efi.h | 22 ++- include/linux/lsm_hook_defs.h | 2 + include/linux/module.h | 1 + @@ -35,10 +40,10 @@ security/lockdown/Kconfig | 13 ++ security/lockdown/lockdown.c | 1 + security/security.c | 12 ++ - 37 files changed, 671 insertions(+), 177 deletions(-) + 42 files changed, 735 insertions(+), 182 deletions(-) diff --git a/Makefile b/Makefile -index ffa43a6d0424..0d5ae4952215 100644 +index 2917a6914c03..ac609d49e12f 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,18 @@ $(if $(filter __%, $(MAKECMDGOALS)), \ @@ -578,6 +583,156 @@ index 3c197db42c9d..16e4a2e90fae 100644 pd = sysfb_create_simplefb(si, &mode); if (!IS_ERR(pd)) goto unlock_mutex; +diff --git a/drivers/gpu/drm/display/drm_dp_helper.c b/drivers/gpu/drm/display/drm_dp_helper.c +index 26c188ce5f1c..fb80843e7f2d 100644 +--- a/drivers/gpu/drm/display/drm_dp_helper.c ++++ b/drivers/gpu/drm/display/drm_dp_helper.c +@@ -532,6 +532,15 @@ static int drm_dp_dpcd_access(struct drm_dp_aux *aux, u8 request, + + mutex_lock(&aux->hw_mutex); + ++ /* ++ * If the device attached to the aux bus is powered down then there's ++ * no reason to attempt a transfer. Error out immediately. ++ */ ++ if (aux->powered_down) { ++ ret = -EBUSY; ++ goto unlock; ++ } ++ + /* + * The specification doesn't give any recommendation on how often to + * retry native transactions. We used to retry 7 times like for +@@ -599,6 +608,29 @@ int drm_dp_dpcd_probe(struct drm_dp_aux *aux, unsigned int offset) + } + EXPORT_SYMBOL(drm_dp_dpcd_probe); + ++/** ++ * drm_dp_dpcd_set_powered() - Set whether the DP device is powered ++ * @aux: DisplayPort AUX channel; for convenience it's OK to pass NULL here ++ * and the function will be a no-op. ++ * @powered: true if powered; false if not ++ * ++ * If the endpoint device on the DP AUX bus is known to be powered down ++ * then this function can be called to make future transfers fail immediately ++ * instead of needing to time out. ++ * ++ * If this function is never called then a device defaults to being powered. ++ */ ++void drm_dp_dpcd_set_powered(struct drm_dp_aux *aux, bool powered) ++{ ++ if (!aux) ++ return; ++ ++ mutex_lock(&aux->hw_mutex); ++ aux->powered_down = !powered; ++ mutex_unlock(&aux->hw_mutex); ++} ++EXPORT_SYMBOL(drm_dp_dpcd_set_powered); ++ + /** + * drm_dp_dpcd_read() - read a series of bytes from the DPCD + * @aux: DisplayPort AUX channel (SST or MST) +@@ -1858,6 +1890,9 @@ static int drm_dp_i2c_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, + struct drm_dp_aux_msg msg; + int err = 0; + ++ if (aux->powered_down) ++ return -EBUSY; ++ + dp_aux_i2c_transfer_size = clamp(dp_aux_i2c_transfer_size, 1, DP_AUX_MAX_PAYLOAD_BYTES); + + memset(&msg, 0, sizeof(msg)); +diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c b/drivers/gpu/drm/nouveau/nouveau_dp.c +index 7de7707ec6a8..a72c45809484 100644 +--- a/drivers/gpu/drm/nouveau/nouveau_dp.c ++++ b/drivers/gpu/drm/nouveau/nouveau_dp.c +@@ -225,12 +225,18 @@ nouveau_dp_detect(struct nouveau_connector *nv_connector, + u8 *dpcd = nv_encoder->dp.dpcd; + int ret = NOUVEAU_DP_NONE, hpd; + +- /* If we've already read the DPCD on an eDP device, we don't need to +- * reread it as it won't change ++ /* eDP ports don't support hotplugging - so there's no point in probing eDP ports unless we ++ * haven't probed them once before. + */ +- if (connector->connector_type == DRM_MODE_CONNECTOR_eDP && +- dpcd[DP_DPCD_REV] != 0) +- return NOUVEAU_DP_SST; ++ if (connector->connector_type == DRM_MODE_CONNECTOR_eDP) { ++ if (connector->status == connector_status_connected) ++ return NOUVEAU_DP_SST; ++ else if (connector->status == connector_status_disconnected) ++ return NOUVEAU_DP_NONE; ++ } ++ ++ // Ensure that the aux bus is enabled for probing ++ drm_dp_dpcd_set_powered(&nv_connector->aux, true); + + mutex_lock(&nv_encoder->dp.hpd_irq_lock); + if (mstm) { +@@ -293,6 +299,13 @@ nouveau_dp_detect(struct nouveau_connector *nv_connector, + if (mstm && !mstm->suspended && ret != NOUVEAU_DP_MST) + nv50_mstm_remove(mstm); + ++ /* GSP doesn't like when we try to do aux transactions on a port it considers disconnected, ++ * and since we don't really have a usecase for that anyway - just disable the aux bus here ++ * if we've decided the connector is disconnected ++ */ ++ if (ret == NOUVEAU_DP_NONE) ++ drm_dp_dpcd_set_powered(&nv_connector->aux, false); ++ + mutex_unlock(&nv_encoder->dp.hpd_irq_lock); + return ret; + } +diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c +index e5e3f0b9ca61..49b8a2484d92 100644 +--- a/drivers/gpu/drm/panel/panel-edp.c ++++ b/drivers/gpu/drm/panel/panel-edp.c +@@ -397,6 +397,7 @@ static int panel_edp_suspend(struct device *dev) + { + struct panel_edp *p = dev_get_drvdata(dev); + ++ drm_dp_dpcd_set_powered(p->aux, false); + gpiod_set_value_cansleep(p->enable_gpio, 0); + regulator_disable(p->supply); + p->unprepared_time = ktime_get_boottime(); +@@ -453,6 +454,7 @@ static int panel_edp_prepare_once(struct panel_edp *p) + } + + gpiod_set_value_cansleep(p->enable_gpio, 1); ++ drm_dp_dpcd_set_powered(p->aux, true); + + delay = p->desc->delay.hpd_reliable; + if (p->no_hpd) +@@ -489,6 +491,7 @@ static int panel_edp_prepare_once(struct panel_edp *p) + return 0; + + error: ++ drm_dp_dpcd_set_powered(p->aux, false); + gpiod_set_value_cansleep(p->enable_gpio, 0); + regulator_disable(p->supply); + p->unprepared_time = ktime_get_boottime(); +diff --git a/drivers/gpu/drm/panel/panel-samsung-atna33xc20.c b/drivers/gpu/drm/panel/panel-samsung-atna33xc20.c +index 5703f4712d96..76c2a8f6718c 100644 +--- a/drivers/gpu/drm/panel/panel-samsung-atna33xc20.c ++++ b/drivers/gpu/drm/panel/panel-samsung-atna33xc20.c +@@ -72,6 +72,7 @@ static int atana33xc20_suspend(struct device *dev) + if (p->el3_was_on) + atana33xc20_wait(p->el_on3_off_time, 150); + ++ drm_dp_dpcd_set_powered(p->aux, false); + ret = regulator_disable(p->supply); + if (ret) + return ret; +@@ -93,6 +94,7 @@ static int atana33xc20_resume(struct device *dev) + ret = regulator_enable(p->supply); + if (ret) + return ret; ++ drm_dp_dpcd_set_powered(p->aux, true); + p->powered_on_time = ktime_get_boottime(); + + if (p->no_hpd) { diff --git a/drivers/hid/hid-rmi.c b/drivers/hid/hid-rmi.c index d4af17fdba46..154f0403cbf4 100644 --- a/drivers/hid/hid-rmi.c @@ -1066,6 +1221,26 @@ index 18c8f168b153..055cdec2e9ad 100644 error = xfs_bmbt_to_iomap(ip, iomap, &imap, flags, 0, seq); out_unlock: xfs_iunlock(ip, lockmode); +diff --git a/include/drm/display/drm_dp_helper.h b/include/drm/display/drm_dp_helper.h +index 863b2e7add29..472359a9d675 100644 +--- a/include/drm/display/drm_dp_helper.h ++++ b/include/drm/display/drm_dp_helper.h +@@ -463,9 +463,15 @@ struct drm_dp_aux { + * @is_remote: Is this AUX CH actually using sideband messaging. + */ + bool is_remote; ++ ++ /** ++ * @powered_down: If true then the remote endpoint is powered down. ++ */ ++ bool powered_down; + }; + + int drm_dp_dpcd_probe(struct drm_dp_aux *aux, unsigned int offset); ++void drm_dp_dpcd_set_powered(struct drm_dp_aux *aux, bool powered); + ssize_t drm_dp_dpcd_read(struct drm_dp_aux *aux, unsigned int offset, + void *buffer, size_t size); + ssize_t drm_dp_dpcd_write(struct drm_dp_aux *aux, unsigned int offset, diff --git a/include/linux/efi.h b/include/linux/efi.h index c74f47711f0b..e7bbf3b7a938 100644 --- a/include/linux/efi.h diff --git a/SOURCES/steamdeck-oled-legion-go-bluetooth-hang.patch b/SOURCES/steamdeck-oled-legion-go-bluetooth-hang.patch index 58d37d2..8c95f39 100644 --- a/SOURCES/steamdeck-oled-legion-go-bluetooth-hang.patch +++ b/SOURCES/steamdeck-oled-legion-go-bluetooth-hang.patch @@ -300,16 +300,7 @@ diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c index 8a60ad7acd70..edd2a81b4d5e 100644 --- a/drivers/bluetooth/hci_qca.c +++ b/drivers/bluetooth/hci_qca.c -@@ -2326,7 +2326,7 @@ static int qca_serdev_probe(struct serdev_device *serdev) - - qcadev->bt_en = devm_gpiod_get_optional(&serdev->dev, "enable", - GPIOD_OUT_LOW); -- if (IS_ERR(qcadev->bt_en) && -+ if (IS_ERR_OR_NULL(qcadev->bt_en) && - (data->soc_type == QCA_WCN6750 || - data->soc_type == QCA_WCN6855)) { - dev_err(&serdev->dev, "failed to acquire BT_EN gpio\n"); -@@ -2335,7 +2335,7 @@ static int qca_serdev_probe(struct serdev_device *serdev) +@@ -2342,7 +2342,7 @@ qcadev->sw_ctrl = devm_gpiod_get_optional(&serdev->dev, "swctrl", GPIOD_IN); @@ -317,16 +308,7 @@ index 8a60ad7acd70..edd2a81b4d5e 100644 + if (IS_ERR_OR_NULL(qcadev->sw_ctrl) && (data->soc_type == QCA_WCN6750 || data->soc_type == QCA_WCN6855 || - data->soc_type == QCA_WCN7850)) -@@ -2357,7 +2357,7 @@ static int qca_serdev_probe(struct serdev_device *serdev) - default: - qcadev->bt_en = devm_gpiod_get_optional(&serdev->dev, "enable", - GPIOD_OUT_LOW); -- if (IS_ERR(qcadev->bt_en)) { -+ if (IS_ERR_OR_NULL(qcadev->bt_en)) { - dev_warn(&serdev->dev, "failed to acquire enable gpio\n"); - power_ctrl_enabled = false; - } + data->soc_type == QCA_WCN7850)) { -- 2.44.0 diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index 2332347..824cf83 100644 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -160,18 +160,18 @@ Summary: The Linux kernel # the --with-release option overrides this setting.) %define debugbuildsenabled 1 %define buildid .fsync -%define specrpmversion 6.8.8 -%define specversion 6.8.8 +%define specrpmversion 6.8.9 +%define specversion 6.8.9 %define patchversion 6.8 %define pkgrelease 300 %define kversion 6 -%define tarfile_release 6.8.8 +%define tarfile_release 6.8.9 # This is needed to do merge window version magic %define patchlevel 8 # This allows pkg_release to have configurable %%{?dist} tag %define specrelease 301%{?buildid}%{?dist} # This defines the kabi tarball version -%define kabiversion 6.8.8 +%define kabiversion 6.8.9 # If this variable is set to 1, a bpf selftests build failure will cause a # fatal kernel package build error @@ -4110,8 +4110,16 @@ fi\ # # %changelog -* Sat May 04 2024 Jan200101 <sentrycraft123@gmail.com> - 6.8.8-301.fsync -- kernel-fsync v6.8.8 +* Sat May 04 2024 Jan200101 <sentrycraft123@gmail.com> - 6.8.9-301.fsync +- kernel-fsync v6.8.9 + +* Thu May 02 2024 Augusto Caringi <acaringi@redhat.com> [6.8.9-0] +- redhat/configs: Enable CONFIG_CPU_MITIGATIONS (Augusto Caringi) +- Turn on CONFIG_RANDOM_KMALLOC_CACHES for Fedora (Justin M. Forbes) +- drm/nouveau/dp: Don't probe eDP ports twice harder (Lyude Paul) +- drm/nouveau/kms/nv50-: Disable AUX bus for disconnected DP ports (Lyude Paul) +- drm/dp: Don't attempt AUX transfers when eDP panels are not powered (Douglas Anderson) +- Linux v6.8.9 * Sat Apr 27 2024 Justin M. Forbes <jforbes@fedoraproject.org> [6.8.8-0] - Update BugsFixed for 6.8.8 (Justin M. Forbes) |