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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B65AC433EF for ; Wed, 13 Jul 2022 19:49:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236845AbiGMTt2 (ORCPT ); Wed, 13 Jul 2022 15:49:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230331AbiGMTt0 (ORCPT ); Wed, 13 Jul 2022 15:49:26 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB11026102 for ; Wed, 13 Jul 2022 12:49:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vLDEqhzo2TaQVwqjUuNT+W0GxvNmOEUkAw73oQRdZgM=; b=qDvNOAgq0NAckeNXodpxM/2sNr XXzohI48XYlUc+QzgVkHAnsxXPEJg+UhJnJE5agvMXCyZ625ZYkSmBLlspeiq2dwlhGP5Mdu254xX 6gCqzUM7W/dnCtlkzn81TGJDdGyHihRArgI+6HXun7sZt9ZeWfgibhRFyIi1tVkOAT8Re7GFzYequ 6WUJX8AyDSwz0qBFhRuS7fGa12F4/O9Eo58PZk6qxHslGQRaBz7zlDYk2Tlj2Gn8oj9j+rrmCiAIf WKY9w3ykUJazd4lNTqPSarhmuCkaHngOBXqizVrRrlLUG0qF6U/BuidZJf4XuoWPy5Bxf5XzcZEAR uMe+3n1A==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:33320) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oBiM4-0004yJ-0v; Wed, 13 Jul 2022 20:49:04 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oBiLy-0005vT-Po; Wed, 13 Jul 2022 20:48:58 +0100 Date: Wed, 13 Jul 2022 20:48:58 +0100 From: "Russell King (Oracle)" To: Linus Torvalds Cc: Guenter Roeck , Harry Wentland , Leo Li , Alex Deucher , Balbir Singh , Daniel Axtens , Paul Mackerras , Michael Ellerman , Kefeng Wang , Linux Kernel Mailing List , amd-gfx list Subject: Re: Linux 5.19-rc6 Message-ID: References: <20220713050724.GA2471738@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 13, 2022 at 12:36:50PM -0700, Linus Torvalds wrote: > On Tue, Jul 12, 2022 at 10:07 PM Guenter Roeck wrote: > > OF: amba_device_add() failed (-19) for /amba/smc@10100000 > > ------------[ cut here ]------------ > > WARNING: CPU: 0 PID: 1 at lib/refcount.c:28 of_platform_bus_create+0x33c/0x3dc > > refcount_t: underflow; use-after-free. > > This too has been going on since -rc1, but it's not obvious what caused it. > > At a guess, looking around the amba changes, I'm assuming it's > > 7719a68b2fa4 ("ARM: 9192/1: amba: fix memory leak in amba_device_try_add()") > > Does reverting that commit make it go away? There may be a patch that solves that, but it's never been submitted to my patch system: https://lore.kernel.org/all/20220524025139.40212-1-wangkefeng.wang@huawei.com/ I'm sorry, but I'm utterly crap at picking up patches off mailing lists, so if stuff doesn't end up inthe patch system, it gets missed. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!