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 B0CB8FD0048 for ; Sun, 1 Mar 2026 01:21:21 +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=L+uP6Cw2Hpg4YP0OcfoRuNsZ3wlam6TQhTtU6C8hUuQ=; b=mb5ADzzscFkeV15U8KRr9c9rIk pqYw8Eh9fiZdWtluKUiihvsZXAwKbCfTbR+HbmJlKUyV64hM+TsM2Q24S2k3bahDHWXZd/qrmcPnu +AufaLTRKRf3wgn7owEYWvQt7v6N2JOk5Xq9FR9oIIyJ7LowGGcg420buKdZZT5jKIEdlZ1Upg10m rDjYmTnvKh6srZvpBP4xddOd6KYLc0KrKO5b7b13dYeywHSxNYfrg1kL9/OwTrOPInPQG3RSgl/1p PMARjHRhHhH6gKBaHrNjaY2MGy4tMuNtDIVPYhZ7snbQCfSSBSpnCX7NIX6rAS1FnifsPg1MB+wBW OF5cuQ9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vwVUf-0000000AUZQ-33v4; Sun, 01 Mar 2026 01:21:15 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vwVUe-0000000AUZ9-13Uh for linux-arm-kernel@lists.infradead.org; Sun, 01 Mar 2026 01:21:12 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 6AF7760008; Sun, 1 Mar 2026 01:21:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82E82C19421; Sun, 1 Mar 2026 01:21:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772328071; bh=4WWKyiG9qAaiOSxqqzzHrHoxjrCIcIALKXvNgcOKJXU=; h=From:To:Cc:Subject:Date:From; b=YMpYDi5fLXp33kTYe0rMUU98zUPtvjtCz4tX5sc4tlPYIOIGUym0AU7bVcGFPkUCf 81IJ7dFxyivvv9W5qDGbkYd9iE2iXWqQuB22qca6Zik58l5yF5gJoNMysvePKGxEAZ aOpUqv1Z7PwpHvqLxwJVr5YNFlp/z6yZMRoPmdsE6RC3oPFJMsiL4oJpMv4WjUc8xJ Mz08kUbWnokLPKWHcK7Y+dsRm5Sj/KAnf7vVVZnbKAo6i3sODSbIfLAHbv1hw++sRw 1V8Z4jxcPLOKebwUGrGdDnnzsSRQGQcuXS5cs8XKX3ePpwBkUwYggdsOUKg0XnBDVv QarPpB11umiNA== 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.12-stable tree Date: Sat, 28 Feb 2026 20:21:09 -0500 Message-ID: <20260301012109.1676981-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.12-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