mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg Hackmann <ghackmann@google.com>
To: John Stultz <john.stultz@linaro.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Stephen Boyd <sboyd@codeaurora.org>,
	Shuah Khan <shuah@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
	Greg Hackmann <ghackmann@google.com>
Subject: [PATCH 0/2] kselftests: set-timer-lat: test one-shot timers
Date: Tue, 25 Jul 2017 14:36:24 -0700	[thread overview]
Message-ID: <20170725213626.115123-1-ghackmann@google.com> (raw)

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

             reply	other threads:[~2017-07-25 21:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-25 21:36 Greg Hackmann [this message]
2017-07-25 21:36 ` [PATCH 1/2] kselftests: set-timer-lat: tweak reporting when timer fires early Greg Hackmann
2017-07-25 21:36 ` [PATCH 2/2] kselftests: set-timer-lat: add one-shot timer test cases Greg Hackmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170725213626.115123-1-ghackmann@google.com \
    --to=ghackmann@google.com \
    --cc=john.stultz@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=shuah@kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome