Re: [PATCH] powerpc - Initialize the irq radix tree earlier

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Ellerman
Date: Thursday, July 31, 2008 - 5:58 am

On Thu, 2008-07-31 at 14:00 +0200, Sebastien Dugue wrote:
au> wrote:
irq()

Hmm, I don't think that's strong enough. I can trivially cause irqs to
fire during a kexec reboot just by mashing the keyboard.

And during a kdump boot all sorts of stuff could be firing. Even during
a clean boot, from firmware, I don't think we can guarantee that
nothing's going to fire.

.. after a bit of testing ..

It seems it actually works (sort of).=20

xics_remap_irq() calls irq_radix_revmap_lookup(), which calls:

ptr =3D radix_tree_lookup(&host->revmap_data.tree, hwirq);

And because =EF=BB=BFhost->revmap_data.tree was zalloc'ed we trip on the fi=
rst
check here:



cheers

--=20
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] powerpc - Initialize the irq radix tree earlier, Sebastien Dugue, (Thu Jul 31, 2:40 am)
Re: [PATCH] powerpc - Initialize the irq radix tree earlier, Michael Ellerman, (Thu Jul 31, 4:40 am)
Re: [PATCH] powerpc - Initialize the irq radix tree earlier, Sebastien Dugue, (Thu Jul 31, 5:00 am)
Re: [PATCH] powerpc - Initialize the irq radix tree earlier, Sebastien Dugue, (Thu Jul 31, 5:10 am)
Re: [PATCH] powerpc - Initialize the irq radix tree earlier, Michael Ellerman, (Thu Jul 31, 5:58 am)
Re: [PATCH] powerpc - Initialize the irq radix tree earlier, Michael Ellerman, (Thu Jul 31, 6:01 am)
Re: [PATCH] powerpc - Initialize the irq radix tree earlier, Sebastien Dugue, (Thu Jul 31, 6:26 am)
Re: [PATCH] powerpc - Initialize the irq radix tree earlier, Michael Ellerman, (Thu Jul 31, 6:39 am)
Re: [PATCH] powerpc - Initialize the irq radix tree earlier, Sebastien Dugue, (Thu Jul 31, 7:14 am)