Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3857420ybb; Mon, 23 Mar 2020 08:58:39 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtDNtxM3/krsxf2LgW4HDS2Nm7uD23m5FOOAVffhe0hOZxZBT5kjHzSyBhq26426m+HOyOs X-Received: by 2002:a9d:12d:: with SMTP id 42mr6069435otu.2.1584979119074; Mon, 23 Mar 2020 08:58:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584979119; cv=none; d=google.com; s=arc-20160816; b=w86lMEcfpbxC+7Uzn+BnJmjAU08CA9dVsiRKU5eRmsYdfehY4kv3VGTZq4/5TyGSai OH7I/Dm7N8P5FT2e0oA8uKfG4MG98MCn8eYvsXeKlL20ccM62G+rmop3+2jkhzb2ElHY WF9psL3dh1diHd1EJzcH1FkPzNVZmLyw3Ud0KO59Tn27mgcoq+tMwA6z3VEEx35puxUa 0kgmrtlC6uQhycyqSH31mGHRAvV/7ZcQYNrQvWEes9nNWwe+q/tmarmZMHquuY7655NH y7OrYVI9Ou/xmqGY4NXV+2x43ZqpCa1xbABxCkeLyzbllntEqgSzbi+9Djv550H77uSD 7bZA== 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=rfm/rJvu90WWzhPmrHCbcym59Q/teXxkvowJEBMH/KY=; b=qANONCqJqiA36LgmIgmiwdHckRUcIdZxSB0yrccRARA0yeVyefkJZdQV56lIaei7uA Kwisc9q11ZpZasTxITEd2pLIHk/DZiGQ5nLTU216PAQvBUPsX232/kjSeLhmMO0S+vK8 4cZugok3JhTCw30+99g0k8nZkoceze7MNRLlDZuheFDxHtBdz/+DDh8HJ8A7/Ze6XBNO gO5ETVycHDGNvC5vibXIr2kZ8NrJdf4YH8NAH3dMP1dw3x5KfQ76HVwa6QzaiElonNfB edeTc938u/KbQeMKZxWI0BmkhaNJYoLViLOG+AzhkN08S6u44I3Jp57Yyfg5+LkxVn27 y/Fw== 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 j65si7084485otc.308.2020.03.23.08.58.26; Mon, 23 Mar 2020 08:58:39 -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 S1727411AbgCWP5u (ORCPT + 99 others); Mon, 23 Mar 2020 11:57:50 -0400 Received: from foss.arm.com ([217.140.110.172]:51410 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727207AbgCWP5u (ORCPT ); Mon, 23 Mar 2020 11:57:50 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8902F1FB; Mon, 23 Mar 2020 08:57:49 -0700 (PDT) Received: from e107158-lin.cambridge.arm.com (e107158-lin.cambridge.arm.com [10.1.195.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D8EF13F7C3; Mon, 23 Mar 2020 08:57:48 -0700 (PDT) Date: Mon, 23 Mar 2020 15:57:46 +0000 From: Qais Yousef To: Oliver Neukum Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: lockdep warning in urb.c:363 usb_submit_urb Message-ID: <20200323155746.du2ogtvy6gnjzpb4@e107158-lin.cambridge.arm.com> References: <20200323143857.db5zphxhq4hz3hmd@e107158-lin.cambridge.arm.com> <1584977769.27949.18.camel@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1584977769.27949.18.camel@suse.de> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Thanks -- Qais Yousef