From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v3 2/2] arm: export platform_op XENPF_settime64 Date: Wed, 11 Nov 2015 17:35:19 +0000 Message-ID: <56437C57.4000900@citrix.com> References: <1447262371-1555-2-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1447262371-1555-2-git-send-email-stefano.stabellini@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini , xen-devel@lists.xensource.com Cc: dgdegra@tycho.nsa.gov, Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org 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 > 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 > #include > #include > +#include > #include > #include > #include > #include > #include > > -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