[PATCH v1] ARM: npcm: Fix OF node refcount leaks in SMP setup

Andrew Jeffery andrew at codeconstruct.com.au
Wed Jul 22 06:53:38 PDT 2026


On Sun, 24 May 2026 23:38:46 -0400, Yuho Choi wrote:
> npcm7xx_smp_boot_secondary() and npcm7xx_smp_prepare_cpus() look up
> the GCR and SCU nodes with of_find_compatible_node(). The returned
> nodes are used for of_iomap(), but the node references are never
> released.
> 
> of_iomap() does not consume the device node reference, and iounmap()
> only releases the MMIO mapping. Drop each node reference after the
> corresponding mapping attempt.
> 
> [...]

Thanks, I've applied this to the BMC tree.

-- 
Andrew Jeffery <andrew at codeconstruct.com.au>




More information about the linux-arm-kernel mailing list