Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3459809pxb; Mon, 25 Jan 2021 17:30:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyL7MVKyKPd7juYLx1VStQ5TNd4Vw/zKeXcHpXG34KpPULdEADQitkaTAnu6MmL/QpIbJ+v X-Received: by 2002:a05:6402:1bcd:: with SMTP id ch13mr2628523edb.31.1611624603410; Mon, 25 Jan 2021 17:30:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611624603; cv=none; d=google.com; s=arc-20160816; b=fzUVUAzQdChv1GAWRh6/Gd1lv4+aRZKFrPlkZ2XZaSGfwqypnKCs0SuFyJgN/CDLwz b+Z1wpIManTuLCbimeAwHUO4FW3baGxFgBEm+V4bis7hRUsqT7wwyIK9s/fb8Mk3pmx4 Z5NuI9UnCMruFTMMVTnqDGrVmXSYRQRfcF2bdJgwbHjI2mZrv1gbYy8sgu3TRXy4dzg8 qD54GCykBwJ3p8h22CIbOYBYnDi9HoL9LO1ZCV0N2f61vF+z84gq34GCh2HQgMsh0lBc sHm8SImjwqJWZCMSQxBn2UWoicCvFjCV8L3zR6kQbGwBsiaPIQItjd4tcGzC77K06qJp A1Lw== 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 :dkim-signature; bh=giywbTdzkGwixTIPyZn+CKrGjsS8u+GMH7bvqQezP/w=; b=DDB6CXzYpgusX54GVZyAImclo9MnvAhzi262t+6ZeYasiJIBxQGvq9LBP+RfpDEi6y zoT3wcBDYMH8X3o1Q5laFBmhllDM0xp5mC5f5DrKuHux7ed2XtiSTVPDiFP0ImDhG8Nk HiPuc5e6w3TD6QWaG6WRvGQKh7pb7pN1A3QWFzRky49pmbkLQ5iQoubCz2Tisw6+91ED fq0sBUA3XAIQ5XngEoB7b9ZaCJZjb4K6zveLtMUBaWdlB11i2NAHA0WqVwed9qQx/PfX tcRHne9YbJO6R2rGMV2h1rxGCACySoqIOymaQXbxpqiY0Ohfc63kSwfti1YmQYIANZNT fKKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=lj8l6n6k; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=T3X6teYy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dj27si7854154edb.398.2021.01.25.17.29.39; Mon, 25 Jan 2021 17:30:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=lj8l6n6k; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=T3X6teYy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727759AbhAYLE7 (ORCPT + 99 others); Mon, 25 Jan 2021 06:04:59 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:50741 "EHLO wout3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727667AbhAYK5e (ORCPT ); Mon, 25 Jan 2021 05:57:34 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 81850C94; Mon, 25 Jan 2021 05:56:28 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 25 Jan 2021 05:56:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=giywbTdzkGwixTIPyZn+CKrGjsS 8u+GMH7bvqQezP/w=; b=lj8l6n6k+m4GCen06yUSgFqcRv62lImUqGBSlMc/Qq8 IZENWWsttIMjDGM7xPVtxDS38KuzJQKOq+eUTQPCTWz3NYOYJDO2VVbfYs31tn/T hMrtGnOjEKxGAVHyNhCwJMF/QcXfwltPSmQBdlNa1KTP43a04ofp4n3kpsbWdsBQ St1K7EtVwY3B0JK74ZdSO6eivRG9D0RFjPzlaBLjmLyu9escmlN9X3XgSzs3d0tr MowhUiNTx/JFpmbPeUnihd7S8SqDo5VvsWR0A6SmvtCS2OPugkJnW/YdZVmrvNXj sFRGpjcmDZ2uvAJXIgCndXj9PXdi9vz5r3mfOZ9BCLw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=giywbT dzkGwixTIPyZn+CKrGjsS8u+GMH7bvqQezP/w=; b=T3X6teYyRO1kXbKsCjvtiJ rPcJjcWFJjsf9vStgkwd4ujyOyNPX8bjZ+Q6sdHL81FwM8yLO8zmadkscnbngnn5 Hv38bp0geRGuV9PJOZoGiPWUoI0Mal3lkdsJVdPQ4Utx6ZGI1/2wz9W2sHdOJB5p 9SkLZ2gICKgYnOIw9d3A1FCmoXTAZNeiGnDV8TNPIaPqnptxSVk/X0Xvksz69Uxg tLyciOGM9S2OCHSJaAeOgLb2CZxHmgCRNThxL6Xm00lSVok7Yt3/0zN07ww3ci8t 4POuAQvsWodaTPgnwqnFO8xqW7DO/NyT8mRyM0QcGCxvTembvbbs9+yq/7v9Ow0A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefgddulecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheeiheeg udenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedunecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 165521080059; Mon, 25 Jan 2021 05:56:27 -0500 (EST) Date: Mon, 25 Jan 2021 11:56:26 +0100 From: Maxime Ripard To: Samuel Holland Cc: Marc Zyngier , Jernej Skrabec , Thomas Gleixner , Rob Herring , Chen-Yu Tsai , Ondrej Jirman , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v5 00/10] sunxi: Support IRQ wakeup from deep sleep Message-ID: <20210125105626.fz75dxhi6f7jtcqm@gilmour> References: <20210118055040.21910-1-samuel@sholland.org> <161126112131.135928.7664552660827790510.b4-ty@kernel.org> <08e9bc97-c18d-9b8f-28be-3892d77730bf@sholland.org> <20210122104705.bo2x22ef56hdj26q@gilmour> <52b9c9bb-ff75-d1e6-e198-0d388d1c6d73@sholland.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="67rbkf5xfhl6dmyc" Content-Disposition: inline In-Reply-To: <52b9c9bb-ff75-d1e6-e198-0d388d1c6d73@sholland.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --67rbkf5xfhl6dmyc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 23, 2021 at 12:26:26AM -0600, Samuel Holland wrote: > On 1/22/21 4:47 AM, Maxime Ripard wrote: > > On Thu, Jan 21, 2021 at 07:33:54PM -0600, Samuel Holland wrote: > >> On 1/21/21 2:35 PM, Marc Zyngier wrote: > >>> On Sun, 17 Jan 2021 23:50:30 -0600, Samuel Holland wrote: > >>>> Allwinner sun6i/sun8i/sun50i SoCs (A31 and newer) have two interrupt > >>>> controllers: GIC and R_INTC. GIC does not support wakeup. R_INTC han= dles > >>>> the external NMI pin, and provides 32+ IRQs to the ARISC. The first = 16 > >>>> of these correspond 1:1 to a block of GIC IRQs starting with the NMI. > >>>> The last 13-16 multiplex the first (up to) 128 GIC SPIs. > >>>> > >>>> This series replaces the existing chained irqchip driver that could = only > >>>> control the NMI, with a stacked irqchip driver that also provides wa= keup > >>>> capability for those multiplexed SPI IRQs. The idea is to preconfigu= re > >>>> the ARISC's IRQ controller, and then the ARISC firmware knows to wak= e up > >>>> as soon as it receives an IRQ. It can also decide how deep it can > >>>> suspend based on the enabled wakeup IRQs. > >>>> > >>>> [...] > >>> > >>> Applied to irq/irqchip-5.12, thanks! > >>> > >>> [01/10] dt-bindings: irq: sun6i-r: Split the binding from sun7i-nmi > >>> commit: ad6b47cdef760410311f41876b21eb0c6fda4717 > >>> [02/10] dt-bindings: irq: sun6i-r: Add a compatible for the H3 > >>> commit: 6436eb4417094ea3308b33d8392fc02a1068dc78 > >>> [03/10] irqchip/sun6i-r: Use a stacked irqchip driver > >>> commit: 4e34614636b31747b190488240a95647c227021f > >>> [04/10] irqchip/sun6i-r: Add wakeup support > >>> commit: 7ab365f6cd6de1e2b0cb1e1e3873dbf68e6f1003 > >>> > >>> Please route the dts patches via the soc tree. Also, I had to > >>> manually fix the first patch as it wouldn't apply on top of > >>> 5.11-rc4 (which tree has it been diffed against?). Please > >>> check that the resolution is correct. > >> > >> This series was based on sunxi/for-next, which contains commit > >> 752b0aac99c7 ("dt-bindings: irq: sun7i-nmi: Add binding documentation > >> for the V3s NMI")[1]. > >=20 > > I assume merging the DT bits alone would break things? If so, I guess we > > can wait for 5.12 to be released before merging it >=20 > Patch 5 does not depend on the new driver, so it could be merged at any > time. Yes, the remaining patches would break things if merged without > the driver. I've applied patch 5 then, could you send the rest of the DT patches when 5.13-rc1 is out? Thanks! Maxime --67rbkf5xfhl6dmyc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYA6j2QAKCRDj7w1vZxhR xYcpAP91ABOYBXnLhbPFLoxRDI3hcFTpJzj4wbHeKnZQsH04KgD/UpIbE3RYPXqZ nEg++6cCHvC0ym6NPIdLM/3ufqLqrAs= =JBYr -----END PGP SIGNATURE----- --67rbkf5xfhl6dmyc--