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 AAA50C433F5 for ; Mon, 14 Mar 2022 07:21:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236487AbiCNHWr (ORCPT ); Mon, 14 Mar 2022 03:22:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235155AbiCNHWq (ORCPT ); Mon, 14 Mar 2022 03:22:46 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B39A240933; Mon, 14 Mar 2022 00:21:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 755B9B80CD7; Mon, 14 Mar 2022 07:21:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8245C340F4; Mon, 14 Mar 2022 07:21:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647242495; bh=cmodLFZPuWoM/tYXSod9U1Ip4syNnDutYRJzhdbZAmM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lMesE4T6Eo5luaxvASTR+ZVE800zgPs/O7rXOZbAx1TbVwaxOx7xGESJK4AuiXqnv kaZAryZdghW2xyFAK+nc8HeGvUDpDr8cIRImrz9916Web5WBNixFPb6e5qW4raai4e ReE+XHhToQBSszfNRwVV9szg1OtlTsl7xhfmQT88= Date: Mon, 14 Mar 2022 08:21:30 +0100 From: "gregkh@linuxfoundation.org" To: Vladimir Oltean Cc: Daniel Suchy , "davem@davemloft.net" , "rafael.richter@gin.de" , "netdev@vger.kernel.org" , "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: patch problem - mv88e6xxx: flush switchdev FDB workqueue Message-ID: References: <20220313141030.ztwhuhfwxjfzi5nb@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, Mar 14, 2022 at 07:38:50AM +0100, gregkh@linuxfoundation.org wrote: > On Sun, Mar 13, 2022 at 02:10:31PM +0000, Vladimir Oltean wrote: > > Hi Daniel, > > > > On Sun, Mar 13, 2022 at 03:03:07PM +0100, Daniel Suchy wrote: > > > Hello, > > > > > > I noticed boot problems on my Turris Omnia (with Marvell 88E6176 switch > > > chip) after "net: dsa: mv88e6xxx: flush switchdev FDB workqueue before > > > removing VLAN" commit https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2566a89b9e163b2fcd104d6005e0149f197b8a48 > > > > > > Within logs I catched hung kernel tasks (see below), at least first is > > > related to DSA subsystem. > > > > > > When I revert this patch, everything works as expected and without any > > > issues. > > > > > > In my setup, I have few vlans on affected switch (i'm using ifupdown2 v3.0 > > > with iproute2 5.16 for configuration). > > > > > > It seems your this patch introduces some new problem (at least for 5.15 > > > kernels). I suggest revert this patch. > > > > > > - Daniel > > > > Oh wow, I'm terribly sorry. Yes, this patch shouldn't have been > > backported to kernel 5.15 and below, but I guess I missed the > > backport notification email and forgot to tell Greg about this. > > Patch "net: dsa: mv88e6xxx: flush switchdev FDB workqueue before > > removing VLAN" needs to be immediately reverted from these trees. > > > > Greg, to avoid this from happening in the future, would something like > > this work? Is this parsed in some way? > > > > Depends-on: 0faf890fc519 ("net: dsa: drop rtnl_lock from dsa_slave_switchdev_event_work") # which first appeared in v5.16 > > The "Fixes:" tag will solve this, please just use that in the future. Ah, you did have a fixes tag here, so then use the way to say "you also need to add another patch here" by adding the sha to the line for the stable tree: cc: stable@vger.kernel.org # 0faf890fc519 So, should I just backport that commit instead? The "Fixes:" line says this needs to be backported to 4.14, which is why I added it to these trees. thanks, greg k-h