Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1923045imm; Wed, 16 May 2018 05:16:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrttYcz475lWaufJlCWQes2Qa3Cjy9IJM5NlIxc/k7XH9koYQpCGoPgbAUcEDF5LyjfVEF9 X-Received: by 2002:a63:ac43:: with SMTP id z3-v6mr535259pgn.291.1526472970703; Wed, 16 May 2018 05:16:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526472970; cv=none; d=google.com; s=arc-20160816; b=zgK0i4fY3X496o6/JdMszOEQx/9OZMYShBaK4mQx9yl98kvTg/jbXUq5xnefvvM5Hz GSK/n9H4EDdGoNhUXEyyrudgmJowel3Ei0ocQypf/oqqGnKWl/QsHD57bWbQnHEhIS4i CwlRecvYGxxpbbooH4mk0AzNSoaUdY5QX9ArbnkV096EHzKMtxRjvkgInEdaTEbwGlCy Ol4Te6cD7ULy0CJdEf4v15PM2DdOewEMBcriCsGjL12Q2kNRN09Df4Y3XqN8jolSagrr W7Cl+I9E6c0krEVdjzsqWgOEgIjbnIqNnS9fmQWnzbeOcMbjrWR0BhiFOol4xgskppdW cWpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=e/riPYh36oDnYBOJl5G9P4B4Sw6rSxfrCM/66xyKtlU=; b=T7tlKBTG5+2p0P4PeoqmKZQ/idUKHLm+kez3UzH4PuaWZUD4QtoNrzIiDS4rPZ/yO4 o6fII5bHvuOfdAb2RCJCnUBh7p31GYCzV2OyarmOLIcd6EExeD5VMcKADUCOFo/Gutyh SAJhhhEfdzGO/GVUj8K64suNeKGBpRyRGHI8LUM1LnWf42xLVz5ntQ37jF9i7wAwb+zq jfG5OpqTm7YWpIY7nvqaxLQzHH4m+VIFbNiQMoqqJhfmsedYmgEKRbox/zHojPeJRiMI XYh+jKuTsLzvIAQyYyU5U6Zw3Iy5mUfA3pODd32ATaaeSqdUwxxlqQJ1w+Wcj3aMOJpR 6Epw== 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 127-v6si2632738pfe.49.2018.05.16.05.15.56; Wed, 16 May 2018 05:16:10 -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 S1752691AbeEPMOs (ORCPT + 99 others); Wed, 16 May 2018 08:14:48 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:43935 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752081AbeEPMOT (ORCPT ); Wed, 16 May 2018 08:14:19 -0400 Received: from 79.184.254.241.ipv4.supernova.orange.pl (79.184.254.241) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83) id 5c9ca8c68a293b56; Wed, 16 May 2018 14:14:17 +0200 From: "Rafael J. Wysocki" To: Linux ACPI Cc: Zhang Rui , Linux PM , LKML , Erik Schmauss , Bob Moore , "Wang, Wendy" Subject: [PATCH 0/2] ACPI / PM: Dispatch EC GPE early on s2idle resume if LPS0 _DSM is used Date: Wed, 16 May 2018 14:10:55 +0200 Message-ID: <2406722.gU2bUHd7bl@aspire.rjw.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, The purpose of this series is to address a power button wakeup issue on some platforms where EC events aren't looked for early enough after wakeup from suspend-to-idle. The first patch modifies acpi_ev_detect_gpe() to compute a gpe_event_info if NULL is passed as its second argument and adds a wrapper around it that is used in the second patch. The second patch checks the EC GPE in-line after detecting an SCI wakeup to avoid missing the wakeup event. Thanks, Rafael