From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: "Daniel P. Smith" <dpsmith@apertussolutions.com>,
"Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH v4 1/6] x86/time: introduce helper to fetch Xen wallclock when running as a guest
Date: Mon, 9 Sep 2024 12:23:18 +0200 [thread overview]
Message-ID: <Zt7Mlnajfk7E83sq@macbook.local> (raw)
In-Reply-To: <cbfa09ee-a576-41c7-bcf9-dbc23df911d0@suse.com>
On Thu, Sep 05, 2024 at 05:45:20PM +0200, Jan Beulich wrote:
> On 04.09.2024 17:31, Roger Pau Monne wrote:
> > Move the current code in get_wallclock_time() to fetch the Xen wallclock
> > information from the shared page when running as a guest into a separate
> > helper.
> >
> > No functional change intended.
> >
> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
>
> Acked-by: Jan Beulich <jbeulich@suse.com>
>
> Still ...
>
> > --- a/xen/arch/x86/time.c
> > +++ b/xen/arch/x86/time.c
> > @@ -787,6 +787,30 @@ static struct platform_timesource __initdata_cf_clobber plt_xen_timer =
> > };
> > #endif
> >
> > +static unsigned long read_xen_wallclock(void)
> > +{
> > +#ifdef CONFIG_XEN_GUEST
> > + struct shared_info *sh_info = XEN_shared_info;
>
> ... I'd like to switch this to pointer-to-const while committing, if okay
> with you.
Oh, sure.
Thanks, Roger.
next prev parent reply other threads:[~2024-09-09 10:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-04 15:31 [PATCH v4 0/6] x86/time: improvements to wallclock logic Roger Pau Monne
2024-09-04 15:31 ` [PATCH v4 1/6] x86/time: introduce helper to fetch Xen wallclock when running as a guest Roger Pau Monne
2024-09-05 15:45 ` Jan Beulich
2024-09-09 10:23 ` Roger Pau Monné [this message]
2024-09-04 15:31 ` [PATCH v4 2/6] x86/time: move CMOS edge detection into read helper Roger Pau Monne
2024-09-05 15:46 ` Jan Beulich
2024-09-04 15:31 ` [PATCH v4 3/6] x86/time: split CMOS read and probe logic into function Roger Pau Monne
2024-09-05 15:49 ` Jan Beulich
2024-09-04 15:31 ` [PATCH v4 4/6] x86/time: introduce probing logic for the wallclock Roger Pau Monne
2024-09-05 15:58 ` Jan Beulich
2024-09-09 11:02 ` Roger Pau Monné
2024-09-04 15:31 ` [PATCH v4 5/6] x86/time: introduce command line option to select wallclock Roger Pau Monne
2024-09-04 15:31 ` [PATCH v4 6/6] x86/time: prefer CMOS over EFI_GET_TIME Roger Pau Monne
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=Zt7Mlnajfk7E83sq@macbook.local \
--to=roger.pau@citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=dpsmith@apertussolutions.com \
--cc=jbeulich@suse.com \
--cc=marmarek@invisiblethingslab.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 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.