linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] rtc: rtctest: Support opal-rtc and rtc-generic
@ 2017-08-15  8:45 Lukáš Doktor
  2017-08-15  8:46 ` [PATCH v2 1/1] rtc: rtctest: Improve support detection Lukáš Doktor
  0 siblings, 1 reply; 3+ messages in thread
From: Lukáš Doktor @ 2017-08-15  8:45 UTC (permalink / raw)
  To: ldoktor, a.zummo, linuxppc-dev, sboyd, linux-kernel,
	alexandre.belloni, linux-kselftest, john.stultz, tglx, shuah,
	linux-rtc

On ppc64le machines the opal-rtc, resp rtc-generic in guest is used. They only
support minimal set of functionality and fail this test in not-yet treated
way. This extends the checks and skips to the next test when feature is not
supported.

Changes in v2:
- Removed the double EINVAL check
- Added missing space before "EIO" check.

Lukáš Doktor (1):
  rtc: rtctest: Improve support detection

 tools/testing/selftests/timers/rtctest.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

-- 
2.9.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-16 23:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-15  8:45 [PATCH v2 0/1] rtc: rtctest: Support opal-rtc and rtc-generic Lukáš Doktor
2017-08-15  8:46 ` [PATCH v2 1/1] rtc: rtctest: Improve support detection Lukáš Doktor
2017-08-16 23:06   ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).