From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 559ADFD0045 for ; Sun, 1 Mar 2026 01:32:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Egw/f4njRtj07v56CFOMFoUP6yVhDebJFnyXHdjmMQc=; b=BLd5hFYlQ6Bthg3M+aASDTwWNb wKrYJWn64KdXpt5K2sZwxOn+bQ7fUOLQVXe3FjZpag6FCktaWi49VMYYiVxrg1u4ZIxXcTBeEF7MM 5xfhVTriMzmJYeRsL1Gwh9ChqLqVDefBpw2Xlsk8rW5+i4kjdIAx3T4DYO9k7evHFekwBPTW7khfV bPLzURqMIwCsY6IGy8ARchSA2ahebC0cnCoQyQ90QYK+s/eXFS2Hktj4CN6DlGdOd5hmbYEdfc7mT B43ocG8nN+0aYLIPxEtjRH0+9qM/Euif32llvS7BZKq661fw084/IBsUaR18u9Q805rm37uJw2dJO C/lPLzrQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vwVfj-0000000AZEW-1PQh; Sun, 01 Mar 2026 01:32:39 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vwVfg-0000000AZDo-2cZf for linux-arm-kernel@lists.infradead.org; Sun, 01 Mar 2026 01:32:37 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id F3B0260123; Sun, 1 Mar 2026 01:32:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C7CAC19421; Sun, 1 Mar 2026 01:32:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772328755; bh=9fYSxnPNDhFgvAuFV4F06sg40MXJCAWjeCEgEADrTxo=; h=From:To:Cc:Subject:Date:From; b=ZTJ6XxDfojSKEZFuFN3+sjpZgsugVrQxl/s+lwr4nwOGo5P3r7ovmTM70G2NPKo6S NC6vKcislxnLB0AB9RKuyutH4TZWeZ7T0zkZnYu8+PK7064cLwzXBinhggGRG0BjyX zw8i5b+VLDRDEOtD6q+X3h/cpTUsT+Ce1BTWMn+4+hJD+Sdm4XAYrr52B+ROjhCHKN Rmehm3CbvltErtWOBP5ywUkXoHsxJ4aZaQZE6sR1SlcW+GzQdSUHWIsv7xYX68XE/0 //RiTLi0eANXbZhHglev3lGYsgHg7Lim6FrntJwdUkgKGjBYIqlny/R+zwmdZcu4Lp VvvArDlOQHk8Q== From: Sasha Levin To: stable@vger.kernel.org, johan@kernel.org Cc: Andrew Davis , Nishanth Menon , linux-arm-kernel@lists.infradead.org Subject: FAILED: Patch "soc: ti: k3-socinfo: Fix regmap leak on probe failure" failed to apply to 6.6-stable tree Date: Sat, 28 Feb 2026 20:32:33 -0500 Message-ID: <20260301013233.1691549-1-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 X-Patchwork-Hint: ignore X-stable: review Content-Transfer-Encoding: 8bit X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The patch below does not apply to the 6.6-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . Thanks, Sasha ------------------ original commit in Linus's tree ------------------ >From c933138d45176780fabbbe7da263e04d5b3e525d Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Thu, 27 Nov 2025 14:49:42 +0100 Subject: [PATCH] soc: ti: k3-socinfo: Fix regmap leak on probe failure 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 Acked-by: Andrew Davis Link: https://patch.msgid.link/20251127134942.2121-1-johan@kernel.org Signed-off-by: Nishanth Menon --- drivers/soc/ti/k3-socinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/ti/k3-socinfo.c b/drivers/soc/ti/k3-socinfo.c index 50c170a995f90..42275cb5ba1c8 100644 --- a/drivers/soc/ti/k3-socinfo.c +++ b/drivers/soc/ti/k3-socinfo.c @@ -141,7 +141,7 @@ static int k3_chipinfo_probe(struct platform_device *pdev) if (IS_ERR(base)) return PTR_ERR(base); - regmap = regmap_init_mmio(dev, base, &k3_chipinfo_regmap_cfg); + regmap = devm_regmap_init_mmio(dev, base, &k3_chipinfo_regmap_cfg); if (IS_ERR(regmap)) return PTR_ERR(regmap); -- 2.51.0