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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E1BEC6FA9D for ; Wed, 1 Mar 2023 16:24:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229738AbjCAQYT (ORCPT ); Wed, 1 Mar 2023 11:24:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229740AbjCAQYM (ORCPT ); Wed, 1 Mar 2023 11:24:12 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BED7158A5 for ; Wed, 1 Mar 2023 08:24:11 -0800 (PST) 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 09BEB61386 for ; Wed, 1 Mar 2023 16:24:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67619C4339B; Wed, 1 Mar 2023 16:24:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677687850; bh=QnoDAyJIYIKCMn3SUe2H5Ca2ptgdb7UVXOk5fEvltmE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=h6VmDyKKWLG5HiwLofT782qD7Hsoz3vizIA3hAfl/o+S0onMdjr4ePtDrUrR2IIH3 cIyYw6QkHkXWJLGuq/Kx9+NH57Bj/hmqgVUqQ36b/NevghSAArLsfJAG02m92aKiwe E0O4EIl18s+WY6ZpHIQTxhKrjttpXZ8uWpG0RsSKAYP+KQuUZ/N7AW64NEVpD9pJMb oPQdAMOFUHhgx/6S6g10H/VcA/OQpLZ8BkLyMF2cXtubD67yuAgeRztF0IiwkV3tf1 rnOJf2E701K9a7xl4vZMzkqylg0p1Tv3nj731iiyu4W2D+EaNCq7WIkwODnK3ANe7s v7feNkPGQfiFg== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pXPFQ-00EAyQ-1A; Wed, 01 Mar 2023 16:24:08 +0000 Date: Wed, 01 Mar 2023 16:24:07 +0000 Message-ID: <86k000l9so.wl-maz@kernel.org> From: Marc Zyngier To: Robin Murphy Cc: Tim Harvey , Ulf Hansson , Al Cooper , Adrian Hunter , tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] irqchip/gic-v3: Claim iomem resources In-Reply-To: <410c8561-a7e3-6a3f-b634-08adaa806111@arm.com> References: <86lekhl6i6.wl-maz@kernel.org> <410c8561-a7e3-6a3f-b634-08adaa806111@arm.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: robin.murphy@arm.com, tharvey@gateworks.com, ulf.hansson@linaro.org, alcooperx@gmail.com, adrian.hunter@intel.com, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 01 Mar 2023 16:12:58 +0000, Robin Murphy wrote: > > On 2023-02-28 23:22, Marc Zyngier wrote: > > On Tue, 28 Feb 2023 23:11:15 +0000, > > Tim Harvey wrote: > >> > >> I have bisected a kernel issue where octeontx (CN803x) will hang on > >> reboot caused by commit c0db06fd0993 ("mmc: core: Disable card detect > >> during shutdown"). This commit made it into 5.16 and stable kernels. > >> I've found that the patch here which is commit 2b2cd74a06c3 resolves > >> this hang but I'm not entirely clear why. > >> > >> Does anyone have a good explanation of why the hang occurs in the > >> first place and why this resolves it? I would like to get the proper > >> fix into the affected stable branches. > > > > Wild guess: the reservation prevents some other driver from probing > > because the firmware describes overlapping ranges, and that driver is > > what is causing your above hang. > > Indeed, according to [1], the GIC appears to overlap one of the "PCIe" > windows of &ecam0, which conveniently appears to be the parent of the > MMC controller as well. Huh, quality firmware. So clearly nothing to backport. Just a DT update to distribute... :-/ M. -- Without deviation from the norm, progress is not possible.