From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E4B2731A572 for ; Sat, 15 Aug 2026 16:59:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786813200; cv=none; b=u79XD2Ml92gQJ0qjumSuseED8/WM7P9GUsxxLQHS01yyJGI7qLDyFI+m3z/AFGLmkxBZkiGPN+4ZtVqTepmD9hzDLwKuoZvVtZDbukvpzoEGksdO8kf6dxaTKNPfBHf2E1rPQb7ml5kZPviLIKWBZHFKoUFHeF5Iws4xnplNh1s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786813200; c=relaxed/simple; bh=hk8ey2BiC+ojmYOxKlXaJZgRJXTiWL54rqZdd/V98p0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=r//Ei70Er6s8GEf/VU4pUK76Wr+VbAEeBWzZl9pSfNNXMvBcJ90rPjnZTSHfjcwTmLLTpyTbXLpcXC/rq5t2yoIxC0tXRTbRC87DMG5V7mwuFjgvXrJpVXqNJQl37QGoT8YYRGWzN4eEoBhvDfCEXOm0RrzMHvZAxEd2dLy4xco= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=jMfRVYie; arc=none smtp.client-ip=209.85.167.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jMfRVYie" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-5b29599b81cso2589232e87.1 for ; Sat, 15 Aug 2026 09:59:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786813197; x=1787417997; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=vo0gH5walmOuH9TG7vKE8plLHSq7YWG1GGcACj/aHik=; b=jMfRVYieVSeIk81PPacHcktuUqySQmbZqEsbp256ge9rl7ht6LhY9SqrrbE+y04Maa v0AJYcROCKrvVCJVvnpPcVnAMDNYmSq8VlAff6QSd7I5GYS35LyOzsr7zROJdyFNj4je LNOkW/o+l36llRkNZ4w5wrHmMGWm8daJrO8WDRiLeh/fTY/zH7ScHHzq2QsbA1Pt12vD RNcst31OPTFmY1eRkoiGDKYuMaNID5vKx2PchWYCWgWqr7dYmmlZExtSgVDxYL2rCpos i2JrnDj22Bb3MlhUWZnJrRHL5fn3N/hXoRy6JNApXmauJLsW4wOaSp9M+PZkk0KJVX+a c1Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786813197; x=1787417997; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=vo0gH5walmOuH9TG7vKE8plLHSq7YWG1GGcACj/aHik=; b=LdFNbLK/M4oZaQhq07xIM9hI/tC/QYzVoclgL0RwJQwMWF6dTfRk43W+m7urRfwT+n Kaqj49UjEzPxb4+5H8EzCXRny087oV5KDpFbRotDE7NcdpXYea1fEaQP6uzpQ/AjxlHE 9VMIZyQutgWlyUmfX8su4C/Uq+8IjvthIl7Iivn0+74QzmOYDrcAo1aSfVAuFgiW1Vv7 jURMxZI1fdFpGKhyDBNLSKGMRr09PcJ1yc3Q6+VwiyShvp4d+DGXH54BVA7XShNteJgh ELFaiifVknmttIgnLJjxIwXG4rhQnBHJrEtMp7zYkwHgPoKrSfyRD+xO70VCw4bEZUXf e83w== X-Forwarded-Encrypted: i=1; AHgh+Rro8IZ33eLlmuF9khK169XcXxs2dgmrMVEZUzX5WBOpIb1X9AUzZpAsUIt+sgeiv7vsqFBxDM3xi78eep8=@vger.kernel.org X-Gm-Message-State: AOJu0Yzy3iCB2XXb7tcZjTvfiURS9kQAes6Hg+A6Va+sD0d1Jtz0nRsz T8jfzYNn6RpPHm2pyx5K6aTfQcstLTi9ab4Z0N8pkTfAKXHE1LQt4F2v X-Gm-Gg: AR+sD11Rpi65NXWeL+3NmlF/jvYs2rmw9nGu/5PUmM8dumQLMd7lutHyDpmoaAg2g05 MMJhY/WANHhpJoKA23dad1+F5RjFS+UU4pHzpaozzp9ibdSbmYPyl8104h3wt+4tcLo3vjvT6NW Fix6WOQWTA8d+mZiHsiSFKxbkgJAiB6DNfR5kRr4IWq+ga7CJsg3o6rZBPG20naqV1XRk46b/qA MHOvW46jU/M/x36Utzql/HDs04KEtB//CLp3JydIOcjid1TM3Bwu5ZQvZKotC7L+1lU59MWg+Bx 0WP4E9TtZfGv21xkewJEGuw/WRSd8zl0Cc+DM0bddAeZtiZ067o27QehobKHLeKc+9B6EWOiTVC Dq60G4rdZ33Co0bZ1jgQViiJek/y3kLVO292fkr9r1CGAfuYipaL6GmbbVe4fhN0RdzIG7Li2Cw G6WIfxoqMi/dkzmFxI4F2xlzh/iWOXxLcxNfB5Oqwqnhgl6b6L+EysHEsIvE2l3FsPfIdMPOYE5 dUEDkCAjg2ZsNZZhPPtjIZroX0v9QtZQNQ= X-Received: by 2002:a05:6512:3043:b0:5b4:5352:e2da with SMTP id 2adb3069b0e04-5b459109648mr2103872e87.6.1786813196636; Sat, 15 Aug 2026 09:59:56 -0700 (PDT) Received: from localhost (host-80-73-162-2.rev.as20985.net. [80.73.162.2]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5b458b9a9bfsm1274885e87.6.2026.08.15.09.59.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Aug 2026 09:59:56 -0700 (PDT) From: Andrey Golovko To: Mikhail Gavrilov Cc: Nicolas Cavallari , Thorsten Leemhuis , Felix Fietkau , Lorenzo Bianconi , Ryder Lee , Shayne Chen , Sean Wang , Bert Karwatzki , Devin Wittmayer , Eric Biggers , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Linux kernel regressions list Subject: Re: [PATCH wireless] Revert "wifi: mt76: Disable napi when removing device" Date: Sat, 15 Aug 2026 20:12:00 +0300 Message-ID: <20260815201000.9134-1-andrey.golovko@gmail.com> In-Reply-To: <20260804120004.523934-1-mikhail.v.gavrilov@gmail.com> References: <20260804120004.523934-1-mikhail.v.gavrilov@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tested-by: Andrey Golovko Third machine, third form factor: an ASUS ProArt PX13 HN7306EAC, AMD Strix Halo, MT7925 on PCIe (14c3:7925, mt7925e). Kernel is v7.2-rc6 plus unrelated ASoC patches, so the regression is still there in rc6 and rc7 - the 7.2 release is about to ship with it. Before the revert: every poweroff and every reboot hangs after the displays go off, machine stays powered, only holding the power button recovers it. 'modprobe -r mt7925e' hangs the same way, with the stack you posted: napi_disable_locked+0xe9/0x100 napi_disable+0x25/0x50 mt76_dma_cleanup+0x178/0x370 [mt76] mt792x_dma_cleanup+0x8f/0xb0 [mt792x_lib] mt7925_pci_remove+0xd7/0x1a0 [mt7925e] After the revert: five poweroffs and one reboot in a row, all clean, and 'modprobe -r mt7925e' returns immediately. One thing that may save the next person some time. The hang is silent - no watchdog fires, and here even the panic-on-stall sysctls were all set to 1 by kdump-tools, so hung_task_panic could not catch it either. But device_shutdown() prints ": shutdown" before each callback when initcall_debug is on, so booting with initcall_debug nomodeset names the culprit on the console: nomodeset keeps amdgpu from taking over the framebuffer, so efifb survives to the end of the shutdown, and the last line on the screen is mt7925e 0000:c2:00.0: shutdown with no "reboot: Power down" after it. That points at the guilty .shutdown callback in one boot, without netconsole and without a serial port, which on a laptop is the difference between diagnosable and not. Andrey