lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220224113807.91771-4-pmenzel@molgen.mpg.de>
Date:   Thu, 24 Feb 2022 12:38:06 +0100
From:   Paul Menzel <pmenzel@...gen.mpg.de>
To:     Robert Moore <robert.moore@...el.com>,
        "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
        Len Brown <lenb@...nel.org>
Cc:     Paul Menzel <pmenzel@...gen.mpg.de>, linux-acpi@...r.kernel.org,
        devel@...ica.org, linux-kernel@...r.kernel.org
Subject: [PATCH 4/4] acpi: exsystem: Decrease sleep warning threshold to 10 ms

50 ms is quite long for todays systems and requirements. 10 ms seems
like a more appropriate limit, and everything else needing more should
be rewritten to use polling.

Signed-off-by: Paul Menzel <pmenzel@...gen.mpg.de>
---
 drivers/acpi/acpica/exsystem.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/acpica/exsystem.c b/drivers/acpi/acpica/exsystem.c
index bdffb8aac05c..676459ccc8d7 100644
--- a/drivers/acpi/acpica/exsystem.c
+++ b/drivers/acpi/acpica/exsystem.c
@@ -167,9 +167,9 @@ acpi_status acpi_ex_system_do_sleep(u64 how_long_ms)
 
 	acpi_ex_exit_interpreter();
 
-	if (how_long_ms > 50) {
+	if (how_long_ms > 10) {
 		ACPI_WARNING((AE_INFO,
-		    "Time parameter %llu > 50 ms. Please contact firmware vendor for more responsive system.", how_long_ms));
+		    "Time parameter %llu > 10 ms. Please contact firmware vendor for more responsive system.", how_long_ms));
 	}
 
 	/*
-- 
2.35.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ