Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3839278ybb; Mon, 23 Mar 2020 08:37:20 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuFdwVUDojBoCM80ltIemVv0i7h7I49MMj2rPQpz9i+B5yOMvMtLFM6fV+XoTNrJR3TaP/u X-Received: by 2002:a05:6830:1e17:: with SMTP id s23mr1619468otr.228.1584977840231; Mon, 23 Mar 2020 08:37:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584977840; cv=none; d=google.com; s=arc-20160816; b=sBiib6YG1Z0EslO1/z2it8RN7/utfFVW4M/+SZ4qNw9wgyS0PX8NQ8KHV0/xel21DO wzf92FHkjP9ftfZE95kSRGOHEIJvUVB6kyO0n66KyvIAy00TN5qOySAI3b5hRbqXdQaa UlqpuknxOkgelHHx0ULNuo4ePIDAzp6mqP5CTktMd2l3zAMu7L8/TOgNHXBXjq0YBfAA ulPT7qCLfWW8f0JpDZt6fMwr/ffIXWUOj1812cAL36peWn9iJ3ONPTYXHYGG1cYZcH6M oiuBSm50AylfD+1QdSPQniA3YPE8J22wdD5TFmgcRnmjSgj0wSyZJzXNgI6SAg4hHNbU LAdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to:date :cc:to:from:subject:message-id; bh=33lyoqnktLASLg/Tb895ux384MdjOU+ZDsSdp2GNzko=; b=Qfr1eq+Ox+lLKGlhxS5DEnlXB7ZCXmvT8Q2OsNn1TGuJ5R2gL7xRu17bQHqtfONXqJ oBhXunFm4RZIYfdOBj+5dsQuZ4hbzqTfeHPSwKKwJBTq/nZXX256Bvwbs/2qk2kWeRDB yNMmUaA2cun1fmfS9vGChmaRHGBWkO/xDFD5qx4sKj0XqrToVCl08+Hqcom4zYunIniR T7RHp53MzVWdjH5U8IaOIlYtAx5zLZVT94+qWxos6voxl1BxPbIZddvEVga9HGlD9f0R tFDGYuadh9GAhsK++8okeateL//c7pZXh/E8EvIE5GC7CFMvmbd7CoeKGD5S++gFBYb3 E/kQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u199si7583523oif.110.2020.03.23.08.37.07; Mon, 23 Mar 2020 08:37:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727354AbgCWPgY (ORCPT + 99 others); Mon, 23 Mar 2020 11:36:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:35632 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727124AbgCWPgX (ORCPT ); Mon, 23 Mar 2020 11:36:23 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id B9F18AE24; Mon, 23 Mar 2020 15:36:21 +0000 (UTC) Message-ID: <1584977769.27949.18.camel@suse.de> Subject: Re: lockdep warning in urb.c:363 usb_submit_urb From: Oliver Neukum To: Qais Yousef , Greg Kroah-Hartman , linux-usb@vger.kernel.org Cc: linux-kernel@vger.kernel.org Date: Mon, 23 Mar 2020 16:36:09 +0100 In-Reply-To: <20200323143857.db5zphxhq4hz3hmd@e107158-lin.cambridge.arm.com> References: <20200323143857.db5zphxhq4hz3hmd@e107158-lin.cambridge.arm.com> Content-Type: multipart/mixed; boundary="=-IYg+DkhohS1dh6vva5Gj" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-IYg+DkhohS1dh6vva5Gj Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Am Montag, den 23.03.2020, 14:38 +0000 schrieb Qais Yousef: > Hi > > I've hit the following lockdep warning when I trigger hibernate on arm64 > platform (Juno-r2) > > > echo suspend > /sys/power/disk > echo disk > /sys/power/state > > I only had a usb flash drive attached to it. Let me know if you need more info. Hi, that is not a lockdep issue, but the hub driver is not properly killing its URB presumably. Yet, the driver looks correct to me. Please use the additional patch and activate dynamic debugging for usbcore. Regards Oliver --=-IYg+DkhohS1dh6vva5Gj Content-Disposition: attachment; filename="0001-usb-hub-additional-debugging.patch" Content-Type: text/x-patch; name="0001-usb-hub-additional-debugging.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSA4MzU3ZDlkN2FiZTM1ZDVlMzY4NGY1MTI3ZmVhNmQyNDMwMDExNTI2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBPbGl2ZXIgTmV1a3VtIDxvbmV1a3VtQHN1c2UuY29tPgpEYXRl OiBNb24sIDIzIE1hciAyMDIwIDE2OjM0OjM1ICswMTAwClN1YmplY3Q6IFtQQVRDSF0gdXNiOiBo dWIgYWRkaXRpb25hbCBkZWJ1Z2dpbmcKCi0tLQogZHJpdmVycy91c2IvY29yZS9odWIuYyB8IDEg KwogMSBmaWxlIGNoYW5nZWQsIDEgaW5zZXJ0aW9uKCspCgpkaWZmIC0tZ2l0IGEvZHJpdmVycy91 c2IvY29yZS9odWIuYyBiL2RyaXZlcnMvdXNiL2NvcmUvaHViLmMKaW5kZXggNTRjZDhlZjc5NWVj Li4yNTUzMGNmMzAzODEgMTAwNjQ0Ci0tLSBhL2RyaXZlcnMvdXNiL2NvcmUvaHViLmMKKysrIGIv ZHJpdmVycy91c2IvY29yZS9odWIuYwpAQCAtMTYyOSw2ICsxNjI5LDcgQEAgc3RhdGljIGludCBo dWJfY29uZmlndXJlKHN0cnVjdCB1c2JfaHViICpodWIsCiAJCXJldCA9IC1FTk9NRU07CiAJCWdv dG8gZmFpbDsKIAl9CisJZGV2X2RiZyhodWJfZGV2LCAiJXAgVVJCIGFsbG9jYXRlZCBcbiIpOwog CiAJdXNiX2ZpbGxfaW50X3VyYihodWItPnVyYiwgaGRldiwgcGlwZSwgKmh1Yi0+YnVmZmVyLCBt YXhwLCBodWJfaXJxLAogCQlodWIsIGVuZHBvaW50LT5iSW50ZXJ2YWwpOwotLSAKMi4xNi40Cgo= --=-IYg+DkhohS1dh6vva5Gj--