Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1249273pxb; Tue, 1 Feb 2022 23:57:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPXFvqA2up4SdYI+VF+7wwMsZb4Sl3pCsH/0LRdj5azNWYMmz5viVrDbgFcXpsHjTcw/rq X-Received: by 2002:a17:907:1c01:: with SMTP id nc1mr24829466ejc.659.1643788628571; Tue, 01 Feb 2022 23:57:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643788628; cv=none; d=google.com; s=arc-20160816; b=JgZVuIkJ+m/0NiX9Z+7Zu+vM5YzVoff7hXe8Pv1scQxIJ6u/YGvs6WGfPPR4+jrEEk 5pvVF2SqYjA/2PqDiI1kkopt0XBD2kCyyW/A4lZFk0w1LJLJafm5gNQFpw95XeEj6wf3 ya9jnF+Gnz18CliimTnxE6FVA0HNsfS5aVbnwrneS7wK5DChk0CiHSrOjcdX5AxfuFSx wtV38A1mppj2YBnEqhftKfd9wI7j7eugPaq2iU0KhgmtKwoy4dPP1H7KE2qaF1if18aT tt25W6z7hw0gz8g+94+/pqtrDn8DipoWeXAt1tvw1i9/hbli24BwyZUuehWwVCykA/pm NZmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=7nvzgOIS6DEwIwuP9ng3oNEAJeU0e7VMesQHNnjyp5g=; b=twxljgil7EMUH74FyGPg0LCr7cjqSIn2RuoA3k6PY3c1yyfmhI5XO3zlFz93FFFYvw 8sjQVLvDw2yQ2tD6uDh77joRrAeCPNUFTzS3taSJ0jRBd/f1YVZbyf62kaISNb0uOUKp ObxjvqODGdd6+Jxuqllu5PIT+iiCgJzVwz4K5z7+YrwORpyoMZCCZn70w//wddoaLMWL fBtA45e0Un3rdqyhWB/zqzaFkm7viyk2qJ42Cwe5NqudGaWtitFj+R2GLO8X59PqpbWO tkjMmV0AeST5Tvb1fGTI9d4WcacnJ+ckueg/6Edmh+mNMnU6RkSBpJ4m+eZAlSR+iXRt DocA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fj1si11915742ejc.948.2022.02.01.23.56.43; Tue, 01 Feb 2022 23:57:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242380AbiBATTK (ORCPT + 99 others); Tue, 1 Feb 2022 14:19:10 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:51580 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242347AbiBATTH (ORCPT ); Tue, 1 Feb 2022 14:19:07 -0500 Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 4.0.0) id d7371b2c453d3712; Tue, 1 Feb 2022 20:19:04 +0100 Received: from kreacher.localnet (unknown [213.134.162.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id 4957F66B3BC; Tue, 1 Feb 2022 20:19:04 +0100 (CET) From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML , Linux PM Subject: [PATCH 1/2] ACPI: PM: Print additional debug message in acpi_s2idle_wake() Date: Tue, 01 Feb 2022 20:18:10 +0100 Message-ID: <5794467.lOV4Wx5bFT@kreacher> In-Reply-To: <11917820.O9o76ZdvQC@kreacher> References: <11917820.O9o76ZdvQC@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 213.134.162.64 X-CLIENT-HOSTNAME: 213.134.162.64 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvvddrgeefgdduvddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkjghfggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpedvjeelgffhiedukedtleekkedvudfggefhgfegjefgueekjeelvefggfdvledutdenucfkphepvddufedrudefgedrudeivddrieegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddufedrudefgedrudeivddrieegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeefpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhg X-DCC--Metrics: v370.home.net.pl 1024; Body=3 Fuz1=3 Fuz2=3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rafael J. Wysocki Make acpi_s2idle_wake() print an additional debug message when the SCI is going to be rearmed for system wakeup to help diagnose wakeup-related issues. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/sleep.c | 2 ++ 1 file changed, 2 insertions(+) Index: linux-pm/drivers/acpi/sleep.c =================================================================== --- linux-pm.orig/drivers/acpi/sleep.c +++ linux-pm/drivers/acpi/sleep.c @@ -764,6 +764,8 @@ bool acpi_s2idle_wake(void) return true; } + pm_pr_dbg("Rearming ACPI SCI for wakeup\n"); + rearm_wake_irq(acpi_sci_irq); }