Skip to contentSkip to conversation

Patch "ARM: shmobile: defconfig: Restore debugfs support" has been added to the 5.4-stable tree

DISCUSSION Geert Uytterhoeven 2 participants 2 messages Jan 9, 2020 – Jan 10, 2020 1 message not in the archive Stable branch

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi Sasha,

Quoted 20 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled

ARM: shmobile: defconfig: Restore debugfs support

to the 5.4-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:
arm-shmobile-defconfig-restore-debugfs-support.patch
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

commit b56e3b1467eba2ba55bca05e3c8697b23304f12b

Author: Geert Uytterhoeven <[email protected]>
Date:   Mon Dec 9 11:13:27 2019 +0100
Quoted 6 lines

ARM: shmobile: defconfig: Restore debugfs support

[ Upstream commit fa2cdb1762d15f701b83efa60b04f0d04e71bf89 ]

Since commit 0e4a459f56c32d3e ("tracing: Remove unnecessary DEBUG_FS dependency"), CONFIG_DEBUG_FS is no longer auto-enabled. This breaks

AFAIK, that commit is not present in v5.4, and hasn't been backported yet. So I don't think there is a need to backport this and all other fixes restoring debugfs support in post-v5.4 kernels.

BTW, I noticed you plan to backport this "fix" not just to v5.4, but also to v4.19?

Quoted 24 lines

booting Debian 9, as systemd needs debugfs:

[FAILED] Failed to mount /sys/kernel/debug.
See 'systemctl status sys-kernel-debug.mount' for details. [DEPEND] Dependency failed for Local File Systems.
...
You are in emergGive root password for maintenance (or press Control-D to continue):

Fix this by enabling CONFIG_DEBUG_FS explicitly.

See also commit 18977008f44c66bd ("ARM: multi_v7_defconfig: Restore debugfs support").

arch/arm/configs/shmobile_defconfig +0 -0
index c6c70355141c..7e7b678ae153 100644

arch/arm/configs/shmobile_defconfig CONFIG_DMA_CMA=y · line 219

Quoted 5 lines
arch/arm/configs/shmobile_defconfig +1 -0
@@ -215,4 +215,5 @@ CONFIG_DMA_CMA=y
 CONFIG_CMA_SIZE_MBYTES=64
 CONFIG_PRINTK_TIME=y
 # CONFIG_ENABLE_MUST_CHECK is not set
+CONFIG_DEBUG_FS=y
 CONFIG_DEBUG_KERNEL=y

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
#2 lore raw
Quoted 30 lines · Geert Uytterhoeven

Hi Sasha,

Quoted 20 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled

ARM: shmobile: defconfig: Restore debugfs support

to the 5.4-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:
arm-shmobile-defconfig-restore-debugfs-support.patch
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

commit b56e3b1467eba2ba55bca05e3c8697b23304f12b

Author: Geert Uytterhoeven <[email protected]>
Date:   Mon Dec 9 11:13:27 2019 +0100
Quoted 6 lines

ARM: shmobile: defconfig: Restore debugfs support

[ Upstream commit fa2cdb1762d15f701b83efa60b04f0d04e71bf89 ]

Since commit 0e4a459f56c32d3e ("tracing: Remove unnecessary DEBUG_FS dependency"), CONFIG_DEBUG_FS is no longer auto-enabled. This breaks

Quoted 6 lines

AFAIK, that commit is not present in v5.4, and hasn't been backported yet. So I don't think there is a need to backport this and all other fixes restoring debugfs support in post-v5.4 kernels.

BTW, I noticed you plan to backport this "fix" not just to v5.4, but also to v4.19?

I've dropped this from both queues now, thanks.

greg k-h