From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 68F2C2D94BB; Wed, 14 Jan 2026 11:04:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768388653; cv=none; b=R7rhSil/8XUBOXga6fWUOTEmhLAOH3VUbdJkuvdcVvzO5SyhlEQtfC6VxsIo4/BqzrWGaqpNeVkfauLy/itUFTAk1IwKy9sMcBS/sHh/QlZcPekRMBPwWPkpiPUZ49X2QZaJG4YI6xDBH00hQAbdp8WNHnwrT268XJ29MtQVsng= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768388653; c=relaxed/simple; bh=hIrixXtFyZal2+s8Tsd7UycF82XubUKq7ZgNR6lwRWs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TthQjtqJPKodRqskpC4rsu2P0yDNGLpDu0Ne06xeCYZt3L006apLGhWVE7rghUgd/IoYTGX7uuqGlBFOH6mKDUi2xl4dp8MnLiP4FsYsvELOqmqHqrG0wbhEUyriIAmhoeCqDJrij4DQLR1diHvTm7pk73FzAU8FI3E5aqPtwcE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nmdtSw4i; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nmdtSw4i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75416C4CEF7; Wed, 14 Jan 2026 11:04:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768388652; bh=hIrixXtFyZal2+s8Tsd7UycF82XubUKq7ZgNR6lwRWs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nmdtSw4idmg1xfDdi+ByZXAXP1Wrf7gGpHtnSerrxd0DQbEuuwNILky1wAuG72SYt 45mA0Zev0MHomsmHoTGzp1tO0aKrBx16idTusyHRXjrwJeTJKQgUyP6kX0VFoJTKwe CGpwl6ZwUTwCtXIdwPHojS21V+hQF3PfeK2raehJ/Jm8xnt3u8F55WsyJ1upU7cUJH GFMBi7F7Cvs41PWro/oGTy9EbPWLvOu9vNpGoYyEarXD7bxIMtar7ZJjyaNHRHmcp/ egksGyYXHiz8kmBzPEIqNu4Qgh/WNCw5ahm9e/fxYz+jPkCxRWoJLC931C+youFkhc eeus1oh0/d8lg== Received: from johan by xi.lan with local (Exim 4.98.2) (envelope-from ) id 1vfyfW-0000000036p-0K5T; Wed, 14 Jan 2026 12:04:06 +0100 Date: Wed, 14 Jan 2026 12:04:06 +0100 From: Johan Hovold To: Nishanth Menon , Santosh Shilimkar Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Andrew Davis Subject: Re: [PATCH] soc: ti: k3-socinfo: fix regmap leak on probe failure Message-ID: References: <20251127134942.2121-1-johan@kernel.org> 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=us-ascii Content-Disposition: inline In-Reply-To: <20251127134942.2121-1-johan@kernel.org> On Thu, Nov 27, 2025 at 02:49:42PM +0100, Johan Hovold wrote: > The mmio regmap allocated during probe is never freed. > > Switch to using the device managed allocator so that the regmap is > released on probe failures (e.g. probe deferral) and on driver unbind. > > Fixes: a5caf03188e4 ("soc: ti: k3-socinfo: Do not use syscon helper to build regmap") > Cc: stable@vger.kernel.org # 6.15 > Cc: Andrew Davis > Signed-off-by: Johan Hovold Can this one be picked up now? Johan