Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4128274imm; Mon, 25 Jun 2018 10:10:14 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJET2UeEFfwkh5zEcv3+AufzOBYfmSAoCPWtWcNeW7hJhNcGeXLpCj9EdFopQbyXXf+jIlO X-Received: by 2002:a65:5907:: with SMTP id f7-v6mr925663pgu.83.1529946614869; Mon, 25 Jun 2018 10:10:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529946614; cv=none; d=google.com; s=arc-20160816; b=kzCeStGlHNFacjG1Z1jLbEUc88njooq6jpmeEBhdsb82TxwgOddDeaHQ4W5Jq2mjC7 tZipJNw+plALe99hPpZ4um5WhHCV5R3yb5qDziMOQvfu7JsjmC8ppLOuCksDkDb3X1LY V24q76m4SxXZGLBtgN84WfVxWs1x1HlXKfgs4fnItXBTM6i84zjEe82D15IJE0X5O7Cb i1qVr8sPuT/1DfaWYQhXoQxmb7XhjTxrhXFN+hLspsmbfSTv55nrX7OU7THnXtgpFVEN 4qBuPYN37wM0BN4dt9OFHLdlYpPqAgNZpu7FraQ8b6g06HwfpXlHp3gu8+jlkZtitO6Q EU/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=ILkylCwQeECa4FXGHQJ9eAUNqGBa1pZY1BCVl8KI0Ms=; b=eF2tFn7FDqx5f7Xf0RJXnq6XA5sDK8u8vRa99YfVNubjuyB7iAQAI6CpupgSIQpn0M 0Wi3zdhCRoCxX4jS1HIIuW0Y5cl2Kx4yiVA+mUhMp69SsmhVv5Dqlv6XiQ4qjg25A0+h EbEXdyM8DCRz4yCBoAqUpQjQKVQZmXWEJYi/tGgIf869+g7KnOcu/Ib/QB1JNP6C3XHc kM+V0CAqJaf7TrU1Eo+PgDan/VmNixzM4olQSmCPCEUk3edqGvBRRhxdPHHUFJTIWb6w gTM0ueJAGz8Zt37kFyIVhhqhoHSl+AggoGuFauCxor/0MDBpZv/bxyfYZA1Y5j/OvjOu weaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67-v6si8541220pla.475.2018.06.25.10.09.59; Mon, 25 Jun 2018 10:10:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933982AbeFYRJT (ORCPT + 99 others); Mon, 25 Jun 2018 13:09:19 -0400 Received: from mail.bootlin.com ([62.4.15.54]:34835 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933140AbeFYRJS (ORCPT ); Mon, 25 Jun 2018 13:09:18 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 5C31E206D8; Mon, 25 Jun 2018 19:09:16 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [88.128.82.118]) by mail.bootlin.com (Postfix) with ESMTPSA id 6B837203D9; Mon, 25 Jun 2018 19:09:15 +0200 (CEST) Date: Mon, 25 Jun 2018 19:09:13 +0200 From: Maxime Ripard To: Icenowy Zheng Cc: Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH 2/2] arm64: allwinner: a64: allow laptops to wake up from lid Message-ID: <20180625170913.p335obgr3rfa4skt@flea> References: <20180622160631.8578-1-icenowy@aosc.io> <20180622160631.8578-2-icenowy@aosc.io> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ehcemc3meyriletb" Content-Disposition: inline In-Reply-To: <20180622160631.8578-2-icenowy@aosc.io> User-Agent: NeoMutt/20180512 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ehcemc3meyriletb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 23, 2018 at 12:06:31AM +0800, Icenowy Zheng wrote: > Currently all ARM kernels will have s2idle enabled if CONFIG_SUSPEND is > present. In this case if the lid is closed, systemd-logind will enter > s2idle mode by default; however there's no possible wakeup source > defined, so the system will enter a forever idle. >=20 > Add the lid itself as a wakeup source, thus the system can wakeup when > the lid is opened. >=20 > Signed-off-by: Icenowy Zheng Applied both, thanks! Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --ehcemc3meyriletb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlsxIbgACgkQ0rTAlCFN r3RIUQ/5Ab9ZEYIpgD0wDHYTvyJCVQzz8eA3BNkt+inbR5gWZECchgUvrGzbW9TM Ost03xAjymqk94GP5ngee0LKsks2GYbxRCwrN6Uyy/mE7JmSDEtS/dNStHezjh7C S5fkmqEmku3KiNv7p26CSjKgys9rQgV5YqyJ0fiE2EZG4HY2fybtBdMNGYES2a42 W6NG117TPP052w8G0v5t3LMrAF7+NwqpOuVOpWFQjLjoGGwFwOUuM2N8DJO3KNA9 Hca6VH/UvBBW7WZYVG4erWrBPhhPGC/GmLsT13TI8vq4rHM2vKF/sMf4dHsEDXK3 W9+Tc3U+DVTOUZ3vOMuXo6XRjRbfmyobrbLCZqjUSkLyoapCilIX4Ip9OjtDgSCT Om4ULKerAIGhWh7lVtiTobZimuv4Q/FMevpfGgIHC+2hI0XYNYwqgU1L6OTXwQQl za1mASsjRYCP+2Mu473TlZmmbga7r1wAX1JixXcPMeivnGfYJoPIfGuSoG9IuFNS +UJRX+iqToCCRj+IKevcdZkEP6tQnYZLo8Tz+KjNH/EhRug30pTp4spGrJf/koFH Uh+Yf3vL8U1270+MlKpy8WD/AbG7QXUl7RcaTH88bIuvXtQ8HT4RmMs9WPaMJjcP kT1x0GbKTo71a/HjlOJdfWuNF41dZD4uSruuwjaML4NItxcj8sU= =ApLz -----END PGP SIGNATURE----- --ehcemc3meyriletb--