* [PATCH] arm: multi_v7_config: Restore debugfs support
[not found] <CGME20191206125123eucas1p1c1652484cbccef8d8df37e09affe4e25@eucas1p1.samsung.com>
@ 2019-12-06 12:51 ` Marek Szyprowski
2019-12-06 15:11 ` Olof Johansson
2019-12-09 9:29 ` Geert Uytterhoeven
0 siblings, 2 replies; 5+ messages in thread
From: Marek Szyprowski @ 2019-12-06 12:51 UTC (permalink / raw)
To: linux-samsung-soc, linux-arm-kernel, linux-kernel
Cc: Marek Szyprowski, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz,
Olof Johansson, Arnd Bergmann, Kusanagi Kouichi, Steven Rostedt
Commit fd7d58f0dbc3 ("ARM: multi_v7_defconfig: renormalize based on recent
additions") removed explicit enable line for CONFIG_DEBUG_FS, because
that feature has been selected by other enabled options: CONFIG_TRACING,
which were enabled by CONFIG_PERF_EVENTS.
In meantime, commit 0e4a459f56c3 ("tracing: Remove unnecessary DEBUG_FS
dependency") removed the dependency between CONFIG_DEBUG_FS and
CONFIG_TRACING, so CONFIG_DEBUG_FS is no longer enabled in default builds.
Enable it again explicitly, as debugfs support is essential for various
automated testing tools.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 24962d0e71c7..0ffa957f2c94 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -1121,3 +1121,4 @@ CONFIG_CRYPTO_DEV_ROCKCHIP=m
CONFIG_CMA_SIZE_MBYTES=64
CONFIG_PRINTK_TIME=y
CONFIG_MAGIC_SYSRQ=y
+CONFIG_DEBUG_FS=y
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: multi_v7_config: Restore debugfs support
2019-12-06 12:51 ` [PATCH] arm: multi_v7_config: Restore debugfs support Marek Szyprowski
@ 2019-12-06 15:11 ` Olof Johansson
2019-12-09 9:29 ` Geert Uytterhoeven
1 sibling, 0 replies; 5+ messages in thread
From: Olof Johansson @ 2019-12-06 15:11 UTC (permalink / raw)
To: Marek Szyprowski
Cc: moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES,
Linux ARM Mailing List, Linux Kernel Mailing List,
Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz, Arnd Bergmann,
Kusanagi Kouichi, Steven Rostedt
On Fri, Dec 6, 2019 at 4:51 AM Marek Szyprowski
<m.szyprowski@samsung.com> wrote:
>
> Commit fd7d58f0dbc3 ("ARM: multi_v7_defconfig: renormalize based on recent
> additions") removed explicit enable line for CONFIG_DEBUG_FS, because
> that feature has been selected by other enabled options: CONFIG_TRACING,
> which were enabled by CONFIG_PERF_EVENTS.
>
> In meantime, commit 0e4a459f56c3 ("tracing: Remove unnecessary DEBUG_FS
> dependency") removed the dependency between CONFIG_DEBUG_FS and
> CONFIG_TRACING, so CONFIG_DEBUG_FS is no longer enabled in default builds.
>
> Enable it again explicitly, as debugfs support is essential for various
> automated testing tools.
>
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Please cc patches you want us to apply to soc@kernel.org (and, if you
want, arm@kernel.org).
Applying. Thanks!
-Olof
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: multi_v7_config: Restore debugfs support
2019-12-06 12:51 ` [PATCH] arm: multi_v7_config: Restore debugfs support Marek Szyprowski
2019-12-06 15:11 ` Olof Johansson
@ 2019-12-09 9:29 ` Geert Uytterhoeven
2019-12-09 17:45 ` Olof Johansson
1 sibling, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2019-12-09 9:29 UTC (permalink / raw)
To: Marek Szyprowski
Cc: linux-samsung-soc, Linux ARM, Linux Kernel Mailing List,
Kusanagi Kouichi, Arnd Bergmann, Bartlomiej Zolnierkiewicz,
Krzysztof Kozlowski, Steven Rostedt, Olof Johansson
Hi Marek,
On Fri, Dec 6, 2019 at 1:51 PM Marek Szyprowski
<m.szyprowski@samsung.com> wrote:
> Commit fd7d58f0dbc3 ("ARM: multi_v7_defconfig: renormalize based on recent
> additions") removed explicit enable line for CONFIG_DEBUG_FS, because
> that feature has been selected by other enabled options: CONFIG_TRACING,
> which were enabled by CONFIG_PERF_EVENTS.
>
> In meantime, commit 0e4a459f56c3 ("tracing: Remove unnecessary DEBUG_FS
> dependency") removed the dependency between CONFIG_DEBUG_FS and
> CONFIG_TRACING, so CONFIG_DEBUG_FS is no longer enabled in default builds.
>
> Enable it again explicitly, as debugfs support is essential for various
> automated testing tools.
... and for systemd :-(
E.g. with Debian 9 nfsroot:
[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):
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Thank you!
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
This is gonna bite lots of people (and defconfigs)...
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: multi_v7_config: Restore debugfs support
2019-12-09 9:29 ` Geert Uytterhoeven
@ 2019-12-09 17:45 ` Olof Johansson
2019-12-09 18:05 ` Krzysztof Kozlowski
0 siblings, 1 reply; 5+ messages in thread
From: Olof Johansson @ 2019-12-09 17:45 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Marek Szyprowski, linux-samsung-soc, Linux ARM,
Linux Kernel Mailing List, Kusanagi Kouichi, Arnd Bergmann,
Bartlomiej Zolnierkiewicz, Krzysztof Kozlowski, Steven Rostedt,
Kevin Hilman
+Kevin, since this seems like something ideally we would see some
coverage of from Kernel CI at some point.
On Mon, Dec 9, 2019 at 1:29 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> Hi Marek,
>
> On Fri, Dec 6, 2019 at 1:51 PM Marek Szyprowski
> <m.szyprowski@samsung.com> wrote:
> > Commit fd7d58f0dbc3 ("ARM: multi_v7_defconfig: renormalize based on recent
> > additions") removed explicit enable line for CONFIG_DEBUG_FS, because
> > that feature has been selected by other enabled options: CONFIG_TRACING,
> > which were enabled by CONFIG_PERF_EVENTS.
> >
> > In meantime, commit 0e4a459f56c3 ("tracing: Remove unnecessary DEBUG_FS
> > dependency") removed the dependency between CONFIG_DEBUG_FS and
> > CONFIG_TRACING, so CONFIG_DEBUG_FS is no longer enabled in default builds.
> >
> > Enable it again explicitly, as debugfs support is essential for various
> > automated testing tools.
>
> ... and for systemd :-(
>
> E.g. with Debian 9 nfsroot:
>
> [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):
>
> > Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
>
> Thank you!
>
> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> This is gonna bite lots of people (and defconfigs)...
Looks like the in-tree affected defconfigs are:
olof@quad:~/work/arm-soc/arch/arm/configs (for-next) $ fgrep -L
CONFIG_DEBUG_FS $(fgrep -l CONFIG_PERF_EVENTS *)
aspeed_g4_defconfig
aspeed_g5_defconfig
exynos_defconfig
imx_v6_v7_defconfig
milbeaut_m10v_defconfig
mvebu_v7_defconfig
mxs_defconfig
oxnas_v6_defconfig
shmobile_defconfig
tegra_defconfig
olof@quad:~/work/arm-soc/arch/arm/configs (for-next) $
I'll revisit with patches for those later today.
-Olof
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: multi_v7_config: Restore debugfs support
2019-12-09 17:45 ` Olof Johansson
@ 2019-12-09 18:05 ` Krzysztof Kozlowski
0 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2019-12-09 18:05 UTC (permalink / raw)
To: Olof Johansson
Cc: Geert Uytterhoeven, Marek Szyprowski, linux-samsung-soc,
Linux ARM, Linux Kernel Mailing List, Kusanagi Kouichi,
Arnd Bergmann, Bartlomiej Zolnierkiewicz, Steven Rostedt,
Kevin Hilman
On Mon, 9 Dec 2019 at 18:45, Olof Johansson <olof@lixom.net> wrote:
>
> +Kevin, since this seems like something ideally we would see some
> coverage of from Kernel CI at some point.
>
>
> On Mon, Dec 9, 2019 at 1:29 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> >
> > Hi Marek,
> >
> > On Fri, Dec 6, 2019 at 1:51 PM Marek Szyprowski
> > <m.szyprowski@samsung.com> wrote:
> > > Commit fd7d58f0dbc3 ("ARM: multi_v7_defconfig: renormalize based on recent
> > > additions") removed explicit enable line for CONFIG_DEBUG_FS, because
> > > that feature has been selected by other enabled options: CONFIG_TRACING,
> > > which were enabled by CONFIG_PERF_EVENTS.
> > >
> > > In meantime, commit 0e4a459f56c3 ("tracing: Remove unnecessary DEBUG_FS
> > > dependency") removed the dependency between CONFIG_DEBUG_FS and
> > > CONFIG_TRACING, so CONFIG_DEBUG_FS is no longer enabled in default builds.
> > >
> > > Enable it again explicitly, as debugfs support is essential for various
> > > automated testing tools.
> >
> > ... and for systemd :-(
> >
> > E.g. with Debian 9 nfsroot:
> >
> > [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):
> >
> > > Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> >
> > Thank you!
> >
> > Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
> >
> > This is gonna bite lots of people (and defconfigs)...
>
> Looks like the in-tree affected defconfigs are:
>
> olof@quad:~/work/arm-soc/arch/arm/configs (for-next) $ fgrep -L
> CONFIG_DEBUG_FS $(fgrep -l CONFIG_PERF_EVENTS *)
> aspeed_g4_defconfig
> aspeed_g5_defconfig
> exynos_defconfig
I picked up already Marek's patch for exynos_defconfig.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-12-09 18:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20191206125123eucas1p1c1652484cbccef8d8df37e09affe4e25@eucas1p1.samsung.com>
2019-12-06 12:51 ` [PATCH] arm: multi_v7_config: Restore debugfs support Marek Szyprowski
2019-12-06 15:11 ` Olof Johansson
2019-12-09 9:29 ` Geert Uytterhoeven
2019-12-09 17:45 ` Olof Johansson
2019-12-09 18:05 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).