Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8391324ybi; Tue, 23 Jul 2019 07:47:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwHJ0q4Ogw7qF+WtRZX+hpkK+HtwBV334v2c07Cyy8i1gcXanXLKW6GarCeqZqyevYPL23Q X-Received: by 2002:a63:6bc5:: with SMTP id g188mr46288631pgc.225.1563893221046; Tue, 23 Jul 2019 07:47:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563893221; cv=none; d=google.com; s=arc-20160816; b=FAPLHsPzOK/0kw3gt/sE6hYA0sI0ANE3lPYWGbGibcn6JDBBRuRPcC4S49+B3SJpVD OIUQ/4ZgQq3AnsdosglMlBxqvvnfS3MwYUmYAaTPgulHTDNLjQmst9mu5Fy4NfTBVp5V lcIyE9dFUwpPNjr+Ps8kWMwWEP20UcUeAGHQUMBjeT+TzQXkCyS+YQLEyX07L3m9tSZ/ BNc9QTSwiQ2i9qlYuVz7HncS+bobSuq0LS7hsxLC6mu7D1nmpKJYw3g4iJxgqdByvx0I vripIUUbNrgLuG+Py+0FMvRKLXykm+g31ol9+OhnPrphgo6nAXL6tzgfPgxcAJsD+/y3 C7sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/0acyYZnVpn91A6PDQNzRcDmaunEFC6/K0KKNLP16mE=; b=B3b5N2JENuzbfdjDqRoRjmHh34hCdG3+L+1uasp1yURJH27LdtGVdO6aVHIq4/6/66 oN62uCB9ruSQ/Dcwoay8wIy35NTUK5Y6BXFxf6lPUKqQdXFWwRXifz7N1LE1RuZTyy19 Ays0HGifCRiIXi1DetxDeWL5ajjtYy1hMj+iti7tRqMdeoYxE2baZdqGlfbC5WHo/rv+ nMh6lYFkpCPP6jynvcFatgDUTER4wKXJWeR8CQ6xnBuYfvKQyRDF0OF0pdap6kkdjfzM N5+QhxuK8OiwpiJa78wJKXckqodW96Vw2+6q5ZdqAxI7GYp2JAHg5HakW2DiflFAObrq gw+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p3si11503423plo.185.2019.07.23.07.46.41; Tue, 23 Jul 2019 07:47:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388277AbfGWHSc (ORCPT + 99 others); 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