Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2152715rdd; Fri, 12 Jan 2024 00:24:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IHB8Ru4Mphrn3lD7Buqa3oMtRT/++X5Sf9I9ETwg+tqHpnpKpm5LaXq0Bf3hi65xfATtVzn X-Received: by 2002:a05:6512:1391:b0:50e:4f64:9c78 with SMTP id fc17-20020a056512139100b0050e4f649c78mr464291lfb.129.1705047883043; Fri, 12 Jan 2024 00:24:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705047883; cv=none; d=google.com; s=arc-20160816; b=uUyjjzgsOQhHhUSokdejNecXUfZwaqu2IhXNNH/zqIBZo24Sg3DtpzMvs8V9OTdaZx Os05BxGYfHGjf2aUZwsN/xEvfz1uiGP1rIw1COaCHgXMs87/X5n6ivBlxSsXAeMWmclK e+xbkw0QWjLGAZkF6/gvafQGG3e+QgOY3Z/ecN2EZ3Kwn+fbit+4FMvCUNLj7n39Pomf XqHAXwNmvNho8Z8EriBFKgUiStnp1uU1715EHHyHQSzaY0YMQC2+1X621Q0sQpogyThe fYE8QlKnxYLdYUiZMtF1vsy8i25teSO67m/FEZGkfdUEXee481sXNH7Y9mleqkFHTEy5 9ddw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=mwO1o1MVlkTnBwM3yZCDOA6cAzYCKTlNN3wIP9L9uaE=; fh=k/8N72q3R/uZEKxv/mCUsgteaPbfTonNEy78ACAsCBE=; b=aCw7eVydtlkkqVFW4M+wYLyGLvMP66oCq10oL9r6tbGbDCdUwUBpqAnKgP1RsVW/yI P1GNX+IHq1Zmtjm6W5snoyCUVwfWiKLKOq9Dsh9jJcj7+ZAWpFVNhqVC/BVKTaTflMX+ SmLT3dV4t+iX1QUReIaF1ee/Xe34B3VzowpN2kwB0JyBt7rIxsqCLb+INvKNM6QJokhc tMwQVHDySPmq36M/lyGAl+lDDZ4WwenyOVUa9X4iwftzcri/iYFC8oBdqPzULU30Anth E7+M+lXkKT7VLQet499qHDBcXEX3uJQz6HRHGInx8/+TDeJtQpPP+ytY63hQB2gUGP7g ChSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JZ+u1VSL; spf=pass (google.com: domain of linux-wireless+bounces-1793-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1793-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n23-20020a5099d7000000b0055390d3c062si1212859edb.529.2024.01.12.00.24.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 00:24:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1793-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JZ+u1VSL; spf=pass (google.com: domain of linux-wireless+bounces-1793-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1793-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B5EA91F237E8 for ; Fri, 12 Jan 2024 08:24:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 321825D73C; Fri, 12 Jan 2024 08:24:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JZ+u1VSL" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1932D524C0 for ; Fri, 12 Jan 2024 08:24:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5AA76C43390; Fri, 12 Jan 2024 08:24:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705047877; bh=wy11WvA+L49StKXUfkcnYNhF7BZlgsmUfBARPZg1eks=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=JZ+u1VSLguqGGIZ82VsReCwl2NsxooLCcMBT0ylmVYE14zgxLKNMgzEYHRiEJj+5a D7Sy15HZuP6C2lqLtSWseqVyMZ3QqZngiA5ulCL0xCflbhKPxbQ0zlMyH2RUW5J730 h6scMZZA61GcyQkCY/vjUfj7U1iUsNg6gjYcGwtUo9ZpoXZnefy5EXENM4qK+zCJqn pgMaNLEs8oswAUVwOmN82pgtFz4ddfOR1zaNHHv7hqK0lt4ueJ/UZGHCzhR7t54MiF OMfuzCbR2w5zYx38EC63ObkuhqGCdDfnh4t4+GwWsJojxWsAgTdX3HPeh2/aXdhSyw /xYxvUW4gArqw== From: Kalle Valo To: benjamin@sipsolutions.net Cc: linux-wireless@vger.kernel.org, lenb@kernel.org, Benjamin Berg , ath11k@lists.infradead.org Subject: Re: [PATCH] wifi: ath11k: rely on mac80211 debugfs handling for vif References: <20240111170629.1257217-1-benjamin@sipsolutions.net> <877ckfip1g.fsf@kernel.org> Date: Fri, 12 Jan 2024 10:24:34 +0200 In-Reply-To: <877ckfip1g.fsf@kernel.org> (Kalle Valo's message of "Thu, 11 Jan 2024 22:38:19 +0200") Message-ID: <87a5pb9cxp.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Kalle Valo writes: > benjamin@sipsolutions.net writes: > >> From: Benjamin Berg >> >> mac80211 started to delete debugfs entries in certain cases, causing a >> conflict between ath11k also trying to delete them later on. Fix this by >> relying on mac80211 to delete the entries when appropriate and adding >> them from the vif_add_debugfs handler. >> >> Fixes: 0a3d898ee9a8 ("wifi: mac80211: add/remove driver debugfs entries as appropriate") >> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=218364 >> Signed-off-by: Benjamin Berg > > Adding ath11k list so that the whole team sees this. Thanks, this patch passes my ath11k tests and I don't see crashes anymore. But what about other drivers, can we trust that they don't have similar problems? I'm just wondering should we consider reverting the mac80211 commit for the time being? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches