From patchwork Wed May 13 22:13:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 48466 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D023621411 for ; Wed, 13 May 2015 22:13:23 +0000 (UTC) Received: by layy10 with SMTP id y10sf13778932lay.0 for ; Wed, 13 May 2015 15:13:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=owZx1du82CYq0AucokzE9nw5I9W+xaux6MU3ECIvqxk=; b=mIKVXhSH91Y1dlYRCD3m7144LZoxh8D4wZ8+Qgi2VtsllwVTiiXxnRt4Fl0+ErccHc 4fDHa+RvjDFhSIdppc1PXtwCudS0uaNtALaxoH6eMoQLXpXmy/4XCXQrN+8qsWEf/mtd SR6XMhFKXBm7CvOcM2wv6JNeTPwb0gluu1zRPRFEde9vRLumWOVSrHhq8J3cznOmdS7p nF14FFj/W1IhtLs39XlX/BLNpaHta7C65G9MgSAFc8Q5t5Kd2K/Y4J0ctTxNRMOr7G53 19qQk7FPxzzzykFbDgwKJx5Plmn0UHBkw6ClCZdf8WJdkDIwswJf0Lzym9UXtrzhahw9 uXIA== X-Gm-Message-State: ALoCoQlcKJBB730ZcvURk5tN30jr6gDJofxdpF2RWFHvqs6mum3jnPTjmMzjdsQDCFNac6tTEBq6 X-Received: by 10.112.142.170 with SMTP id rx10mr737896lbb.12.1431555202378; Wed, 13 May 2015 15:13:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.8 with SMTP id s8ls264660lal.67.gmail; Wed, 13 May 2015 15:13:22 -0700 (PDT) X-Received: by 10.112.17.8 with SMTP id k8mr803528lbd.28.1431555202238; Wed, 13 May 2015 15:13:22 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id ls9si13205327lac.31.2015.05.13.15.13.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 May 2015 15:13:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by labbd9 with SMTP id bd9so42724833lab.2 for ; Wed, 13 May 2015 15:13:22 -0700 (PDT) X-Received: by 10.112.199.133 with SMTP id jk5mr819354lbc.32.1431555202102; Wed, 13 May 2015 15:13:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp803544lbb; Wed, 13 May 2015 15:13:20 -0700 (PDT) X-Received: by 10.66.160.71 with SMTP id xi7mr1891702pab.19.1431555199023; Wed, 13 May 2015 15:13:19 -0700 (PDT) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com. [209.85.192.175]) by mx.google.com with ESMTPS id wu8si28906137pbc.217.2015.05.13.15.13.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 May 2015 15:13:19 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.192.175 as permitted sender) client-ip=209.85.192.175; Received: by pdbnk13 with SMTP id nk13so64384290pdb.0 for ; Wed, 13 May 2015 15:13:13 -0700 (PDT) X-Received: by 10.70.46.161 with SMTP id w1mr2062108pdm.16.1431555192933; Wed, 13 May 2015 15:13:12 -0700 (PDT) Received: from localhost.localdomain (c-67-170-153-23.hsd1.or.comcast.net. [67.170.153.23]) by mx.google.com with ESMTPSA id ez1sm20268200pbd.0.2015.05.13.15.13.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 May 2015 15:13:12 -0700 (PDT) From: John Stultz To: linux-kernel@vger.kernel.org Cc: John Stultz , Shuah Khan , Prarit Bhargava , Thomas Gleixner , Richard Cochran Subject: [PATCH 2/3] kselftests: timers: Ease alarmtimer-suspend unreasonable latency value Date: Wed, 13 May 2015 15:13:04 -0700 Message-Id: <1431555185-10182-3-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431555185-10182-1-git-send-email-john.stultz@linaro.org> References: <1431555185-10182-1-git-send-email-john.stultz@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: john.stultz@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , On the hardware I have, resume latency from an alarm is often 2-3 seconds (with a fair amount of variability due to the RTC's single second granularity). Having four seconds be the pass/fail bar is maybe a little too tight, so extend this to 5 seconds. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz --- tools/testing/selftests/timers/alarmtimer-suspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/timers/alarmtimer-suspend.c b/tools/testing/selftests/timers/alarmtimer-suspend.c index 99a1ad3..13586b6 100644 --- a/tools/testing/selftests/timers/alarmtimer-suspend.c +++ b/tools/testing/selftests/timers/alarmtimer-suspend.c @@ -57,7 +57,7 @@ static inline int ksft_exit_fail(void) #define NSEC_PER_SEC 1000000000ULL -#define UNREASONABLE_LAT (NSEC_PER_SEC * 4) /* hopefully we resume in 4secs */ +#define UNREASONABLE_LAT (NSEC_PER_SEC * 5) /* hopefully we resume in 5 secs */ #define SUSPEND_SECS 15 int alarmcount;