Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751865AbdGYVhC (ORCPT ); Tue, 25 Jul 2017 17:37:02 -0400 Received: from mail-pg0-f43.google.com ([74.125.83.43]:33167 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751609AbdGYVg7 (ORCPT ); Tue, 25 Jul 2017 17:36:59 -0400 From: Greg Hackmann To: John Stultz , Thomas Gleixner , Stephen Boyd , Shuah Khan Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Greg Hackmann Subject: [PATCH 0/2] kselftests: set-timer-lat: test one-shot timers Date: Tue, 25 Jul 2017 14:36:24 -0700 Message-Id: <20170725213626.115123-1-ghackmann@google.com> X-Mailer: git-send-email 2.14.0.rc0.400.g1c36432dff-goog Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 705 Lines: 17 This patchset expands set-timer-lat to cover one-shot timers. This is inspired by a recent regression in the -stable tree, which caused one-shot alarm timers to repeat at a 1 ns interval. The first patch adjusts how early-firing timers are reported, so faulty kernels won't cause the test to spam the console with failure messages. The second patch actually adds the one-shot testcases. Greg Hackmann (2): kselftests: set-timer-lat: tweak reporting when timer fires early kselftests: set-timer-lat: add one-shot timer test cases tools/testing/selftests/timers/set-timer-lat.c | 103 +++++++++++++++++++++---- 1 file changed, 90 insertions(+), 13 deletions(-) -- 2.14.0.rc0.400.g1c36432dff-goog