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 7F941C433F5 for ; Thu, 20 Jan 2022 15:41:21 +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-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kWjNEdww2iGeldmJqeM2mcHAmC48MIQWi6GnXofol0Q=; b=lR98Wzb6n7YZwt/zs+/jggES2H JJj1d3t7PcwyU4zRDA5yWBrxcis0HkgQbP0NoufYMl5tVCA2lDS4EWjeQ7UByGv0ivLOjNznB+Ew9 hljZeZ/JsL/izFc1mELRp64k0nw0o+ky18QJpqN9Hv7nczpPVUlaEi29dc2QzUWJ7kpyOuxZjL7Cs RMkCvkicHq4w04oCwvpa38CqkA126F82XKrYbxgL28zjD2VHoTvfA2PBO+aOjYqLBgVguVNHvNEzo fqtD9n99298jIPconH2Wbe8B/CEV4vH1YgS5lqFPxjVtQykHkMZE13UBlvPnYOXAOrj6+cQkhsh9G HjiPIXiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nAZXJ-00CCKg-MC; Thu, 20 Jan 2022 15:39:41 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nAZXG-00CCIv-8o for linux-arm-kernel@lists.infradead.org; Thu, 20 Jan 2022 15:39:40 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id B27163201DD2; Thu, 20 Jan 2022 10:39:31 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 20 Jan 2022 10:39:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; bh=6646wkcsGL8dfJRm2tS0aAkZV6KSwyV3WPW2dt e2ghI=; b=kMQjEcgS40OfGz2Olj+qZ9RVY0zQiuQYWnQbIsru6v4ivKdQEnR5My Ka3LJqjhdh4ztshjbM1Dhum6V/6GjDBSgsKOqxCaRdnhraiOPZt/dEnSYI3mC9Pb LI+9lZ8kk9eqDEAWX7eJETUv/lrdv78p7qT37iyOUAMk35w2hP7nUenN8DfWbRW2 RGPge4VPvX/ywR/T5pJvLuK7m3f4U8K5GrNbXzo/SbggiPqi61KzEoh7DGzriskR BedQjobsJtHWNED2v5ScDUyLyySGciXR6okml9/eUQrC/u9dU8NtwqAIqC0MCwBC Fj/6POmpSdFZB1OBDR8spLri19zOnp7A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=6646wkcsGL8dfJRm2 tS0aAkZV6KSwyV3WPW2dte2ghI=; b=GTXGmhF9dPcXYhyfWBFQnHU2MsTw+I03y pYQdI6IDLm1Ur9IzpxhwS/87vAFbbqvykPabVEZmDmyYZkhyNRqbrt8OS9Iymjoq 7NAyET1F1eWJlGKRlloV6JTJbAE/84b42wRbKGK2l6xQy3HbUc5ZVdFtgtGetdfo R5k1+iPIUskI5ychD0jMJ0ne4U3ck3e8QcQHdyu72mjsvzCgtZYFbXyCorGb5+4p QU9FqxvsLy3jZGiyogg3a+hvaHNqTmnXEw1GXW2SA3xFdpwT0GFoQRUxnprLigZj rN9KzX1OKZMtVnqxLZLgcDYc3vyobpFq+q7o2xiLbW0OAcn8cEm6g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudekgdejjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtudenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeejueeileelieevvdfhvdejteelvdethfeljeejieeujeejieelvedufedtvdel tdenucffohhmrghinhepsghoohhtlhhinhdrtghomhenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 20 Jan 2022 10:39:29 -0500 (EST) Date: Thu, 20 Jan 2022 16:39:28 +0100 From: Maxime Ripard To: Stefan Wahren Cc: Florian Fainelli , Phil Elwell , Dave Stevenson , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Nicolas Saenz Julienne Subject: Re: [BUG] bcm2711: bad_chained_irq in brcmstb_l2_intc_irq_handle Message-ID: <20220120153928.yvkrqduoytddvegs@houat> References: <330c4d09-3ba7-dfc7-25a7-4840b2ea6784@i2se.com> MIME-Version: 1.0 In-Reply-To: <330c4d09-3ba7-dfc7-25a7-4840b2ea6784@i2se.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220120_073938_610924_C25E5D94 X-CRM114-Status: GOOD ( 21.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6653296566551688382==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6653296566551688382== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6qt6pwm6zlhkp27e" Content-Disposition: inline --6qt6pwm6zlhkp27e Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Stefan, On Sun, Jan 16, 2022 at 06:26:58PM +0100, Stefan Wahren wrote: > recently i saw a report [1] about bad chained IRQ with Linux 5.15.13 > Aarch64 with Arch Linux. I'm able to reproduce this issue on my > Raspberry Pi 4 B (8 GB RAM, Firmware: 2022-01-06T15:39:30) by turning > the connected HDMI monitor off and on again. By turning the monitor on and off, you mean that you used the power button on it? Not something like disabling the output in sysfs, right? > Kernel output is the following: >=20 > [15053.285438] irq 10, desc: 00000000acc41fca, depth: 0, count: 0, > unhandled: 0 > [15053.295440] ->handle_irq():=A0 00000000b28cf1d1, > brcmstb_l2_intc_irq_handle+0x0/0x1e0 > [15053.306049] ->irq_data.chip(): 000000005f172760, gic_data+0x0/0x768 > [15053.315233] ->action(): 00000000236e815e > [15053.322022] ->action->handler(): 0000000013023289, > bad_chained_irq+0x0/0x50 > [15053.331909]=A0=A0=A0=A0=A0 IRQ_LEVEL set > [15053.337822]=A0=A0=A0 IRQ_NOPROBE set > [15053.343715]=A0 IRQ_NOREQUEST set > [15053.349585]=A0=A0 IRQ_NOTHREAD set IRQ10 is the interrupt that a monitor has been connected on HDMI1, which makes sense if you were using HDMI1. Usually, when a display is turned on, it will issue a pulse on the HPD line so we would have a disconnection interrupt followed by a connection interrupt. This is weird though, since we have an interrupt handler on that interrupt (hpd-connected in the DT binding): https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/vc4/vc4_hdmi= =2Ec#L1578 > Content of /proc/interrupts after the issue occured: >=20 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 CPU0=A0=A0=A0=A0=A0=A0 CPU1=A0=A0=A0=A0=A0= =A0 CPU2=A0=A0=A0=A0=A0=A0 CPU3=A0=A0=A0=A0=A0=A0 > =A0 9:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2=A0 25 L= evel=A0=A0=A0=A0 > vgic > =A010:=A0=A0=A0=A0=A0=A0=A0=A0=A0 1=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 128 Lev= el=A0=A0=A0=A0 > (null) > =A012:=A0=A0=A0=A0 130322=A0=A0=A0=A0=A0 26028=A0=A0=A0=A0=A0 27670=A0=A0= =A0=A0 135225=A0=A0=A0=A0 GICv2=A0 30 Level=A0=A0=A0=A0 > arch_timer > =A013:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2=A0 27 L= evel=A0=A0=A0=A0 > kvm guest vtimer > =A019:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 107 Lev= el=A0=A0=A0=A0 > fe004000.txp > =A020:=A0=A0=A0=A0=A0=A0 7450=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2=A0 65 Level= =A0=A0=A0=A0 > fe00b880.mailbox > =A025:=A0=A0=A0=A0=A0=A0 6525=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 153 Level=A0= =A0=A0=A0 > uart-pl011 > =A026:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 149 Lev= el=A0=A0=A0=A0 > fe205000.i2c, fe804000.i2c > =A027:=A0=A0=A0=A0=A0=A0=A0=A0=A0 9=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 125 Lev= el=A0=A0=A0=A0 > ttyS1 > =A028:=A0=A0=A0=A0=A0 36999=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 158 Level=A0= =A0=A0=A0 > mmc0, mmc1 > =A029:=A0=A0=A0=A0=A0=A0=A0=A0=A0 1=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 129 Lev= el=A0=A0=A0=A0 > vc4 hvs > =A030:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 105 Lev= el=A0=A0=A0=A0 > fe980000.usb, fe980000.usb > =A031:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 112 Lev= el=A0=A0=A0=A0 > DMA IRQ > =A033:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 114 Lev= el=A0=A0=A0=A0 > DMA IRQ > =A040:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 141 Lev= el=A0=A0=A0=A0 > vc4 crtc > =A041:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 142 Lev= el=A0=A0=A0=A0 > vc4 crtc, vc4 crtc > =A042:=A0=A0=A0=A0=A0=A0=A0=A0 10=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 133 Lev= el=A0=A0=A0=A0 > vc4 crtc > =A043:=A0=A0=A0=A0=A0=A0=A0=A0=A0 1=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0 > interrupt-controller@7ef00100=A0=A0 0 Edge=A0=A0=A0=A0=A0 vc4 hdmi cec tx > =A044:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0 > interrupt-controller@7ef00100=A0=A0 1 Edge=A0=A0=A0=A0=A0 vc4 hdmi cec rx > =A047:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0 > interrupt-controller@7ef00100=A0=A0 4 Edge=A0=A0=A0=A0=A0 vc4 hdmi hpd co= nnected > =A048:=A0=A0=A0=A0=A0=A0=A0=A0=A0 1=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0 > interrupt-controller@7ef00100=A0=A0 5 Edge=A0=A0=A0=A0=A0 vc4 hdmi hpd di= sconnected > =A049:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0 > interrupt-controller@7ef00100=A0=A0 8 Edge=A0=A0=A0=A0=A0 vc4 hdmi cec tx > =A050:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0 > interrupt-controller@7ef00100=A0=A0 7 Edge=A0=A0=A0=A0=A0 vc4 hdmi cec rx > =A053:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0 > interrupt-controller@7ef00100=A0 10 Edge=A0=A0=A0=A0=A0 vc4 hdmi hpd conn= ected > =A054:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0 And it's there as well. > interrupt-controller@7ef00100=A0 11 Edge=A0=A0=A0=A0=A0 vc4 hdmi hpd disc= onnected > =A055:=A0=A0=A0=A0=A0=A0=A0=A0=A0 7=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2=A0 66 L= evel=A0=A0=A0=A0 > VCHIQ doorbell > =A056:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2=A0 48 L= evel=A0=A0=A0=A0 > arm-pmu > =A057:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2=A0 49 L= evel=A0=A0=A0=A0 > arm-pmu > =A058:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2=A0 50 L= evel=A0=A0=A0=A0 > arm-pmu > =A059:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2=A0 51 L= evel=A0=A0=A0=A0 > arm-pmu > =A062:=A0=A0=A0=A0=A0 47599=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 189 Level=A0= =A0=A0=A0 > eth0 > =A063:=A0=A0=A0=A0=A0=A0 4681=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 190 Level=A0= =A0=A0=A0 > eth0 > =A064:=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 GICv2 175 Lev= el=A0=A0=A0=A0 > PCIe PME, aerdrv > =A065:=A0=A0=A0=A0=A0=A0=A0 326=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0 BRCM STB PCIe MSI > 524288 Edge=A0=A0=A0=A0=A0 xhci_hcd > IPI0:=A0=A0=A0=A0=A0 2442=A0=A0=A0=A0=A0=A0 5185=A0=A0=A0=A0=A0=A0 7195= =A0=A0=A0=A0=A0 18290=A0=A0=A0=A0=A0=A0 Rescheduling > interrupts > IPI1:=A0=A0=A0=A0=A0=A0 481=A0=A0=A0=A0=A0=A0=A0 383=A0=A0=A0=A0=A0=A0=A0= 518=A0=A0=A0=A0=A0=A0=A0 533=A0=A0=A0=A0=A0=A0 Function call > interrupts > IPI2:=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0 CPU stop i= nterrupts > IPI3:=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0 CPU stop (= for > crash dump) interrupts > IPI4:=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0 Timer broa= dcast > interrupts > IPI5:=A0=A0=A0=A0=A0=A0=A0=A0 1=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0 IRQ work i= nterrupts > IPI6:=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0 CPU wake-up > interrupts > Err:=A0=A0=A0=A0=A0=A0=A0=A0=A0 1 >=20 > Comparing the vendor & mainline DTS, i noticed differences at hdmi0/1. > The vendor DTS has an additional register to access the same space as > aon_intr (interrupt parent), which looks ugly [2]. This is an artifact from the past. We used to use that register directly in our driver before we went to upstream the CEC support, but we don't anymore. The DT patch must have been carried around since then, but nothing should be using it. > Additionally i noted that bcm2711.dtsi uses the compatible > "brcm,bcm2711-l2-intc" with a level high interrupt, but according to > irq-brcmstb-l2.c [3] the compatible is not defined and would fallback to > "brcm,l2-intc" with brcmstb_l2_edge_intc_of_init. This looks fishy. >=20 > I didn't try to reproduce this with Raspberry Pi OS & mainline kernel, > but i hope these are enough information so far. I don't remember anyone reporting this before, and I have tested the disconnection / connection interrupts myself a number of times without ever seeing this. The level vs edge stuff might be a good explanation Maxime --6qt6pwm6zlhkp27e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYemCMAAKCRDj7w1vZxhR xfQoAPwM8Y2oPfWp7nCnIK/IWvb4gm7AmtAPeR/AirUc7d8K8gD+MKA9v5oMLSIR Y2+ej+A3H3luqTF5gv6ajlbhE+DUaww= =4CyZ -----END PGP SIGNATURE----- --6qt6pwm6zlhkp27e-- --===============6653296566551688382== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============6653296566551688382==--