Re: [PATCH RFC 05/10] x86: update GADDR based secondary time area

2023-01-18 Thread Jan Beulich
On 17.01.2023 21:31, Andrew Cooper wrote: > On 19/10/2022 8:41 am, Jan Beulich wrote: >> --- a/xen/arch/x86/time.c >> +++ b/xen/arch/x86/time.c >> @@ -1462,12 +1462,34 @@ static void __update_vcpu_system_time(st >> v->arch.pv.pending_system_time = _u; >> } >> >> +static void write_time_

Re: [PATCH RFC 05/10] x86: update GADDR based secondary time area

2023-01-17 Thread Andrew Cooper
On 19/10/2022 8:41 am, Jan Beulich wrote: > --- a/xen/arch/x86/time.c > +++ b/xen/arch/x86/time.c > @@ -1462,12 +1462,34 @@ static void __update_vcpu_system_time(st > v->arch.pv.pending_system_time = _u; > } > > +static void write_time_guest_area(struct vcpu_time_info *map, > +

[PATCH RFC 05/10] x86: update GADDR based secondary time area

2022-10-19 Thread Jan Beulich
Before adding a new vCPU operation to register the secondary time area by guest-physical address, add code to actually keep such areas up-to- date. Signed-off-by: Jan Beulich --- RFC: Pages aren't marked dirty when written to (matching the handling of space mapped by map_vcpu_info() afaict),