On Friday 04 February 2011, Meador Inge wrote: > On 02/03/2011 09:56 AM, Arnd Bergmann wrote:
> So in 'mpic_init' we don't initialize anything and then in > 'mpic_host_map' we lazily do the VECPRI and CPU binding initialization with: > > if (!(mpic->flags & MPIC_WANTS_RESET)) > if (!(mpic_is_ipi(mpic, hw) > || mpic_is_timer_interrupt(mpic, hw))) > mpic_init_vector(mpic, hw); > > Thus when 'no-reset' is thrown it ensures that only the sources which > are mentioned in the device tree are actually initialized. The net > effect should be the same as what 'protected-sources' was accomplishing, > but without having to maintain the list of sources in the property cell. That sounds like a good idea, but unfortunately, it's not what SLOF implements on QS21/QS22. It's a legacy product and there won't be any firmware updates. Moreover, it relies on the open firmware implementation and cannot boot with a flattened device tree image, so I don't see how your patch can work on the old systems. Maybe you can treat the presence of a 'protected-sources' property the same way that you treat the no-reset property? Arnd _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev