From: Julien Grall <julien.grall@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
xen-devel@lists.xensource.com
Cc: dgdegra@tycho.nsa.gov, Ian.Campbell@citrix.com
Subject: Re: [PATCH v3 2/2] arm: export platform_op XENPF_settime64
Date: Wed, 11 Nov 2015 17:35:19 +0000 [thread overview]
Message-ID: <56437C57.4000900@citrix.com> (raw)
In-Reply-To: <1447262371-1555-2-git-send-email-stefano.stabellini@eu.citrix.com>
Hi Stefano,
On 11/11/15 17:19, Stefano Stabellini wrote:
> Call update_domain_wallclock_time at domain initialization.
> Set time_offset_seconds to the number of seconds between physical boot
> and domain initialization: it is going to be used to get/set the
> wallclock time.
> Add time_offset_seconds to system_time when before calling do_settime,
> so that system_time actually accounts for all the time in nsec between
> machine boot and when the wallclock was set.
+ Expose the xsm_platform_op to ARM
+ Add the prototype of ticks_to_ns in the headers
>
> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> Acked-by: dgdegra@tycho.nsa.gov
> CC: dgdegra@tycho.nsa.gov
>
> ---
[...]
> diff --git a/xen/arch/arm/vtimer.c b/xen/arch/arm/vtimer.c
> index 1418092..aa0fde6 100644
> --- a/xen/arch/arm/vtimer.c
> +++ b/xen/arch/arm/vtimer.c
> @@ -22,13 +22,13 @@
> #include <xen/timer.h>
> #include <xen/sched.h>
> #include <xen/perfc.h>
> +#include <asm/div64.h>
> #include <asm/irq.h>
> #include <asm/time.h>
> #include <asm/gic.h>
> #include <asm/vgic.h>
> #include <asm/regs.h>
>
> -extern s_time_t ticks_to_ns(uint64_t ticks);
If it's a valid change you should mention it in the commit message
because it's not related to this patch.
Otherwise it looks spurious...
[...]
> diff --git a/xen/xsm/flask/hooks.c b/xen/xsm/flask/hooks.c
> index fafb1a4..680485e 100644
> --- a/xen/xsm/flask/hooks.c
> +++ b/xen/xsm/flask/hooks.c
> @@ -1735,6 +1735,7 @@ static struct xsm_operations flask_ops = {
> .deassign_dtdevice = flask_deassign_dtdevice,
> #endif
>
> + .platform_op = flask_platform_op,
Please build test Xen with XSM enabled, I'm nearly sure you that you
need to move the function flask_platform_op out of the #ifdef CONFIG_X86.
Regards,
--
Julien Grall
next prev parent reply other threads:[~2015-11-11 17:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-11 17:17 [PATCH v3 0/2] wallclock time on arm Stefano Stabellini
2015-11-11 17:19 ` [PATCH v3 1/2] xen: move wallclock functions from x86 to common Stefano Stabellini
2015-11-11 17:19 ` [PATCH v3 2/2] arm: export platform_op XENPF_settime64 Stefano Stabellini
2015-11-11 17:35 ` Julien Grall [this message]
2015-11-11 18:14 ` Stefano Stabellini
2015-11-11 18:23 ` Julien Grall
2015-11-12 11:32 ` Stefano Stabellini
2015-11-12 11:31 ` Julien Grall
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=56437C57.4000900@citrix.com \
--to=julien.grall@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=dgdegra@tycho.nsa.gov \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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.