Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1512146lqz; Mon, 1 Apr 2024 08:26:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVd4MPMOdLk9XPJuGS47aDpVbDoavVhUFUUWuwnAvTxkdrliwmpzkyUAuHtv2iCFDIAy46EM36M1tQ14k4ulA8WIr0IND9cAmfPt1D1YQ== X-Google-Smtp-Source: AGHT+IFd1kCkntI5xsbyxN778R8oyuAo8SRxU6NxygA81tszqe+T7qo620NMrw2pBVTjyqEvXiK+ X-Received: by 2002:a17:902:f705:b0:1e2:5932:dc8 with SMTP id h5-20020a170902f70500b001e259320dc8mr2067410plo.60.1711985215874; Mon, 01 Apr 2024 08:26:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711985215; cv=pass; d=google.com; s=arc-20160816; b=EvCfGcRNcH6DeXzsRFVyTyHdrFX8WtJXwARmob7hEoHgOpo7y5INNOsAIi4kRe30mJ nLaJULEpJNtqFimiPRUr+8krKG4CokRdVajo7qh+slReWnSs+OkXpGsZ+7jK6EQlG8Fl wj9opoKzhvkZuRRUrjc47aSM0hyKO2wpBmzsW4TLmrhriV6ABpncWq92XDtMaP0Z6VgI DqacT0sDUmOZ2ndF/p0HhJskK0tempHHyj4uffyCXOGBG59WG1u8zygruM/O3enndgYi d4mQS3m0ZiC4HmOmTIM1RZ4kH28Y8MrOJKt0dbLtxrvkLHV/3DVBqy+4eKoaO4yWJiaZ bJnw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id; bh=OeNqEg970RTZFsUUtlkvbwTO3+NJJk6oGB2hi48PVx4=; fh=CGP9KpqI9yKi6jBT4X6fPyciYAuxuU6mrhXzDnBetoY=; b=SFqvg1QH+sYi9es8zOLZ0BnVU/7NcwKKAKyI529Gmsww+s+y9dJ30ZFCYpmCvcJU1M 4NBqn5jHVDcbJvyQ1XWc+ygrJL92GJGTlpKG2Afwq3A5lbhBP3iMUWB+ClvDt2GStDDb dca18mVL2dzUrzND57wDQ6lk03ZcntYFeelSU6p/2peKy/wMhxAj67gsVU7wIbeQwiSv 5+IyWdV6qLOWPvCSoa/jk6yS2tDtqmudcU94819hnZvt1psmE40Qh5gOWyO2F5oT6wLu 14d/GcIF9zY0JddTqW3wgAlNKn9HBQTEZeNeM+CCLdMfRo980TOWJx4JcpENWMPIvyg8 tJ9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=inka.de); spf=pass (google.com: domain of linux-kernel+bounces-126799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126799-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id b6-20020a170902650600b001e0e236fe34si8994075plk.364.2024.04.01.08.26.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 08:26:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=inka.de); spf=pass (google.com: domain of linux-kernel+bounces-126799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126799-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0B88CB227C2 for ; Mon, 1 Apr 2024 15:25:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF18746B80; Mon, 1 Apr 2024 15:25:45 +0000 (UTC) Received: from mail.inka.de (quechua.inka.de [193.197.184.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0BD104644C; Mon, 1 Apr 2024 15:25:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.197.184.2 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711985145; cv=none; b=VyWf1djRzsEbsvrnnOvb83/rvN5pDbiHjfOVq9DhBfxQ5qQ1mwaFCxpzvn/+zaf23V69fxpJxJT1y4YB/lvOdPW3zZhLFtEYmXI5x4NRa4lbwgwxUyWfQ0CI9IX6w4LrZRce+krwAgRjXtVnb0Gu0Ew79kDG74e62oUVNlGnDSY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711985145; c=relaxed/simple; bh=OeNqEg970RTZFsUUtlkvbwTO3+NJJk6oGB2hi48PVx4=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=NVvBleHsU9Ic8D8oVLdwx31a7G1qlSEx2/nF+3EnyEwwXIl41bcXODXqwO0ua3N/pHrUWUe91e+XPS8r5x5YWHordoIZg1a09XJjbPPJRuF1C3VltuwW+I+hStckNlW1as/zKp18sjGurawfVUcEWpXz2Hn27hYXq4baG6+Ocbs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=inka.de; spf=pass smtp.mailfrom=inka.de; arc=none smtp.client-ip=193.197.184.2 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=inka.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=inka.de Received: from mail.berkhan-weisser.de ([2a03:4000:54:b9a::4]) by mail.inka.de with esmtpsa id 1rrJXW-00Ar1s-Fc; Mon, 01 Apr 2024 17:25:38 +0200 Received: from 127.0.0.1 (helo=localhost.localdomain) by mail.berkhan-weisser.de with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1rrJXW-003wrk-16; Mon, 01 Apr 2024 17:25:38 +0200 Message-ID: <590320d523ace70d3b1fc86735849229040b8886.camel@inka.de> Subject: Re: [PATCH] platform/x86/intel/hid: Ignore power button release in wakeup mode From: Enrik Berkhan To: Alex Hung , David McFarland Cc: Hans de Goede , Ilpo =?ISO-8859-1?Q?J=E4rvinen?= , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, "Rafael J. Wysocki" Date: Mon, 01 Apr 2024 17:25:22 +0200 In-Reply-To: <20240401133919.4304-1-Enrik.Berkhan@inka.de> References: <20240401133919.4304-1-Enrik.Berkhan@inka.de> Autocrypt: addr=Enrik.Berkhan@inka.de; prefer-encrypt=mutual; keydata=mQGNBF0BQWwBDACqVwNmsHX65pIZKLiW2zjQZDvALp9Xf09KwJyp1969Hxa4UqP4l+ORS Z9uKGYJuxJj1T7OiZ3WoXYKUrcLtrnotOrcBwmCgCtPQupfaXFUg1CnCuLsr3gclSG5Lt4V+/fkVd yraOCL5RN1RjH78jrMq49v7zE0BAzCY4sn2ZmXjU0hTwBYeg4qQiWQActUhYB26Yj2SXeETWAnWD4 hGVKPBwVJ2scLIFdqAmvAwGJdOwc9jdM5y2Ydk61DMS/m2jMUdACsXb/DlyP5hQIzeepy7asWrt1K 2WDX1HVhJwzK3dmVWVJsf/cL4b866Ant7GOHY439FITcvZMYt2m963Ug8/WGfGdm/5/GJX7cmD1j6 8Uhe+q41gDkQ/eONETx+nslbcwxNB+hb9B2Pxd3mzxJEFcaGot+e7tT7S98pqZp4QU9BTqph+/lTl /FzyMzRu3v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F/UYSKrQ41dY+xDoAxGV63F8W3zkLNL/7JSixbhPb7JDMcNQA/cwZrg VwSoTtuTeneKH/8QVsDBjJC7ICquMZs2hhHYOo/OrGhdD69tnXOgTKwK+CbdmM4nhR/Zmoka9NuTc rsLS8WfK/rhQtoI9OHT6gE2pRjaxiStwDNChdHbkrAXjn3ABEBAAGJAbYEGAEKACAWIQRsvJAEwjS oBaIXqXfUCOpKRss8pAUCXQFBbAIbDAAKCRDUCOpKRss8pEBUC/9NuPJXKf1+8o5GjyDDGz0lQ+xl NX7q48ZE94gkKgY9w8rbb2m+F2cNUKvMtEEW9L1zBf3F78BVbrSUWIB/HIun5XU8jYiLzMO7aXR63 GtVPcXimXs9sbcaGR09FJW/7EFVwJ/ivedEazXdJxip4BENomhxY+mB36BrxhPOiDr/FB+dr1wOXU ZKxiQrjq1sfbLCeInO3X9ce5KA4mGHXJQFz38oYK/hUR2Jn21elB94PwjJTiBemqFRWIVy8CPyAU4 CBSFIwyok5977LPf5/osyQFqjkRqi2OugSDe+WenhciKL0Y6fqJFVxMNAZ9PXBA+mODvpvVPV9bvm Up6klmUMO/pK5X2F94QLIJ7XmroN3Q31ipWu+S3+/c5QYH2RrlHafw0rtX+JPEhnV0S6d2RaKdkqF 3uzEF6yzgF9ymozFdXEAzzpVkJop48x0MbSLV9XHfbkj4IUdAbvSRzJ2lAAU2JBV15Wt29O5qfyP5 Dh1pYX8125Sys26JeDfnh3bnI= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.52.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Mon, 2024-04-01 at 15:39 +0200, Enrik Berkhan wrote: > Since commit 0c4cae1bc00d ("PM: hibernate: Avoid missing wakeup > events > during hibernation"), the return value of > hibernation_platform_enter() is > used. This will, for example, cancel every hibernation attempt if a > wakeup > event is registered during the (long) preparation time needed before > entering platform hibernate mode. Oops, too late, already obsoleted by https://lore.kernel.org/all/20240318191153.6978-2-corngood@gmail.com/#t Cheers, Enrik -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEbLyQBMI0qAWiF6l31AjqSkbLPKQFAmYK0eIACgkQ1AjqSkbL PKTuzwwAhPy9c5/GuTHkaZJhhWcz5VHjbuY9rvywiI3nswEC/Pkav97wIL2IN8jW 9x4+VGJWCv3q/TlNauaD3T6WaPyulTNI9zcFmIY3Adm73+TEQ3OITmZMTJEv3BPC tgXbs+v0Iuu9G1twpNOrtpQ6aWvwtZJugAN4UOEk+Avx2OIYTc6zoRLTTV+0PMsy 0GlQ3jEQDpB//0ZroP0t9duGtqOIEa6xGfCMOf0ccyyydeVvXjRQOGZ+ZkZ81Egp fWnc0KRb5gzNAgLa4wzksOtu6sBDtXj1jBcrbqwzOuTfr+KBgebfbalHNExPAVxJ 6DYaZ3yPBL81EaUu/QSGFwOodphtkjGvfkGonvtX/bQOSxXEhwAe4wvWeeE0wncN um6YVw+QoBKaIxXEV+jtjkelMazAopf6jp6EDEoqmcfPS17oag2Hkg05oooJNSNc PizbNmYZv6imykUpM8vC9nX54jup9t9MKbNdcMRcU/ReRdhLKm6au4qjWTSxfXXp ll4euik0 =3D0GKA -----END PGP SIGNATURE-----