Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1470344pxm; Thu, 24 Feb 2022 03:57:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzuYEqZkEPv6u0f9ah6NYACEXDWd4nV0IpyuLPcZESNzpo+bezlquF0JpyjQSyfhdBt6J9M X-Received: by 2002:a17:906:1e91:b0:6ae:99d9:93b1 with SMTP id e17-20020a1709061e9100b006ae99d993b1mr1915547ejj.111.1645703836734; Thu, 24 Feb 2022 03:57:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645703836; cv=none; d=google.com; s=arc-20160816; b=SXTfrOoy5TULyn5nd/MzpjpBcU/ij2B5MxfsPgCWgh63ATrvCRHyg593zfniNGdsGu mYz9WcCy8o/fVMd7NeotuI6BJfLxKRv0rh0tHEEfh1/JVtXOmvdKMUFUFea9EzTujyOW FKbfAgf7HtmzRXEd6i8eubdq6QHdl5IgCOuaIxKDt2Pm4tWLEg79d0HfrB+a8Tsiw2TJ VNygcgtDsiRItEDtCe2xkrIt8ad1CT8MnRyrCZ0t6lH0KzRHqGnM0Lq1kFuSrk+9qmLO vpSx9QPJJm7Xt50MsEB+p2NbbrmuBu8uFPwl6C9Djos3CSem+INQSblQju9HV8BiDu+Z 5+HA== 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=rFTlCR3ty0F6dzEnWga9az6dMTXNkcOYK1QxHpysvFM=; b=I7wZCM/VjbhYibS+g1MxpkGMnPycotaFaiJM6YR+WNm6agF/L9CPx37woYqGjYJo+E SnCDy1h7T9izeo12HEVRtd4wyd5xhVJaPbm0DvS/WEBsVhm/lhmi8kkVHkD8ep1/ga0B 0XrSHdojxUMAt0svIK8MaXj6wL/kEoMbWvlaYgQLyqe4lbfd/3RNWpIwd1v2Lb8uz0Ep IEuTVsOLRjTvvhK7NHSkyGnuV9HbMXIt6Yy7zub5hbpisdgw8LyX5md5QzuKISajcj+U geuQglWVXLJMyITZYO8rLwqRC9Jb0i1UnilIgj9VacuHLI1lcNRmveqOJJOcxSpGr4fs 3sIg== 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 r4si1534742edy.25.2022.02.24.03.56.53; Thu, 24 Feb 2022 03:57:16 -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 S234042AbiBXLjY (ORCPT + 99 others); Thu, 24 Feb 2022 06:39:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234061AbiBXLjF (ORCPT ); Thu, 24 Feb 2022 06:39:05 -0500 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF42C1B0C7C; Thu, 24 Feb 2022 03:38:35 -0800 (PST) Received: from localhost.localdomain (ip5f5aee05.dynamic.kabel-deutschland.de [95.90.238.5]) (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) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 3F2C561EA193D; Thu, 24 Feb 2022 12:38:34 +0100 (CET) From: Paul Menzel To: Robert Moore , "Rafael J. Wysocki" , Len Brown Cc: Paul Menzel , linux-acpi@vger.kernel.org, devel@acpica.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] acpi: exsystem: Decrease sleep warning threshold to 10 ms Date: Thu, 24 Feb 2022 12:38:06 +0100 Message-Id: <20220224113807.91771-4-pmenzel@molgen.mpg.de> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220224113807.91771-1-pmenzel@molgen.mpg.de> References: <20220224113807.91771-1-pmenzel@molgen.mpg.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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