[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <875xcrxp10.fsf@yellow.woof>
Date: Tue, 07 Oct 2025 07:24:27 +0200
From: Nam Cao <namcao@...utronix.de>
To: Ritesh Harjani <ritesh.list@...il.com>, Madhavan Srinivasan
<maddy@...ux.ibm.com>, Michael Ellerman <mpe@...erman.id.au>, Nicholas
Piggin <npiggin@...il.com>, Christophe Leroy
<christophe.leroy@...roup.eu>, Thomas Gleixner <tglx@...utronix.de>, Marc
Zyngier <maz@...nel.org>, Gautam Menghani <gautam@...ux.ibm.com>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/3] powerpc/xive: Untangle xive from child interrupt
controller drivers
Hi Ritesh,
Ritesh Harjani (IBM) <ritesh.list@...il.com> writes:
> I am facing kernel crash on host when trying to run kvm pseries guest on
> powernv host. Looking it a bit more closely, I see that we are missing
> conversion of xxx_irq_handler_data()) to xxx_irq_chip_data() at few other
> places, including in powerpc KVM code.
[snip]
> Here is the diff which fixed this..
[snip]
> ... However grepping for "handler_data" in arch/powerpc I see there is
> atleast one more place where we may still need the fix.. There are few
> more places which grep returned - but I am not sure if they all really need
> the fix. But I guess VAS should be fixed i.e :
>
> arch/powerpc/platforms/powernv/vas.c: xd = irq_get_handler_data(vinst->virq);
>
> Would you like to submit an official patch for converting these other places too?
Thanks for the report. I didn't expect struct xive_irq_data to be used
in multiple files while making that patch, sorry about that!
Something like your patch should do the job. However, my gut feeling is
that multiple files shouldn't share a single irq struct this way. Let me
stare at it...
Nam
Powered by blists - more mailing lists