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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 45FD7C43334 for ; Thu, 14 Jul 2022 01:39:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A3A0912B50F; Thu, 14 Jul 2022 01:39:48 +0000 (UTC) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by gabe.freedesktop.org (Postfix) with ESMTPS id 849479DAC4 for ; Thu, 14 Jul 2022 01:30:14 +0000 (UTC) Received: from dggpemm500023.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4LjxfC2SPvzVft0; Thu, 14 Jul 2022 09:26:27 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggpemm500023.china.huawei.com (7.185.36.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 14 Jul 2022 09:30:06 +0800 Received: from [10.174.177.243] (10.174.177.243) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 14 Jul 2022 09:30:05 +0800 Message-ID: Date: Thu, 14 Jul 2022 09:30:04 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: Linux 5.19-rc6 Content-Language: en-US To: "Russell King (Oracle)" , Linus Torvalds References: <20220713050724.GA2471738@roeck-us.net> From: Kefeng Wang In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected X-Mailman-Approved-At: Thu, 14 Jul 2022 01:39:47 +0000 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , Michael Ellerman , Balbir Singh , Linux Kernel Mailing List , amd-gfx list , Paul Mackerras , Alex Deucher , Harry Wentland , Guenter Roeck , Daniel Axtens Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" On 2022/7/14 3:48, Russell King (Oracle) wrote: > 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. Sorry to lead to this issue, >> 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/ This patch is to fix the above issue reported-by Guenter, and it merged into linux-next for a while, which Applied in https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=9207/1 > > 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. Is there some special for bugfix patch when send to arm patch system, please let me know if I missed. 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 B5887C433EF for ; Thu, 14 Jul 2022 01:30:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232041AbiGNBaR (ORCPT ); Wed, 13 Jul 2022 21:30:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229758AbiGNBaO (ORCPT ); Wed, 13 Jul 2022 21:30:14 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23B21140E5 for ; Wed, 13 Jul 2022 18:30:13 -0700 (PDT) Received: from dggpemm500023.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4LjxfC2SPvzVft0; Thu, 14 Jul 2022 09:26:27 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggpemm500023.china.huawei.com (7.185.36.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 14 Jul 2022 09:30:06 +0800 Received: from [10.174.177.243] (10.174.177.243) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 14 Jul 2022 09:30:05 +0800 Message-ID: Date: Thu, 14 Jul 2022 09:30:04 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: Linux 5.19-rc6 Content-Language: en-US To: "Russell King (Oracle)" , Linus Torvalds CC: Guenter Roeck , Harry Wentland , Leo Li , Alex Deucher , Balbir Singh , "Daniel Axtens" , Paul Mackerras , Michael Ellerman , Linux Kernel Mailing List , amd-gfx list References: <20220713050724.GA2471738@roeck-us.net> From: Kefeng Wang In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022/7/14 3:48, Russell King (Oracle) wrote: > 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. Sorry to lead to this issue, >> 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/ This patch is to fix the above issue reported-by Guenter, and it merged into linux-next for a while, which Applied in https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=9207/1 > > 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. Is there some special for bugfix patch when send to arm patch system, please let me know if I missed.