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 X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38620C76188 for ; Tue, 23 Jul 2019 07:18:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0395C22ADF for ; Tue, 23 Jul 2019 07:18:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388278AbfGWHSc (ORCPT ); Tue, 23 Jul 2019 03:18:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44606 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388275AbfGWHSc (ORCPT ); Tue, 23 Jul 2019 03:18:32 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 09E9830B1ACE; Tue, 23 Jul 2019 07:18:32 +0000 (UTC) Received: from localhost (unknown [10.43.2.114]) by smtp.corp.redhat.com (Postfix) with ESMTP id 996C56013A; Tue, 23 Jul 2019 07:18:31 +0000 (UTC) Date: Tue, 23 Jul 2019 09:18:07 +0200 From: Stanislaw Gruszka To: Johannes Stezenbach Cc: Lorenzo Bianconi , Felix Fietkau , linux-wireless@vger.kernel.org Subject: Re: mt76x0u blocks resume from suspend Message-ID: <20190723071806.GA2892@redhat.com> References: <20190722164020.GA5850@sig21.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190722164020.GA5850@sig21.net> User-Agent: Mutt/1.5.20 (2009-12-10) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Tue, 23 Jul 2019 07:18:32 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi On Mon, Jul 22, 2019 at 06:40:20PM +0200, Johannes Stezenbach wrote: > I met failure to resume from suspend to RAM with v5.1.19 > and TP-Link Archer T2UH connected to my PC (Asus P8H77-V). > I tried about a dozen times while trying to figure out the reason, > the issue happened every time. > Eventually I connected a serial console and captured this: > > [ 87.803576][ T4640] mt76x0u 2-1.6:1.0: vendor request req:06 off:ac80 failed:-110 > [ 91.030328][ T4640] mt76x0u 2-1.6:1.0: vendor request req:07 off:b000 failed:-110 > [ 94.256950][ T4640] mt76x0u 2-1.6:1.0: vendor request req:06 off:b000 failed:-110 > [ 97.483579][ T4640] mt76x0u 2-1.6:1.0: vendor request req:06 off:aca0 failed:-110 > (repeats) > [ 107.492106][ C0] Call Trace: > [ 107.495293][ C0] ? __schedule+0x381/0xa30 > [ 107.499706][ C0] schedule+0x36/0x90 > [ 107.503575][ C0] schedule_timeout+0x1e8/0x4c0 > [ 107.508310][ C0] ? collect_expired_timers+0xb0/0xb0 > [ 107.513593][ C0] wait_for_common+0x15f/0x190 > [ 107.518249][ C0] ? wake_up_q+0x80/0x80 > [ 107.522412][ C0] usb_start_wait_urb+0x82/0x160 > [ 107.527222][ C0] ? wait_for_common+0x38/0x190 > [ 107.531961][ C0] usb_control_msg+0xdc/0x140 > [ 107.536542][ C0] __mt76u_vendor_request+0xc4/0x100 [mt76_usb] > [ 107.542687][ C0] mt76u_copy+0x8b/0xb0 [mt76_usb] > [ 107.547721][ C0] mt76x02_mac_shared_key_setup+0xdf/0x130 [mt76x02_lib] > The whole machine is hanging at this point. without serial console > my only choice was to press the reset button. At least mt76x0u should > bail out with an error and not block the resume completely. > Unplugging the hardware also didn't cause it to bail. I recently sent fix for that https://lore.kernel.org/linux-wireless/1563446290-2813-1-git-send-email-sgruszka@redhat.com/raw Stanislaw