[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8ad1c722-62ad-48f6-80b2-8f07b2e84bae@broadcom.com>
Date: Fri, 20 Jun 2025 11:26:15 -0700
From: Florian Fainelli <florian.fainelli@...adcom.com>
To: linux-kernel@...r.kernel.org
Cc: Jan Kiszka <jan.kiszka@...mens.com>, Kieran Bingham
<kbingham@...nel.org>, Thomas Gleixner <tglx@...utronix.de>,
Shanker Donthineni <sdonthineni@...dia.com>
Subject: Re: [PATCH] scripts/gdb: Fix interrupts.py after maple tree
conversion
On 6/20/25 11:14, Florian Fainelli wrote:
> In commit 721255b9826b ("genirq: Use a maple tree for interrupt
> descriptor management"), the irq_desc_tree was replaced with a
> sparse_irqs tree using a maple tree structure. In the interest of
> providing both a minimal bugfix as well as something that is unlikely to
> break in the future, invoke the irq_to_desc() function directly from
> within GDB in order to obtain the interrupt number. This requires us to
> handle the gdb.error exception to continue walking the tree.
> > Fixes: 721255b9826b ("genirq: Use a maple tree for interrupt
descriptor management")
> Signed-off-by: Florian Fainelli <florian.fainelli@...adcom.com>
Humm, looks like we might not have a choice than to be able to parse a
maple tree within GDB. While this approach of calling irq_to_desc()
worked correctly on x86 under QEMU, this failed on arm64.
pw-bot: cr
--
Florian
Powered by blists - more mailing lists