mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Florian Fainelli <florian.fainelli@broadcom.com>,
	linux-kernel@vger.kernel.org
Cc: akpm@linux-foundation.org, kbingham@kernel.org
Subject: Re: [PATCH] MAINTAINERS: Associate GDB scripts with their subsystems
Date: Wed, 25 Jun 2025 21:38:20 +0200	[thread overview]
Message-ID: <f9ac32eb-f052-417b-859d-1c8ede2d8daf@siemens.com> (raw)
In-Reply-To: <20250625175239.1099848-1-florian.fainelli@broadcom.com>

On 25.06.25 19:52, Florian Fainelli wrote:
> The GDB scripts under scripts/gdb/linux are very useful for inspecting
> kernel data structures however they depend upon the internal APIs and
> data structures which are updated without much consideration for those
> scripts. This results in a near constant catching up with fixing the
> scripts so they continue to work.
> 
> Associate the GDB scripts with their subsystems in the hope that they
> get more love and attention.
> 
> Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
> ---
>  MAINTAINERS | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index efb51ee92683..ffd08e63cd20 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -5979,6 +5979,7 @@ F:	include/dt-bindings/clock/
>  F:	include/linux/clk-pr*
>  F:	include/linux/clk/
>  F:	include/linux/of_clk.h
> +F:	scripts/gdb/linux/clk.py
>  F:	rust/helpers/clk.c
>  F:	rust/kernel/clk.rs
>  X:	drivers/clk/clkdev.c
> @@ -7374,6 +7375,7 @@ F:	rust/kernel/faux.rs
>  F:	rust/kernel/platform.rs
>  F:	samples/rust/rust_driver_platform.rs
>  F:	samples/rust/rust_driver_faux.rs
> +F:	scripts/gdb/linux/device.py
>  
>  DRIVERS FOR OMAP ADAPTIVE VOLTAGE SCALING (AVS)
>  M:	Nishanth Menon <nm@ti.com>
> @@ -10119,6 +10121,7 @@ F:	Documentation/devicetree/bindings/power/power?domain*
>  T:	git git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm.git
>  F:	drivers/pmdomain/
>  F:	include/linux/pm_domain.h
> +F:	scripts/gdb/linux/genpd.py
>  
>  GENERIC RADIX TREE
>  M:	Kent Overstreet <kent.overstreet@linux.dev>
> @@ -10126,6 +10129,7 @@ S:	Supported
>  C:	irc://irc.oftc.net/bcache
>  F:	include/linux/generic-radix-tree.h
>  F:	lib/generic-radix-tree.c
> +F:	scripts/gdb/linux/radixtree.py
>  
>  GENERIC RESISTIVE TOUCHSCREEN ADC DRIVER
>  M:	Eugen Hristev <eugen.hristev@microchip.com>
> @@ -12750,6 +12754,7 @@ F:	include/linux/irqnr.h
>  F:	include/linux/irqreturn.h
>  F:	kernel/irq/
>  F:	lib/group_cpus.c
> +F:	scripts/gdb/linux/interrupts.py
>  
>  IRQCHIP DRIVERS
>  M:	Thomas Gleixner <tglx@linutronix.de>
> @@ -12985,6 +12990,7 @@ F:	include/linux/kasan*.h
>  F:	lib/Kconfig.kasan
>  F:	mm/kasan/
>  F:	scripts/Makefile.kasan
> +F:	scripts/gdb/linux/kasan.py
>  
>  KCONFIG
>  M:	Masahiro Yamada <masahiroy@kernel.org>
> @@ -14464,6 +14470,7 @@ F:	include/linux/maple_tree.h
>  F:	include/trace/events/maple_tree.h
>  F:	lib/maple_tree.c
>  F:	lib/test_maple_tree.c
> +F:	scripts/gdb/linux/mapletree.py
>  F:	tools/testing/radix-tree/maple.c
>  F:	tools/testing/shared/linux/maple_tree.h
>  
> @@ -15748,6 +15755,10 @@ F:	include/linux/mmu_notifier.h
>  F:	include/linux/pagewalk.h
>  F:	include/trace/events/ksm.h
>  F:	mm/
> +F:	scripts/gdb/linux/mm.py
> +F:	scripts/gdb/linux/page_owner.py
> +F:	scripts/gdb/linux/pgtable.py
> +F:	scripts/gdb/linux/slab.py
>  F:	tools/mm/
>  F:	tools/testing/selftests/mm/
>  N:	include/linux/page[-_]*
> @@ -16809,6 +16820,7 @@ F:	include/linux/module*.h
>  F:	kernel/module/
>  F:	lib/test_kmod.c
>  F:	lib/tests/module/
> +F:	scripts/gdb/linux/modules.py
>  F:	scripts/module*
>  F:	tools/testing/selftests/kmod/
>  F:	tools/testing/selftests/module/
> @@ -19430,6 +19442,7 @@ F:	arch/*/include/asm/percpu.h
>  F:	include/linux/percpu*.h
>  F:	lib/percpu*.c
>  F:	mm/percpu*.c
> +F:	scripts/gdb/linux/cpus.py
>  
>  PER-TASK DELAY ACCOUNTING
>  M:	Balbir Singh <bsingharora@gmail.com>
> @@ -19771,6 +19784,7 @@ F:	include/trace/events/timer*
>  F:	kernel/time/itimer.c
>  F:	kernel/time/posix-*
>  F:	kernel/time/namespace.c
> +F:	scripts/gdb/linux/timerlist.py
>  
>  POWER MANAGEMENT CORE
>  M:	"Rafael J. Wysocki" <rafael@kernel.org>
> @@ -19886,6 +19900,7 @@ S:	Maintained
>  T:	git git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git
>  F:	include/linux/printk.h
>  F:	kernel/printk/
> +F:	scripts/gdb/linux/dmesg.py
>  
>  PRINTK INDEXING
>  R:	Chris Down <chris@chrisdown.name>
> @@ -19901,6 +19916,7 @@ S:	Maintained
>  F:	Documentation/filesystems/proc.rst
>  F:	fs/proc/
>  F:	include/linux/proc_fs.h
> +F:	scripts/gdb/linux/proc.py
>  F:	tools/testing/selftests/proc/
>  
>  PROC SYSCTL
> @@ -26440,6 +26456,7 @@ T:	git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
>  F:	include/linux/vmalloc.h
>  F:	mm/vmalloc.c
>  F:	lib/test_vmalloc.c
> +F:	scripts/gdb/linux/vmalloc.py
>  
>  VME SUBSYSTEM
>  L:	linux-kernel@vger.kernel.org
> @@ -26949,6 +26966,7 @@ F:	include/linux/xarray.h
>  F:	lib/idr.c
>  F:	lib/test_xarray.c
>  F:	lib/xarray.c
> +F:	scripts/gdb/linux/xarray.py
>  F:	tools/testing/radix-tree
>  
>  XARRAY API [RUST]

I will surely support any proposal that helps connecting the scripts
with subsystems they address. However, you should likely break up this
one here into per-subsystem patches and address each affected
maintainer. They should have a chance to accept or reject this potential
extension of their responsibility.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center

  reply	other threads:[~2025-06-25 19:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-25 17:52 Florian Fainelli
2025-06-25 19:38 ` Jan Kiszka [this message]
2025-06-25 20:22   ` Andrew Morton
2025-06-25 21:17     ` Florian Fainelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f9ac32eb-f052-417b-859d-1c8ede2d8daf@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=akpm@linux-foundation.org \
    --cc=florian.fainelli@broadcom.com \
    --cc=kbingham@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®