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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AEA6C433DF for ; Mon, 8 Jun 2020 08:49:32 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1CB91206A4 for ; Mon, 8 Jun 2020 08:49:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="W+pS39Hz"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="b9HIaOxX"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="kaZSv4s5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1CB91206A4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject: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=l1DkaBqRgKstK4sEejlysHy78bJyMDAdjIYDDMn6QDA=; b=W+pS39HzCuklthIgIfF4kNJGE SPGPeOU6BJo5mboTKPRtNZ8B59wK/dhuPrgoOsW6iS9QRpVYk/9Q2TdyHWi9ugicPAjPDasUyQ98F qSV7bOtsHtnE0H7/XYAHUK5U0wqfZRQC0bmUJr/gvyl8r06Qdvqark/ag50gwQejyNBptfQuc8CcP zPEZyonXma8EoO5XuuSn+2tXbsJCnMHj24htjGgKf2moITPDETdyQ37vVtcmuT5wi0CQdSKjT/EBa CqukYGoFMH3f8tCgvSkm81iNHUG3texnJaWQGSG7O94PcYoUUx2o2kEbM4urrVYmpSWiQMV0ZIHAy ptOk5lPPg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jiDTA-0008AH-4e; Mon, 08 Jun 2020 08:49:24 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jiDT6-00089H-8O for linux-arm-kernel@lists.infradead.org; Mon, 08 Jun 2020 08:49:22 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 9C0AF5801BC; Mon, 8 Jun 2020 04:49:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 08 Jun 2020 04:49:19 -0400 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=fm3; bh=pHrqLUxD8NCGQWXj/OLcTY5z8hm NTSXoKcbo0L/lZZ8=; b=b9HIaOxXI+jBphibKXG4hTwMIHjudTorOID3DwqNsEs MNpF8NhGL/cMHmyWkNHYThWeBf1K8euOjvVIerzos7s09Mo+9jEdc6TAtn56KT3B dulmycfS3ogInT/OgczDvcfxYTvtyWOB8d2b/fC0fH+3961a8lc5kOm2lbStjpye dGxmCdbMsn+NEgI5aG+on0JL5oeD2y9Fn1z7r1fJglNUwXE2ME0VS2H1RMGuTCJe qoXYJmimcvLHCZklK8whe+RtK0r5l0oN57kr+9UqxU0EXTJSpzL5VuulVLiS1lzx +QGHGMhFWuGTkhHI25dhpARSbenRc4UqaOqftmidxFA== 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=fm3; bh=pHrqLU xD8NCGQWXj/OLcTY5z8hmNTSXoKcbo0L/lZZ8=; b=kaZSv4s5TiDbYke9NqbaPt 3yqz2bOyGp5TYpr6X6lO+ykvjlZR9q5/hcrbo2E2kcCRsYbPGt1OtNGmBgiHUtfm RD9vsZbYuOue0fJKlJki9FCBB3izUnC1lZHmbh9eYvTIhxeu4SswDmHnizuZzb7k EqsA69AyENdB1mPtImruugcUAnH3lFw2Wla+FSKYYPe9vjjNer7PbrVRrI1EUWJX pyQe71qk/jPvjX/umkv38j7fo6stDuZd9wcGLOhc1nui0Ckx3hb5d08xwWo7zmi+ 8hJsAhwJlB3gc4zZOXmzJCgJkVdjKbVyThJQiLxwteMFihevfCZ2InXA+UtPfR+Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudehuddgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleekgeehhfdutdeljefgleejffehfffgieejhffgueefhfdtveetgeehieeh gedunecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgepudenuc frrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh 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 39F2F30618B7; Mon, 8 Jun 2020 04:49:19 -0400 (EDT) Date: Mon, 8 Jun 2020 10:49:17 +0200 From: Maxime Ripard To: Samuel Holland Subject: Re: [PATCH v2 2/9] irqchip/sun6i-r: Add wakeup support Message-ID: <20200608084917.qufcgedya2kr4arv@gilmour.lan> References: <20200525041302.51213-1-samuel@sholland.org> <20200525041302.51213-3-samuel@sholland.org> MIME-Version: 1.0 In-Reply-To: <20200525041302.51213-3-samuel@sholland.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200608_014920_432879_6E4BC7F4 X-CRM114-Status: GOOD ( 11.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Jason Cooper , Marc Zyngier , linux-sunxi@googlegroups.com, Russell King , linux-kernel@vger.kernel.org, Chen-Yu Tsai , Rob Herring , Catalin Marinas , Thomas Gleixner , Will Deacon , linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============5273987803889779544==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5273987803889779544== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hhnnuvojjvpvrory" Content-Disposition: inline --hhnnuvojjvpvrory Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 24, 2020 at 11:12:55PM -0500, Samuel Holland wrote: > Maintain a mask of wake-enabled IRQs, and enable them in hardware > during the syscore phase of suspend. The restore the original mask > of enabled IRQs (just the NMI) during resume. >=20 > This serves two purposes. First, it lets power management firmware > running on the ARISC coprocessor know which wakeup sources Linux wants > to have enabled. That way, it can avoid turning them off when it shuts > down the remainder of the clock tree. Second, it preconfigures the > coprocessor's interrupt controller, so the firmware's wakeup logic > is as simple as waiting for an interrupt to arrive. >=20 > Signed-off-by: Samuel Holland Acked-by: Maxime Ripard Maxime --hhnnuvojjvpvrory Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXt37jQAKCRDj7w1vZxhR xX1OAQC5mX5yhmjwOKp3HJXrXFGEXTeo1cjUm439PInsQbX4+AD/ZHAcr+zLEmOn 8IjIXz6vKJL/ItkgD1SrjpSKMvdH9wg= =VPNa -----END PGP SIGNATURE----- --hhnnuvojjvpvrory-- --===============5273987803889779544== 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 --===============5273987803889779544==--