From patchwork Wed Nov 30 08:05:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1710377 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=m4kt6GqG; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NMWwG0snWz23nT for ; Wed, 30 Nov 2022 19:05:16 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1p0I5e-0005I1-Ir; Wed, 30 Nov 2022 08:05:10 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1p0I5c-0005Ht-Om for fwts-devel@lists.ubuntu.com; Wed, 30 Nov 2022 08:05:08 +0000 Received: from canonical.com (118-163-61-247.hinet-ip.hinet.net [118.163.61.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id AFD1E3F1C2 for ; Wed, 30 Nov 2022 08:05:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1669795507; bh=2D/19EyGPM69iikAsTeUkAVnLysMBFN9J/pGN3EyTsk=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=m4kt6GqG1iT5wY0EmgbyqF0V2LqpsSwQT+fTvQJdMw1kP4vnZKhIEogBFplhj/Itj WE/K6BUSmjvMeYDO7XV03zMvLErP61QsEtf8hgjFXTbtUvQXTV4KaX6zBBp3keYWFR 1IJPQL5v9vJgliIrzAjiV54oXoeXKc1Yy2VmVzIdQUr5iaDs1nBBf5VDlUt/GiV7+K bCvBg+OmVIiP0I64kfCdSqT/g+cIev9Q+x8GGEReyNtb5M41DCq1jafixMOqOwrhsZ bBkFyGNrHM740GoCN/wokUNFRiECBkifdDhWNp8qyS5M9t0ZY4yrQCik5cZTLzeIfC 4gCGWv3h1FVMQ== From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] acpi: s3: fix the issue for determining time to resume Date: Wed, 30 Nov 2022 16:05:02 +0800 Message-Id: <20221130080502.32181-1-ivan.hu@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" Buglink: https://bugs.launchpad.net/fwts/+bug/1998195 It is due to the kernel string has changed from "PM: Timekeeping suspended" to "Timekeeping suspended" Signed-off-by: Ivan Hu --- src/acpi/s3/s3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acpi/s3/s3.c b/src/acpi/s3/s3.c index f3647d66..96391d43 100644 --- a/src/acpi/s3/s3.c +++ b/src/acpi/s3/s3.c @@ -510,7 +510,7 @@ static int s3_scan_times( s3_suspend_finish = ts; continue; } - if (strstr(txt, "PM: Timekeeping suspended")) { + if (strstr(txt, "Timekeeping suspended")) { s3_resume_start = ts; if (s3_suspend_finish < 0.0) s3_suspend_finish = previous_ts;