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 C23B8C25B78 for ; Tue, 14 May 2024 22:44:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=cFEcEO1ZdR0n57dZlmO+jckb0CW/bu57/fHtqK6i6n0=; b=G9P wb+aMOmsQ3WlCvEK4oFhQz2tSXSPLLSZa9vkDQn9+a7fI2TkVngFPcH4GozcO1tbAyE0qdiiFTOJy WpnXB+sr7ddFv4yE24blfG7BmKwRAaFmnZYnYcFUlyNgBgK/8+BS/jF8TJ8GffsEY9uSLuUe1eXzE jT6D3vjcpR8JDDR58H8Vi946+jxf72yhpSeLOhZHzAGie67FgtNyFeyLWw47pH5WYqSbJdpNb3xUd I1qjS1JU+MZvmPpPO8i5Tux81TOCqQtUuWrUetmmjIomn/fALS/GwbmOJp9hLVWhb94wKO7RslPw9 iSRzManP2YYP7Q1+KAurXjHsyhJLyyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s70sP-0000000HN6j-3cHI; Tue, 14 May 2024 22:44:05 +0000 Received: from prime.voidband.net ([2a05:f480:1800:ee:5400:4ff:feab:5961]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s70sM-0000000HN5J-16Zw; Tue, 14 May 2024 22:44:03 +0000 Received: from spock.localnet (unknown [94.142.239.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by prime.voidband.net (Postfix) with ESMTPSA id CA43E6356CD1; Wed, 15 May 2024 00:43:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1715726632; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=ymcQ45iu4hDaEHeH8btPmGyWeGOf494Z6bYBFnE1uQs=; b=o1i/63AH2YTXKLymJMF6Q/zPc71meESNMccl5+/RBSrzv0N5TQJpkDPPz9chEh18whhV43 rIYJJawBbHrn+/VHzj0XYWPgt2G5OTcZ0AAj4zXhjxMk2io6dbESmQduunJtauVOUmPvYS BeICQKyTriIogps3Gp5RYa0ahRW2DW4= From: Oleksandr Natalenko To: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, "Linux regression tracking (Thorsten Leemhuis)" Cc: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Felix Fietkau , Lorenzo Bianconi , Ryder Lee , Shayne Chen , Sean Wang , Kalle Valo , Matthias Brugger , AngeloGioacchino Del Regno , Peter Chiu , StanleyYP Wang , Linux regressions mailing list Subject: [REGRESSION] MT7915E doesn't work any more with v6.9 Date: Wed, 15 May 2024 00:43:40 +0200 Message-ID: <6061263.lOV4Wx5bFT@natalenko.name> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240514_154402_619306_EFDB5AD1 X-CRM114-Status: UNSURE ( 7.52 ) X-CRM114-Notice: Please train this message. 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: , Content-Type: multipart/mixed; boundary="===============1886817074346691681==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1886817074346691681== Content-Type: multipart/signed; boundary="nextPart4936095.31r3eYUQgx"; micalg="pgp-sha256"; protocol="application/pgp-signature" --nextPart4936095.31r3eYUQgx Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Oleksandr Natalenko Subject: [REGRESSION] MT7915E doesn't work any more with v6.9 Date: Wed, 15 May 2024 00:43:40 +0200 Message-ID: <6061263.lOV4Wx5bFT@natalenko.name> MIME-Version: 1.0 Hello Felix, Lorenzo et al. With v6.9 kernel the following card: 01:00.0 Unclassified device [0002]: MEDIATEK Corp. MT7915E 802.11ax PCI Express Wireless Network Adapter [14c3:7915] doesn't work any more. Upon mt7915e module insertion the following splat happens: mt7915e 0000:01:00.0: enabling device (0000 -> 0002) WARNING: CPU: 3 PID: 1648 at net/mac80211/main.c:794 ieee80211_alloc_hw_nm+0x9a3/0x9f0 [mac80211] Call Trace: mt76_alloc_device+0x24/0x290 [mt76 46e2c4f11be089903469a4d6045c71cb7842b4cd] mt7915_mmio_probe+0x33/0x1d0 [mt7915e 9657e1926e619568545a08636674805d5e665c85] mt7915_pci_probe+0xe1/0x3a0 [mt7915e 9657e1926e619568545a08636674805d5e665c85] pci_device_probe+0xf0/0x2d0 really_probe+0xde/0x3b0 __driver_probe_device+0x78/0x110 driver_probe_device+0x1f/0x130 __driver_attach+0x91/0x1e0 bus_for_each_dev+0x105/0x160 bus_add_driver+0x137/0x270 driver_register+0x72/0xd0 mt7915_init+0x44/0xff0 [mt7915e 9657e1926e619568545a08636674805d5e665c85] do_one_initcall+0x5b/0x310 do_init_module+0x60/0x220 init_module_from_file+0x89/0xe0 idempotent_init_module+0x121/0x2b0 __x64_sys_finit_module+0x5e/0xb0 do_syscall_64+0x82/0x160 entry_SYSCALL_64_after_hwframe+0x76/0x7e mt7915e 0000:01:00.0: probe with driver mt7915e failed with error -12 and the card stays non-functional. Re-inserting the module triggers the same behaviour. The following condition is triggered: 794 if (WARN_ON(!ops->add_chanctx || 795 !ops->remove_chanctx || 796 !ops->change_chanctx || 797 !ops->assign_vif_chanctx || 798 !ops->unassign_vif_chanctx)) 799 return NULL; This worked with v6.8 and earlier just fine. Please help. Thank you. -- Oleksandr Natalenko (post-factum) --nextPart4936095.31r3eYUQgx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEZUOOw5ESFLHZZtOKil/iNcg8M0sFAmZD6RwACgkQil/iNcg8 M0t51w/8D3g7txAegNSZpXa63mdTbT+c29E+FV+JlJt/8IT9PXn5f5kRQbJ0JAEz lbzLs5P7MP9zjlmeuugOjE0fya0bHpZ4RcPrlCG6/55mxFiIDTE4qMa6fxWGZych U6uhme7uymB/Gw46VTkH8U+ybMYXj/hHc+lWVLmu8vy0NAuio4pShlq4bLtKR5qb NtrbVhviTvSSpKvUMwYVDjHLcfjmRbaw2HWYINI6DUpEFxoR7QPmIxxjs7tW5cyS OPGNm/JRltUBn6q+VGj8ksnEclmQK9dzCziCd1yIt2g0n8QCRPuv9heJV7dWC+N6 QVTRBsHlh+K+ZAnMCZVr6YYT9UhHOjkKs/2S6LkyH+xcTP7yGzspS5A4nxztgeYQ n4YvEmZco3gsTsBEH3jzl+jYZ9knLbHUUSiG5FtpJdWaHON5+h+nXUfrAm9rQOcl Is8YZuXK4BtpraLkvGW8aiKCTX637Q8q57kDI47ocaqQmRpgKGy67HEHQjcNvz2H 6BKvPwXObs/Zea8XtN5LgAGE58p1JKQZ+KgYNKQl0lD8QVGu0HpmPOeHG55MLyPN MvU1iNzp7NHyMo5CMrXPcFgXp4CeFyv3cFO7L1/LCd5cAgRIlsEp6y9vbzLeUrBW htLUVU2YrSv7AzrKg0Z+R73yT1kTNfnQYTxCcKDEKR37qmoS1rk= =8/WF -----END PGP SIGNATURE----- --nextPart4936095.31r3eYUQgx-- --===============1886817074346691681== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============1886817074346691681==--