From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F37433F59D for ; Wed, 22 Jul 2026 13:53:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784728424; cv=none; b=OLcKXWZMaDwdsrRt5mU8wVXq75kca4xfh52eyl56I996h/ROm2iF3d9FG9Q9UrkSLclxA8tyxK3LvclMCDTDP62Q4NOP40jIXXhKaLZAWxXT/Y/om7MLS9HnY+bEzYzGDXgUndryb/IdMUXGdmrJCUjLtOR245HQGtMiLKEOz4E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784728424; c=relaxed/simple; bh=pLeI5NDrptIGyjJ/vm0Z4a1J6Z6M7xoPtjVlNz44q3Y=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=M7lyePRBUdbYsYNiN6/T/Nm93qV/Nuc3fg4Mdh1RFpInA0kqbjW7Td0S51eB9fIjG7Q9NOMMZ8Tbl3gWzU0WPWq0ENgiy0yIO31QKUkSfq9EskrhO5ytHhMuT4QbiaTOgWbfV2MYCXci4XRqAOhE7WNGt1QVg/yb0bPNsdwMyhs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=fEQu2ZN8; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="fEQu2ZN8" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1784728420; bh=aYBveTePjjg0G5po0SOfHr83wVb5AGXhVTAccd5SD4g=; h=From:To:Cc:In-Reply-To:References:Subject:Date; b=fEQu2ZN89/ADwPeDBwqIgGB7RT/+duAZmOpolZwsvs41wXMyxS0AN988MBdnA95t8 jcVTG2s/0X/6CRBniv+S/am1DLwKsA3gwntAfWsRRV8JzdVwVFh52QYJW/10NSDJ+n H6dJDydNPG+Zg/RTFCW1liCW8FEFy/W7G/OZgoZ1nJlGYq2CyL0PTsBjH7lYesllKG TbR+LUJ2g+HMi8GhmKpjgh1Mvf/7xPs2Uj9yR0nfYrzedY2yJ2kolwJyNKWZgyiJbM Rfi01af3VFlK546aBfZ80FgmfwUCrtxabQT4Ar7+JsW38Yc9/8xMnYi2VJY8J4WTkh io1WMi8IZL/JQ== Received: from [127.0.1.1] (unknown [180.150.112.11]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 7F4D865B37; Wed, 22 Jul 2026 21:53:38 +0800 (AWST) From: Andrew Jeffery To: Avi Fishman , Tomer Maimon , Tali Perry , Yuho Choi Cc: Patrick Venture , Nancy Yuen , Benjamin Fair , Russell King , openbmc@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org In-Reply-To: <20260525033846.1346744-1-dbgh9129@gmail.com> References: <20260525033846.1346744-1-dbgh9129@gmail.com> Subject: Re: [PATCH v1] ARM: npcm: Fix OF node refcount leaks in SMP setup Message-Id: <178472841877.1739993.4789559545976492167.b4-ty@b4> Date: Wed, 22 Jul 2026 23:23:38 +0930 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.15.2 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