Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3855896ybb; Mon, 23 Mar 2020 08:56:41 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu/kE6T9pkN1vRGOzipihp5IdtMi+60G1dct5gBIeUX5099LG8q0+qrxqCO6hcud2owe2KD X-Received: by 2002:a4a:1ec3:: with SMTP id 186mr566681ooq.66.1584979001034; Mon, 23 Mar 2020 08:56:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584979001; cv=none; d=google.com; s=arc-20160816; b=gnTlauXG09t5pk6pkvBwYhF1zhhd1lru3RIgYTa2XbcJRvymQiivMfwpMWduLU1T6Z ij5puVfTTp2lCibNoDlduOzN6jecHXXnpWwuLxTgydFQ6Hl6tjMrvHDV90GSgHViLsKU xl7gLvOVspxb7L9HZu8OAWs7m9Ok6Bi4PhegQeK3f7yt2vd0pPlEGrMfHUhNRZYsjBO+ t8edVa+stD7oTsSU/GkLoQHh4oo4zCSVG0KbRadzWm1xLCBdx26p2Pu09iqCULUyUdUc Sa+lCqptjRO6lo9o0CrD5ZdNrKjwMTzmpIYRh8cEurP5wLui822nlm2mJk3qjRxntyut i1GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date; bh=fEHFwrVYCFQ/enzq2QE9lOEAIe8fGkpOeFeocRBFzDA=; b=D5n/IJAPOr2bsZIseuPTB7JY/WPWLRhOBWPey+4SNV5lLDMzb7ieseg6XYDuf27ADk jDHnx/X8nXq1qv6q8Gl0+HCAhuK51EWqpQhcdIh4hD1DROXkXqGf67ZLQRIImcag7GLk TZ5AshCulaQBLiC/ehhIIuyxiQ5xlF4dmN4XkX0VptZ9PjGdTHQN95lTFZIvcb1LDp3/ rT8ndY1eAFruttHwLWUTusBRvizupK4glzGjsgVdra7I7VH9rIsLYIl10rkSvyoyRkFf SwIR3CtJAHaCHrbgSHjSEQN75WOwqnaR9SmITrsHYZamcnMhShnpieip0dYCSTPtQh0Q uMLQ== 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 f128si7488147oig.208.2020.03.23.08.56.27; Mon, 23 Mar 2020 08:56:41 -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 S1727334AbgCWPzC (ORCPT + 99 others); Mon, 23 Mar 2020 11:55:02 -0400 Received: from netrider.rowland.org ([192.131.102.5]:59865 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1727267AbgCWPzA (ORCPT ); Mon, 23 Mar 2020 11:55:00 -0400 Received: (qmail 27965 invoked by uid 500); 23 Mar 2020 11:54:59 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 23 Mar 2020 11:54:59 -0400 Date: Mon, 23 Mar 2020 11:54:59 -0400 (EDT) From: Alan Stern X-X-Sender: stern@netrider.rowland.org To: Oliver Neukum cc: Qais Yousef , Greg Kroah-Hartman , , Subject: Re: lockdep warning in urb.c:363 usb_submit_urb In-Reply-To: <1584977769.27949.18.camel@suse.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 23 Mar 2020, 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. Was the USB flash drive being used as a swap device for holding the hibernation image? That's not likely to work very well. At least, I doubt that it has been tested very much. This diagnostic was suggested by the runtime PM error that occurred when the system was trying to store the hibernation image. That's probably when the hub driver's URB got restarted. Alan Stern