[SLOF] [PATCH slof] fdt: Avoid recursion when traversing tree

Segher Boessenkool segher at kernel.crashing.org
Sat Jul 18 03:49:37 AEST 2020


On Fri, Jul 17, 2020 at 09:02:34PM +1000, Alexey Kardashevskiy wrote:
> > (If some heavier routine is called for every node, you can put the test
> > *there* instead, without making everything slow).
> 
> Making everything slow is perfectly fine for debugging SLOF.

Not if you have to debug on real hardware, or debug the hardware driver
itself, or even the actual hardware itself.

> Thankfully
> SLOF is not that complicated (real mode, 1 CPU, 1 device open at the
> time) and normally a VM config is enough to reproduce the problem.

SLOF always has many devices open at the same time.  Only one ihandle
is in my-self at any point of time, of course.  This very nicely
simplifies how you have to deal with things.


Segher


More information about the SLOF mailing list