Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp6289069ioo; Thu, 2 Jun 2022 03:18:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsyEO3skEa1QE9yg0ogpFex5hpiaMxL6XUGxDjXsuNLZtLnxSghLlUKnb0CPg/MBmguyLZ X-Received: by 2002:a65:554b:0:b0:3fc:159c:823e with SMTP id t11-20020a65554b000000b003fc159c823emr3617303pgr.33.1654165081615; Thu, 02 Jun 2022 03:18:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654165081; cv=none; d=google.com; s=arc-20160816; b=T4VPW87aB+xCwkn2oJ2Jw2uIrhL4bJlZQjpGbqixSxhFlvPWK1rkTFVgBVAKlIj2v7 SdkGY/qg4RNMm9dGD82GgfZRh6OgI8pPJvZ5HCgbB8JeCD2KRtJCwiu/KLHbqq4Mcww7 0+dCVM/ha+xVUhUHVoBtrVt/7KJ954/iuqEIh69V5P+OZVLlRlatSCkdClgyX4jvwFvo gRrKrscWG+SNzc0pnN1YVP4nv/QC6m70fTIQ5YpQmuaeEkh0Hq9pl5Jk28hIHxeTOQuA uVZgpiR2B6tkc3x63toilTbz1Rf3Pdp1FlrtaGOf6qLIxFecLTNticZ6o0zoelfM5Uas I6kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to :reply-to:from:subject:message-id:dkim-signature; bh=6clftNNkW5b/aLVfOs7w8oDA4IjZgT0jJnfYalkyXtc=; b=rrNLIeVrmlSz7wpYtbC7a4U5mrhS/aBMEvN4GBAzGkbFfUuZmXJ+M00YNcjx+XMT29 c3vGmdplC8zGY0/lGppnRXChAk3Nhc4uw5zfY/ljJltkSAoBET17CWYb06LTAN0Wud4C 9G1Xj6ego2n556lLe4gzTlgCAhzD/Sb59wvG7eisZB2CJByB6nzzNXCGXU/ezN6ZQDy5 EwGXBRHnCF1lRSVZXVhm0Sa2T990PSbjgiPEXcRtI2y5nhznKMc/Ib/JE8R6M4k1McD4 C4MCjJ6iIeoILsXtawZr/X7HPiCwFR33yuPorhaq5Xd174RhSUM28PbKRvLCxYh9YFJf E2Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=MpfhxnUi; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c4-20020a056a000ac400b0050fac0168c6si5906707pfl.49.2022.06.02.03.17.47; Thu, 02 Jun 2022 03:18:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=MpfhxnUi; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233342AbiFBKAY (ORCPT + 67 others); Thu, 2 Jun 2022 06:00:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232306AbiFBKAX (ORCPT ); Thu, 2 Jun 2022 06:00:23 -0400 Received: from smtp-190d.mail.infomaniak.ch (smtp-190d.mail.infomaniak.ch [IPv6:2001:1600:3:17::190d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47EA5DF72 for ; Thu, 2 Jun 2022 03:00:17 -0700 (PDT) Received: from smtp-2-0000.mail.infomaniak.ch (unknown [10.5.36.107]) by smtp-2-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4LDM2S0hckzMqVZ1; Thu, 2 Jun 2022 12:00:16 +0200 (CEST) Received: from [10.0.0.141] (unknown [31.10.206.125]) by smtp-2-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4LDM2R1hVrzljk0H; Thu, 2 Jun 2022 12:00:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1654164016; bh=6clftNNkW5b/aLVfOs7w8oDA4IjZgT0jJnfYalkyXtc=; h=Subject:From:Reply-To:To:Cc:Date:In-Reply-To:References:From; b=MpfhxnUiBgc+nT3XyFNggIH4DEYXpuPFvnua6h7NJWilzYTT4MomXlytP5wDq6uDj lP3sLe/hjP4cDifzRVZiBGxdxaZ7YA99O+wL3SUKgDsOPJqSKmqd1p6tvJs6nj47Az BGEAbuMmyRoRhgzAiPemv/lhoB+iIXufekVl5a7M= Message-ID: <75b5f888b2e23f52aabce54ff38ddc70d1ad6a34.camel@pschenker.ch> Subject: Re: [PATCH] Revert "mt76: mt7921: enable aspm by default" From: Philippe Schenker Reply-To: dev@pschenker.ch To: Deren Wu , Kalle Valo Cc: linux-wireless@vger.kernel.org, Felix Fietkau , linux@leemhuis.info, "David S. Miller" , Jakub Kicinski , Lorenzo Bianconi , Matthias Brugger , Paolo Abeni , Ryder Lee , Sean Wang , Shayne Chen , YN Chen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, netdev@vger.kernel.org, regressions@lists.linux.dev Date: Thu, 02 Jun 2022 12:00:14 +0200 In-Reply-To: References: <20220412090415.17541-1-dev@pschenker.ch> <87y20aod5d.fsf@kernel.org> <668f1310cc78b17c24ce7be10f5f907d5578e280.camel@mediatek.com> <87mtewoj4e.fsf@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, 2022-06-02 at 00:55 +0800, Deren Wu wrote: > On Wed, 2022-06-01 at 11:58 +0300, Kalle Valo wrote: > > Philippe Schenker writes: > >=20 > > > On Tue, 2022-04-12 at 19:06 +0800, Deren Wu wrote: > > > > On Tue, 2022-04-12 at 12:37 +0300, Kalle Valo wrote: > > > > > Philippe Schenker writes: > > > > >=20 > > > > > > This reverts commit > > > > > > bf3747ae2e25dda6a9e6c464a717c66118c588c8. > > > > > >=20 > > > > > > This commit introduces a regression on some systems where > > > > > > the > > > > > > kernel is > > > > > > crashing in different locations after a reboot was issued. > > > > > >=20 > > > > > > This issue was bisected on a Thinkpad P14s Gen2 (AMD) with > > > > > > latest > > > > > > firmware. > > > > > >=20 > > > > > > Link:=20 > > > > > >=20 > https://urldefense.com/v3/__https://lore.kernel.org/linux-wireless/5077a9= 53487275837e81bdf1808ded00b9676f9f.camel@pschenker.ch/__;!!CTRNKA9wMg0ARbw!= 09tjyaQlMci3fVI3yiNiDJKUW_qwNA_CbVhoAraeIX96B99Q14J4iDycWA9cq36Y$ > > > > > > =C2=A0 > > > > > > Signed-off-by: Philippe Schenker > > > > >=20 > > > > > Can I take this to wireless tree? Felix, ack? > > > > >=20 > > > > > I'll also add: > > > > >=20 > > > > > Fixes: bf3747ae2e25 ("mt76: mt7921: enable aspm by default") > > > > >=20 > > > >=20 > > > > Hi Kalle, > > > >=20 > > > > We have a patch for a similar problem. Can you wait for the > > > > verification by Philippe? > > > > Commit 602cc0c9618a81 ("mt76: mt7921e: fix possible probe > > > > failure > > > > after > > > > reboot") > > > > Link:=20 > > > >=20 > https://urldefense.com/v3/__https://git.kernel.org/pub/scm/linux/kernel/g= it/torvalds/linux.git/commit/drivers/net/wireless/mediatek/mt76?id=3D602cc0= c9618a819ab00ea3c9400742a0ca318380__;!!CTRNKA9wMg0ARbw!zCYyDcufJ-OLqQV6leCe= gA5SkNOOVjAIo-jzTHTk6HUWT9Gjt-bvSz8lr81Zv95u$ > > > > =C2=A0 > > > >=20 > > > > I can reproduce the problem in my v5.16-rc5 desktop. And the > > > > issue can > > > > be fixed when the patch applied. > > > >=20 > > > >=20 > > > > Hi Philippe, > > > >=20 > > > > Can you please help to check the patch in your platform? > > >=20 > > > Hi Kalle and Deren, > > >=20 > > > I just noticed on my system and mainline v5.18 reboots do now work > > > however Bluetooth is no longer accessible after a reboot. > > >=20 > > > Reverting commit bf3747ae2e25dda6a9e6c464a717c66118c588c8 on top > > > of > > > v5.18 solves this problem for me. > > >=20 > > > @Deren are you aware of this bug? > > > @Kalle Is there a bugtracker somewhere I can submit this? > >=20 > > For regressions the best is to submit it to the regressions list, > > CCed > > it now. > >=20 > Hi Philippe, >=20 > Tried your test with v5.18.0 on my desktop and both wifi/bt are still > avaible after reboot. The only problem is I need to insert btusb > module > by command "modprobe btusb" to make BT workable. >=20 > I will check the issue on different platforms. If there are any > finding, I will let you know. Thanks for your tests, I did test again on my platform. This time with a hand-built v5.18 straight from torvalds/linux. And I can confirm my findings I even loaded btusb (removed and reloaded) nothing helped. I always get the message No default controller available In this case I guess it could be rather a BIOS issue. In this testing round also some USB ports did not work. If it helps any my system is a Lenovo P14s Gen2. I believe then the driver is good. Regards, Philippe >=20 > Regards, > Deren >=20