Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3661930iog; Mon, 27 Jun 2022 23:18:54 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sevPztKGNH+5sfS/COM6avXmjm0d/iK117L1Gpp3jmr5BGhYDWHK4wJF2uivNEP5H/zTtX X-Received: by 2002:a63:5749:0:b0:40d:4e21:c2f7 with SMTP id h9-20020a635749000000b0040d4e21c2f7mr16412622pgm.55.1656397130069; Mon, 27 Jun 2022 23:18:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656397129; cv=none; d=google.com; s=arc-20160816; b=KMWUGNVgg+gQ9qcIQQGgKtDCiDoUqDaSGanI4KdByRQ8rUOuyoqheyYXESedLZdhSt 8NorhIcoT3yCR5xIgbD/0VyWu7Xo2rmzOwkdLGDAjxSy/19fd1wOYLk7NJQ7G+J1f/8L SRqmNPWBOkzkMPEqIXc/8VGHcTKcA8n2ei9pZzb1o5bmjFiOYq/frpBU6MpoB+H+/SVf eeFMT3q+eNRLPjMxDuGyu0gpyCEgW87VvgZa4EUfHSJBv26RRYV/6Q2gkXSvdJvqqnM4 yHhg5FGJEkOYAcEYWrqRby0Mwohcd+/fK5HBGEpJ5yR9ytXP8//LqeSoywahb9gDGViN OgIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Q+FMLWo5vJt06LlcdjhW0rlqoUFJxs4Odg9VAUgY+L0=; b=uwIDssRp25S0cRuuaH7O3lGwDd+PnxTVsrzxrm+2ecOEfhQn/I2nMpLN/O5Gxh082Z mmer3eCf9CGz0pJB2NOUIMXm+Ek+mzaSQebs+cbjrLGfMPX1vroRonaWjV2hxHavMWRA oahD8uLOiJrGeIXk+zZQNySvfZKJRYBxNCjuwSF38rWaQabtTiNFfkBxgNpdTE1kroNb 28uu7F58HsBGttJ4lHNM0u6Q5Sz25++zmiHbz4XWMeyQ+bguwjxUCjaI6dLlG1l9OOSO arsU6v3BV6VTPz67KEiNf/o4sSSolNCnFf8EnAsT/poNqeF9cYFSXvBXBYv69F60jt+F 8ntw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=npnTq94u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fy7-20020a17090b020700b001ece9122d3fsi20009758pjb.95.2022.06.27.23.18.37; Mon, 27 Jun 2022 23:18:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=npnTq94u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245033AbiF1GNT (ORCPT + 99 others); Tue, 28 Jun 2022 02:13:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245674AbiF1GMz (ORCPT ); Tue, 28 Jun 2022 02:12:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B4452610A; Mon, 27 Jun 2022 23:12:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E921861861; Tue, 28 Jun 2022 06:12:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2DDFC3411D; Tue, 28 Jun 2022 06:12:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656396774; bh=ZMK15kcXso+fNPsECBAYSOYMDprHtCHXtk0Ght0FfCI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=npnTq94uHW4Qqeuk9ZKxMDMQbjVMtHDweOM75rn9uT2GQMLGwpHeMRUJRIgg13bFO DcxEVLj0gGHILKJQrGa9GPihIaV7jrndGM0khsvAki/lKh/mVcPdSogojH/PFNEDT8 1paV6fcqAbDeV43HSwPvrb9SvaluiczwN+6AfWcs= Date: Tue, 28 Jun 2022 08:12:51 +0200 From: Greg Kroah-Hartman To: Christoph Hellwig Cc: "yangx.jy@fujitsu.com" , Tejun Heo , Bjorn Helgaas , Jason Gunthorpe , Leon Romanovsky , "linux-kernel@vger.kernel.org" , "linux-rdma@vger.kernel.org" , "linux-block@vger.kernel.org" Subject: Re: [bug report from blktests nvme/032] WARNING: possible circular locking dependency detected Message-ID: References: <4ed3028b-2d2f-8755-fec2-0b9cb5ad42d2@fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 27, 2022 at 11:09:57PM -0700, Christoph Hellwig wrote: > On Tue, Jun 28, 2022 at 08:07:52AM +0200, Greg Kroah-Hartman wrote: > > On Tue, Jun 28, 2022 at 04:03:55AM +0000, yangx.jy@fujitsu.com wrote: > > > Hi everyone, > > > > > > Running blktests nvme/032 on kernel v5.19-rc2+ which enables > > > CONFIG_LOCKDEP and CONFIG_PROVE_LOCKING triggered the below WARNING. > > > > What was happening when this trace was created? It looks like you were > > manually removing a PCI device from the system through sysfs? Why would > > blktests do that? > > To test how the block layer copes with the fact that the underlying > device goes away. Ah, so it's a fake PCI device, or is it a real one? Anyway, it's a valid thing to do, I'll look at the report in a bit...