Message ID | 20180915013223.179909-47-alexander.levin@microsoft.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1312797ljw; Fri, 14 Sep 2018 18:33:40 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ2cMpRmlOHq1AgXuLqAZpDSjCumzc6mLdzt7K8uwyAV/ot+zX3qNVgZI1D9JDHH1Ny2vfM X-Received: by 2002:a63:2acc:: with SMTP id q195-v6mr11330016pgq.291.1536975220042; Fri, 14 Sep 2018 18:33:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536975220; cv=none; d=google.com; s=arc-20160816; b=cBU8F/x7xMMigr12PrVGfcj1088L4aPU4Zmzq9Av9Z+ZCDytySSEaB6to54cle/NIc 9jrYgZ9dkyjDby2qZZJR4l7MNI0181Asi0qeG2PocTiWObZyG6Q+CxEOesYhHt3N8V7T NmYiUNExaCZVMwaYU6V7tWghfAl9B0BM0u4rg80fmoYPZl5Y/dTxTgCxL0f3prkKVp3r k+SM7UA0hD+t3sP544uSj0ywG1SQ8iIH3sr7rlEdt3is9ckUJ53ssV0fX2fLr4CSQkQC NdE2t1r86kOvrIdDcDUAqVMLjy3ZGoRr109Jn4Z0F/RT27b8XvPZ9fHCFUhhFpJar34V ypxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=Sueif/pPx8V+tRejy0PNkPB8LXBoIiVBVjBFHwYOFz4=; b=eLhpwfNkxiXeWBlZjEa0lfAhDGJ4gt4bIMkfr0JA93Cr8MPMIOD0vJMK1eC1P9nPwT G9iR3iUgQhFGQiDNg/pkUJL+n6MIuBAtkDeVUYHRuSRIU/fDkB2KIBXnFjVYYWZt/jpN CA4YhUZBQJpUqVpvb2Dut1bWcVlnC94br8b1C9nPePJhiQe5iQ+bH0Ve/xDjqSECWfIz 2A3FWDq/sMMNmr6504vN0lYIxeDeaUiTHh+/9pCyABbKt3Y0u/pyqWfMQkp9XzGyeeEA lGlSigYOK4UrfIxCRBqXxAT9ocv1LDlPsGahALewuGi1xhr59q2nyoSRE5uW9HzK0l33 3QnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=DHEa0x5g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x25-v6si8858075pfi.138.2018.09.14.18.33.39; Fri, 14 Sep 2018 18:33:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=DHEa0x5g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729509AbeIOGuf (ORCPT <rfc822;igor.opaniuk@linaro.org> + 32 others); Sat, 15 Sep 2018 02:50:35 -0400 Received: from mail-eopbgr730099.outbound.protection.outlook.com ([40.107.73.99]:42981 "EHLO NAM05-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729464AbeIOGue (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 15 Sep 2018 02:50:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Sueif/pPx8V+tRejy0PNkPB8LXBoIiVBVjBFHwYOFz4=; b=DHEa0x5gBzK6gMLyTohdiWgwg/J7W6vDnPeNlWQaKhNkL9MHUdpiSDCHnJvRWGOG3nDPwfz8dOK293iQICF+gmbuJjv3iKmqeuMqee3Qjx+cBgH8tIB10qkEpk/YXoB21aE7cQRA8hoj4pfl4z7v8eKGf9YaEPKqoSJcMRTBctU= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0471.namprd21.prod.outlook.com (10.172.121.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.12; Sat, 15 Sep 2018 01:33:24 +0000 Received: from CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::151:b6fe:32c8:cccd]) by CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::151:b6fe:32c8:cccd%9]) with mapi id 15.20.1164.008; Sat, 15 Sep 2018 01:33:24 +0000 From: Sasha Levin <Alexander.Levin@microsoft.com> To: "stable@vger.kernel.org" <stable@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> CC: John Stultz <john.stultz@linaro.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@kernel.org>, Miroslav Lichvar <mlichvar@redhat.com>, Richard Cochran <richardcochran@gmail.com>, Prarit Bhargava <prarit@redhat.com>, Stephen Boyd <sboyd@kernel.org>, Shuah Khan <shuah@kernel.org>, "linux-kselftest@vger.kernel.org" <linux-kselftest@vger.kernel.org>, Sasha Levin <Alexander.Levin@microsoft.com> Subject: [PATCH AUTOSEL 4.14 47/57] selftest: timers: Tweak raw_skew to SKIP when ADJ_OFFSET/other clock adjustments are in progress Thread-Topic: [PATCH AUTOSEL 4.14 47/57] selftest: timers: Tweak raw_skew to SKIP when ADJ_OFFSET/other clock adjustments are in progress Thread-Index: AQHUTJQIccxy9zzms0uLg4GDlrOaAg== Date: Sat, 15 Sep 2018 01:32:58 +0000 Message-ID: <20180915013223.179909-47-alexander.levin@microsoft.com> References: <20180915013223.179909-1-alexander.levin@microsoft.com> In-Reply-To: <20180915013223.179909-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR21MB0471; 6:zxjK46ENT8ROMqKvdSEX9lZkW1zXL3lbxZeN5SWgS0eWnNWFDD8qIPo1w45uK2ykAQv44eAwJSGMg1Ert8peN/Xofij9QjdFs3y5f8V9HEHe4D4zZ0FP7eXjLgm45Qx7BK8qr3KNLmbB8/DLf+3EWdy//6Uepv2FoK4pPrArS330UlnpuldOx2HTK64famUyfkkH++DVTxytbeFVn9Z3ddSdJKIiToqIcqFWjisiHyoPDVfpmGLBzsyYBzMU/JwgGK3l6NhO3M0FICBntcZWluKxbdBU6jJ8SuB92vmWxXVZOIof1poTOpDvjCnmO22Uyb/VIne+jFJjfq7nMkhHK2zLJYFnbU+VYumAPlI9XTB++Yiv/PBbGEURhQ3Dw71spwnLvOlHmNdu6Ozjz/aRDoonVlAIkkYDajSQDLe9eW5xcBjj0QTuZyEzgG5SVe3WYAn55wJovz1xbaO/C6BcOw==; 5:XH+UjQiTtzwqc2ZBd/0EANqu8o2J8uiT6s0X7TiIiraJzKOmJjiBGx9iP7aieBf6rmi5xs4Mv5DxOe1HHftdz/pY637JanfKlT0QrYt/pPAawbVtx+pihWkDjBvovuRkjd3mQMs/vNK+FNVURgigNXZ8rhyOnaCYIaRG3TAvCos=; 7:TUG2yIsjYQSstCpBpUurtM8m2ptst5afhlBWLHrqgUdcj59V3iKc9aDrkoqUbVP/8lL0G/VijfMvVOtqH3cawxRwYZR7La2/u6XFtfJ30kREerOFfJcF0AC3MBngunfxcgDzsnaomE+4IGdSKGQVssHGL0J/8GRDyZr2/4UWOxKz3zye551FB7EANgzmw/vyhMihlF/zgnHZiM6KBQcQG74fP6R2QbpfCskocINI5qseC13oK+g4ZBpikaoLtnix x-ms-office365-filtering-correlation-id: 5deb6749-db1a-4727-6fed-08d61aab3abe x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7193020); SRVR:CY4PR21MB0471; x-ms-traffictypediagnostic: CY4PR21MB0471: x-microsoft-antispam-prvs: <CY4PR21MB047192898C945330B57177BBFB180@CY4PR21MB0471.namprd21.prod.outlook.com> x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(9452136761055)(85827821059158); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231353)(944501410)(52105095)(2018427008)(10201501046)(3002001)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050)(76991041); SRVR:CY4PR21MB0471; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0471; x-forefront-prvs: 0796EBEDE1 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(136003)(366004)(396003)(39860400002)(346002)(199004)(189003)(7736002)(8936002)(81156014)(305945005)(81166006)(8676002)(66066001)(316002)(7416002)(110136005)(106356001)(5660300001)(6666003)(54906003)(86362001)(102836004)(86612001)(22452003)(53936002)(6506007)(36756003)(107886003)(97736004)(76176011)(2906002)(476003)(99286004)(486006)(26005)(1076002)(39060400002)(217873002)(6512007)(186003)(72206003)(10290500003)(6346003)(478600001)(256004)(6436002)(11346002)(10090500001)(5250100002)(446003)(6486002)(2900100001)(14454004)(6116002)(4326008)(68736007)(3846002)(105586002)(25786009)(2501003)(2616005); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0471; H:CY4PR21MB0776.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: N6VcWDw8TuCSWPJKDfFZilHV2qb+OKCeebUdp8RMWiML1R/+c/CZC4Z0gAgGFDemnbTRSAUjtNDlQ4uBkgp+uMu4ZG3v14hI7EifiH6LY5zbr8+Y+fv3A1HMbJloGLgqlQpT5p+a8/OM0R31rqKvR1poGR0Z88DDmJEv7/TIcan4R5G9IKlj3MUmkbng1jmmeugOpGZJHV5pYMHcyjMt7RjjW8Ffmo/pycSzMwrgZVE+jleAWGgHzcGDYl9TFpbrm/LPj4elL9N9kwm0vlTdIx/e9hJXY13KUOtVWK4f3pvOnXfM+QY4dqDQs7Hodm7Yq4xPdLneS2ll8RllgrBv9EYkxFHaa2PhDVsGG5IekuQ= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5deb6749-db1a-4727-6fed-08d61aab3abe X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2018 01:32:58.9615 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0471 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/tools/testing/selftests/timers/raw_skew.c b/tools/testing/selftests/timers/raw_skew.c index ca6cd146aafe..dcf73c5dab6e 100644 --- a/tools/testing/selftests/timers/raw_skew.c +++ b/tools/testing/selftests/timers/raw_skew.c @@ -134,6 +134,11 @@ int main(int argv, char **argc) printf(" %lld.%i(act)", ppm/1000, abs((int)(ppm%1000))); if (llabs(eppm - ppm) > 1000) { + if (tx1.offset || tx2.offset || + tx1.freq != tx2.freq || tx1.tick != tx2.tick) { + printf(" [SKIP]\n"); + return ksft_exit_skip("The clock was adjusted externally. Shutdown NTPd or other time sync daemons\n"); + } printf(" [FAILED]\n"); return ksft_exit_fail(); }