This is a note to let you know that I've just added the patch titled Revert "kernel/sched: Modify initial boot task idle setup" to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: revert-kernel-sched-modify-initial-boot-task-idle-setup.patch and it can be found in the queue-5.15 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From caf943a61dec662f645cb53780e7bbc81c1c8ed5 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Date: Mon, 16 Oct 2023 10:05:03 +0200 Subject: Revert "kernel/sched: Modify initial boot task idle setup" From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> This reverts commit 3569ad59664f9fa3ba1d02a78810773b7f49702b which is commit cff9b2332ab762b7e0586c793c431a8f2ea4db04 upstream. Joel writes: Let us drop this patch because it caused new tasks-RCU warnings (both normal and rude tasks RCU) in my stable test rig. We are discussing the "right fix" and at that time a backport can be done. Reported-by: Joel Fernandes <joel@xxxxxxxxxxxxxxxxx> Link: https://lore.kernel.org/r/CAEXW_YT6bH70M1TF2TttB-_kP=RUv_1nsy_sHYi6_0oCrX3mVQ@xxxxxxxxxxxxxx Cc: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx> Cc: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- kernel/sched/core.c | 2 +- kernel/sched/idle.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -8725,7 +8725,7 @@ void __init init_idle(struct task_struct * PF_KTHREAD should already be set at this point; regardless, make it * look like a proper per-CPU kthread. */ - idle->flags |= PF_KTHREAD | PF_NO_SETAFFINITY; + idle->flags |= PF_IDLE | PF_KTHREAD | PF_NO_SETAFFINITY; kthread_set_per_cpu(idle, cpu); #ifdef CONFIG_SMP --- a/kernel/sched/idle.c +++ b/kernel/sched/idle.c @@ -397,7 +397,6 @@ EXPORT_SYMBOL_GPL(play_idle_precise); void cpu_startup_entry(enum cpuhp_state state) { - current->flags |= PF_IDLE; arch_cpu_idle_prepare(); cpuhp_online_idle(state); while (1) Patches currently in stable-queue which might be from gregkh@xxxxxxxxxxxxxxxxxxx are queue-5.15/mcb-remove-is_added-flag-from-mcb_device-struct.patch queue-5.15/input-i8042-add-fujitsu-lifebook-e5411-to-i8042-quirk-table.patch queue-5.15/net-release-reference-to-inet6_dev-pointer.patch queue-5.15/counter-microchip-tcb-capture-fix-the-use-of-internal-gclk-logic.patch queue-5.15/tee-amdtee-fix-use-after-free-vulnerability-in-amdtee_close_session.patch queue-5.15/x86-alternatives-disable-kasan-in-apply_alternatives.patch queue-5.15/lib-test_meminit-fix-off-by-one-error-in-test_pages.patch queue-5.15/net-add-sysctl-accept_ra_min_rtr_lft.patch queue-5.15/thunderbolt-workaround-an-iommu-fault-on-certain-systems-with-intel-maple-ridge.patch queue-5.15/pinctrl-avoid-unsafe-code-pattern-in-find_pinctrl.patch queue-5.15/acpi-resource-skip-irq-override-on-asus-expertbook-b1402cba.patch queue-5.15/iio-pressure-dps310-adjust-timeout-settings.patch queue-5.15/arm64-factor-insn-read-out-of-call_undef_hook.patch queue-5.15/arm64-rework-el0-mrs-emulation.patch queue-5.15/usb-dwc3-soft-reset-phy-on-probe-for-host.patch queue-5.15/xhci-keep-interrupt-disabled-in-initialization-until-host-is-running.patch queue-5.15/usb-cdnsp-fixes-issue-with-dequeuing-not-queued-requests.patch queue-5.15/ceph-fix-incorrect-revoked-caps-assert-in-ceph_fill_file_size.patch queue-5.15/net-change-accept_ra_min_rtr_lft-to-affect-all-ra-lifetimes.patch queue-5.15/arm64-die-pass-err-as-long.patch queue-5.15/drm-amdgpu-add-missing-null-check.patch queue-5.15/arm64-armv8_deprecated-rework-deprected-instruction-handling.patch queue-5.15/alsa-usb-audio-fix-microphone-sound-on-opencomm2-headset.patch queue-5.15/dmaengine-stm32-mdma-abort-resume-if-no-ongoing-transfer.patch queue-5.15/arm64-armv8_deprecated-fix-unused-function-error.patch queue-5.15/usb-gadget-udc-xilinx-replace-memcpy-with-memcpy_toio.patch queue-5.15/usb-musb-modify-the-hwvers-register-address.patch queue-5.15/arm64-armv8_deprecated-move-aarch32-helper-earlier.patch queue-5.15/libceph-use-kernel_connect.patch queue-5.15/net-prevent-address-rewrite-in-kernel_bind.patch queue-5.15/arm64-consistently-pass-esr_elx-to-die.patch queue-5.15/input-psmouse-fix-fast_reconnect-function-for-ps-2-mode.patch queue-5.15/x86-cpu-fix-amd-erratum-1485-on-zen4-based-cpus.patch queue-5.15/input-goodix-ensure-int-gpio-is-in-input-for-gpio_count-1-gpio_int_idx-0-case.patch queue-5.15/input-powermate-fix-use-after-free-in-powermate_config_complete.patch queue-5.15/iio-pressure-bmp280-fix-null-pointer-exception.patch queue-5.15/hid-logitech-hidpp-fix-kernel-crash-on-receiver-usb-disconnect.patch queue-5.15/cgroup-remove-duplicates-in-cgroup-v1-tasks-file.patch queue-5.15/arm64-factor-out-el1-ssbs-emulation-hook.patch queue-5.15/arm64-report-el1-undefs-better.patch queue-5.15/arm64-armv8_deprecated-fold-ops-into-insn_emulation.patch queue-5.15/arm64-rework-bti-exception-handling.patch queue-5.15/arm64-rework-fpac-exception-handling.patch queue-5.15/arm64-split-el0-el1-undef-handlers.patch queue-5.15/arm64-allow-kprobes-on-el0-handlers.patch queue-5.15/usb-gadget-ncm-handle-decoding-of-multiple-ntb-s-in-unwrap-call.patch queue-5.15/drm-amd-display-don-t-set-dpms_off-for-seamless-boot.patch queue-5.15/usb-musb-get-the-musb_qh-poniter-after-musb_giveback.patch queue-5.15/iio-pressure-ms5611-ms5611_prom_is_valid-false-negative-bug.patch queue-5.15/media-mtk-jpeg-fix-use-after-free-bug-due-to-uncanceled-work.patch queue-5.15/thunderbolt-check-that-lane-1-is-in-cl0-before-enabling-lane-bonding.patch queue-5.15/quota-fix-slow-quotaoff.patch queue-5.15/ceph-fix-type-promotion-bug-on-32bit-systems.patch queue-5.15/usb-xhci-xhci-ring-use-sysdev-for-mapping-bounce-buffer.patch queue-5.15/net-usb-dm9601-fix-uninitialized-variable-use-in-dm9601_mdio_read.patch queue-5.15/arm64-armv8_deprecated-move-emulation-functions.patch queue-5.15/usb-cdns3-modify-the-return-value-of-cdns_set_active-to-void-when-config_pm_sleep-is-disabled.patch queue-5.15/input-xpad-add-pxn-v900-support.patch queue-5.15/revert-kernel-sched-modify-initial-boot-task-idle-setup.patch