Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3879862ybb; Mon, 23 Mar 2020 09:22:14 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv9iXSA6lFeGP1x92fLEtSMI3UEovKhAMtY/1xGrXkgsoFwHgBUgvh092TZRSznkkLXndf7 X-Received: by 2002:aca:b8c5:: with SMTP id i188mr118800oif.2.1584980534799; Mon, 23 Mar 2020 09:22:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584980534; cv=none; d=google.com; s=arc-20160816; b=AwvTyE/YAHjWvcLXgFjRNIi/4h8mCx3qFuOtNyIAyadS7Y0nBab2Y2Si2r85kqy5Vb wIhiAVPDMsM2JvDHlTzs+GuRUstugv/dX9VmKw/+MJMdgUofSGb6A0IjIZPai88fiF8R gWbehbrEO3tvdfA1R7z907PW6PvIJsrM5DphAPKG+QJsvJL/I3pAUqAA9FZgulsPdMpD bS4VAQj7XujebAI1duy4zzpKS3JE99t8M3Glq2p8PYxYDbAw7JJ8Bu5QFaS8THV9WjbC O5hz0GX9Emh8P1r4LaKDeffGGZ2BNSks+b8d8crYVbqDq57Gv1KFqIIuGZTfeVq71HUG 6Z7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=W/Jc3/+vZziQIscJR5Lr4u8TTlSdwMPC88bXaviaOxU=; b=xQvAC9GaPuTAt47m1WtEM4otgw+qw1bfBU7VhEBY3GeiiO8CeXhuaznir50qqfcm4h m1/nuD7YoSez+YdmuFxBqItuB7SGNLp4r7ZzdIvrcZh0GH4rQdH6JyjfZ/kW4gdA4VD6 Rxsv6M24QUATcQB+QSnkVT2HCeOFTAwJKFRE/Lve51pVCXzWNWccuGEENi9fTwMF/bAM DKgjbdeh2RKsCXUprOA5jxCNsa8rzeEzNS8RL7nGZ60cM+EOcmyv4N8iP857ovKadS3L RCNkXCs665KJT0pmLVw2TSmx09qgMbpP8+0Hz7cp8jHiD9SXrzNlXGe+qFqh+PCd4IpC 5cyw== 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 x136si7785698oif.122.2020.03.23.09.21.59; Mon, 23 Mar 2020 09:22:14 -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 S1727415AbgCWQUQ (ORCPT + 99 others); Mon, 23 Mar 2020 12:20:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:60826 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727312AbgCWQUP (ORCPT ); Mon, 23 Mar 2020 12:20:15 -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 3DBF0AEA4; Mon, 23 Mar 2020 16:20:14 +0000 (UTC) Message-ID: <1584980402.27949.21.camel@suse.de> Subject: Re: lockdep warning in urb.c:363 usb_submit_urb From: Oliver Neukum To: Qais Yousef Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 23 Mar 2020 17:20:02 +0100 In-Reply-To: <20200323155746.du2ogtvy6gnjzpb4@e107158-lin.cambridge.arm.com> References: <20200323143857.db5zphxhq4hz3hmd@e107158-lin.cambridge.arm.com> <1584977769.27949.18.camel@suse.de> <20200323155746.du2ogtvy6gnjzpb4@e107158-lin.cambridge.arm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, den 23.03.2020, 15:57 +0000 schrieb Qais Yousef: > On 03/23/20 16:36, Oliver Neukum wrote: > > 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. > > Yes sorry my bad, it's a WARN_ONCE(). > > I applied your patch and will reproduce, but meanwhile not sure if you noticed > this line in my previous email > > [ 327.154849] usb usb2: runtime PM trying to activate child device usb2 but parent (7ffb0000.ohci) is not active Hi, yes I noticed, but that did not trigger the WARN(). One thing at a time please. Regards Oliver