xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Jan Beulich <JBeulich@suse.com>,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v2 1/6] x86/time: calibrate TSC against platform timer
Date: Wed, 3 Aug 2016 14:07:15 +0100	[thread overview]
Message-ID: <e82c9fe2-bd86-2c3b-aad5-a6628914d8aa@citrix.com> (raw)
In-Reply-To: <57A206FA0200007800102389@prv-mh.provo.novell.com>


[-- Attachment #1.1: Type: text/plain, Size: 1118 bytes --]

On 03/08/16 14:00, Jan Beulich wrote:
> ... instead of unconditionally against the PIT. This allows for local
> and master system times to remain in better sync (which matters even
> when, on any modern system, the master time is really used only during
> secondary CPU bringup, as the error between the two is in fact
> noticable in cross-CPU NOW() invocation monotonicity).
>
> This involves moving the init_platform_timer() invocation into
> early_time_init(), splitting out the few things which really need to be
> done in init_xen_time(). That in turn allows dropping the open coded
> PIT initialization from init_IRQ() (it was needed for APIC clock
> calibration, which runs between early_time_init() and init_xen_time()).
>
> In the course of this re-ordering also set the timer channel 2 gate low
> after having finished calibration. This should be benign to overall
> system operation, but appears to be the more clean state.
>
> Also do away with open coded 8254 register manipulation from 8259 code.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>

[-- Attachment #1.2: Type: text/html, Size: 1644 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

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

  reply	other threads:[~2016-08-03 13:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-03 12:55 [PATCH v2 0/6] x86/time: improve cross-CPU clock monotonicity (and more) Jan Beulich
2016-08-03 13:00 ` [PATCH v2 1/6] x86/time: calibrate TSC against platform timer Jan Beulich
2016-08-03 13:07   ` Andrew Cooper [this message]
2016-08-03 13:00 ` [PATCH v2 2/6] x86/time: correctly honor late clearing of TSC related feature flags Jan Beulich
2016-08-17 13:41   ` Ping: " Jan Beulich
2016-08-03 13:01 ` [PATCH v2 3/6] x86/time: support 32-bit wide ACPI PM timer Jan Beulich
2016-08-03 13:02 ` [PATCH v2 4/6] x86/time: fold recurring code Jan Beulich
2016-08-03 13:03 ` [PATCH v2 5/6] x86/time: group time stamps into a structure Jan Beulich
2016-08-03 13:04 ` [PATCH v2 6/6] x86/time: relax barriers Jan Beulich
2016-08-03 13:11   ` Andrew Cooper
2016-08-03 13:22     ` Jan Beulich

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=e82c9fe2-bd86-2c3b-aad5-a6628914d8aa@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=xen-devel@lists.xenproject.org \
    /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;
as well as URLs for NNTP newsgroup(s).