From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1A9D2C433EF for ; Thu, 2 Dec 2021 13:20:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mDTc7RkXpACFoqhdcdsTYfS/ot91UEu7XqTwl0tl0Tw=; b=yGogc02ix8WhAx QgmJdk3dNgKr/ei7ecaZ3/Kb0DxyIhDNoyEf+3ocWDEIhqVC8rsSqJIjCoGJ11rUiIDQMe1AzaR4w bU3KQSDUDz+6QcOIwsUiyEOBUmcApZQHrm4v9QdK1CocqTl6GDCWs7PB3vE3iHsj7itJQGRaPvl5Q GpnSgRzkjzxQgipgcGY8WbP7+ciV+MWfoFhF+iofwzSfVC/5F8kfDYcYaZ9fRU3OP41miHfu2oiNr /WBpS1uisVzpo+jkE4bAMcwO5oQVEhZd+SmMqpKerQJ7wPPX+dlrLja4FEg/gPV8YhejFyFKjlIzw K9GeUto3PCNKKcTNTNPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msm0a-00CRK5-R4; Thu, 02 Dec 2021 13:20:20 +0000 Received: from bhuna.collabora.co.uk ([46.235.227.227]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msm0N-00CRII-U6; Thu, 02 Dec 2021 13:20:09 +0000 Received: from localhost (unknown [IPv6:2a01:e0a:2c:6930:5cf4:84a1:2763:fe0d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: bbrezillon) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 3D6ED1F46508; Thu, 2 Dec 2021 13:20:02 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=collabora.com; s=mail; t=1638451203; bh=wb6wZrB6CrdpvFdY2JMiuIUqjBwm6A1CO87QchUy4nY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VTlDz/Ax+F1uGBBpltQyoVCsgarU84mFF+UVCQ3Ukd1WYVMSYH24U2Ds10bXtejP/ oqeCyXLz8vWrZ6Mbqi/an1/lKblkS5KXhcCf83fmupll0eap/8+6jh4DIqrnrB/6f/ 7tBhmcL8nwln0MGuK+0MXef6RxJcWkV3/FhC5qFyA1p4jdI5PS7IXfTVh3r7zMrV5C HQWiP5uP8DAGLMzJ3BKM9AE+kGYXevP9Rm7hGQ/rhVZrnoMx8ySBGWsYC+GmjOfUq9 5d+75dS2Kqj6Ce22hJDIYkXlKO077WosM14tAZsvzC7o2NRZrKV58nEtdNl1EiSn7f v0+jYgypeLofA== Date: Thu, 2 Dec 2021 14:19:58 +0100 From: Boris Brezillon To: Anders Roxell Cc: Christoph Hellwig , Jens Axboe , sean@geanix.com, Miquel Raynal , Geert Uytterhoeven , Linux-Next Mailing List , linux-mtd@lists.infradead.org, open list , Linux ARM , Arnd Bergmann , Stephen Rothwell , Richard Weinberger , Vignesh Raghavendra , Boris Brezillon , Daniel =?UTF-8?B?RMOtYXo=?= , Naresh Kamboju , linux-block Subject: Re: [next] WARNING: CPU: 2 PID: 66 at kernel/locking/rwsem.c:1298 __up_read Message-ID: <20211202141958.638f224b@collabora.com> In-Reply-To: References: Organization: Collabora X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211202_052008_202807_E3FB03E2 X-CRM114-Status: GOOD ( 19.38 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Thu, 2 Dec 2021 13:28:46 +0100 Anders Roxell wrote: > On Tue, 30 Nov 2021 at 18:01, Naresh Kamboju wrote: > > > > [Please ignore this email if it is already reported] > > > > Regression found on qemu_arm64. > > Following kernel warnings reported on Linux next-20211130 while booting. > > I bisected down to 1ebe2e5f9d68 ("block: remove GENHD_FL_EXT_DEVT") > > and when I reverted 1ebe2e5f9d68 ("block: remove GENHD_FL_EXT_DEVT") and the > 3 releated patches so patch 1ebe2e5f9d68 was reverted cleanly I > managed to boot without > a warning. > > Related patches from next-20211130: > 9f18db572c97 ("block: don't set GENHD_FL_NO_PART for hidden gendisks") > 430cc5d3ab4d ("block: cleanup the GENHD_FL_* definitions") > a4561f9fccc5 ("sr: set GENHD_FL_REMOVABLE earlier") > > With this said, if I revert 9d6abd489e70 ("mtd: core: protect access > to MTD devices while in suspend") > I didn't see the warning either. I think 9d6abd489e70 ("mtd: core: protect access to MTD devices while in suspend") is at fault here. Miquel, would you mind reverting/dropping the "mtd: core: protect access to mtd devices while in suspend" series? > > Any idea what can be wrong here or what a fix could be? > > Only apply this patch from Geert > https://lore.kernel.org/lkml/c26dfdf9ce56e92d23530a09db386b283e62845d.1638289204.git.geert+renesas@glider.be/ > makes the warning go away too. > > Cheers, > Anders ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/