All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen/time: Return -ENODEV from xen_get_wallclock()
@ 2017-11-02 22:18 Boris Ostrovsky
  2017-11-03  8:00 ` Juergen Gross
  2017-11-03  8:00 ` Juergen Gross
  0 siblings, 2 replies; 4+ messages in thread
From: Boris Ostrovsky @ 2017-11-02 22:18 UTC (permalink / raw)
  To: linux-kernel, xen-devel; +Cc: jgross, pbonzini, Boris Ostrovsky

For any other error sync_cmos_clock() will reschedule itself
every second or so, for no good reason.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
---
 arch/x86/xen/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c
index 1ecb05d..244791f 100644
--- a/arch/x86/xen/time.c
+++ b/arch/x86/xen/time.c
@@ -74,7 +74,7 @@ static void xen_get_wallclock(struct timespec *now)
 
 static int xen_set_wallclock(const struct timespec *now)
 {
-	return -1;
+	return -ENODEV;
 }
 
 static int xen_pvclock_gtod_notify(struct notifier_block *nb,
-- 
2.7.5

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

* Re: [PATCH] xen/time: Return -ENODEV from xen_get_wallclock()
  2017-11-02 22:18 [PATCH] xen/time: Return -ENODEV from xen_get_wallclock() Boris Ostrovsky
@ 2017-11-03  8:00 ` Juergen Gross
  2017-11-03  8:00 ` Juergen Gross
  1 sibling, 0 replies; 4+ messages in thread
From: Juergen Gross @ 2017-11-03  8:00 UTC (permalink / raw)
  To: Boris Ostrovsky, linux-kernel, xen-devel; +Cc: pbonzini

On 02/11/17 23:18, Boris Ostrovsky wrote:
> For any other error sync_cmos_clock() will reschedule itself
> every second or so, for no good reason.
> 
> Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen

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

* Re: [PATCH] xen/time: Return -ENODEV from xen_get_wallclock()
  2017-11-02 22:18 [PATCH] xen/time: Return -ENODEV from xen_get_wallclock() Boris Ostrovsky
  2017-11-03  8:00 ` Juergen Gross
@ 2017-11-03  8:00 ` Juergen Gross
  1 sibling, 0 replies; 4+ messages in thread
From: Juergen Gross @ 2017-11-03  8:00 UTC (permalink / raw)
  To: Boris Ostrovsky, linux-kernel, xen-devel; +Cc: pbonzini

On 02/11/17 23:18, Boris Ostrovsky wrote:
> For any other error sync_cmos_clock() will reschedule itself
> every second or so, for no good reason.
> 
> Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

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

* [PATCH] xen/time: Return -ENODEV from xen_get_wallclock()
@ 2017-11-02 22:18 Boris Ostrovsky
  0 siblings, 0 replies; 4+ messages in thread
From: Boris Ostrovsky @ 2017-11-02 22:18 UTC (permalink / raw)
  To: linux-kernel, xen-devel; +Cc: jgross, pbonzini, Boris Ostrovsky

For any other error sync_cmos_clock() will reschedule itself
every second or so, for no good reason.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
---
 arch/x86/xen/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c
index 1ecb05d..244791f 100644
--- a/arch/x86/xen/time.c
+++ b/arch/x86/xen/time.c
@@ -74,7 +74,7 @@ static void xen_get_wallclock(struct timespec *now)
 
 static int xen_set_wallclock(const struct timespec *now)
 {
-	return -1;
+	return -ENODEV;
 }
 
 static int xen_pvclock_gtod_notify(struct notifier_block *nb,
-- 
2.7.5


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

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

end of thread, other threads:[~2017-11-03  8:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-02 22:18 [PATCH] xen/time: Return -ENODEV from xen_get_wallclock() Boris Ostrovsky
2017-11-03  8:00 ` Juergen Gross
2017-11-03  8:00 ` Juergen Gross
  -- strict thread matches above, loose matches on Subject: below --
2017-11-02 22:18 Boris Ostrovsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.