On Tue, 2015-07-21 at 12:45 +1000, Anton Blanchard wrote: > Hi Ian, > > > From: Ian Munsie <imun...@au1.ibm.com> > > > > If the system has a PCI device with a memory-controller device node, > > kexec-lite would spew hundreds of double free warnings and eventually > > segfault. This would result in a "kexec load failed" message from > > petitboot. > > > > This was due to kexec_memory_map() searching for "memory" nodes, but > > actually matching any node that started with "memory", including these > > "memory-controller" nodes. This patch changes the search to look for > > nodes starting with "memory@", which should only match memory nodes. > > Nice catch! I wonder if we should be checking for device_type > "memory". Ben?
Yes. That's what Linux does. cheers _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev