Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1567613

Re: [PATCH v1 2/3] x86/xen/time: setup vcpu 0 time info page

From Andy Lutomirski <luto@amacapital.net>
Newsgroups linux.kernel
Subject Re: [PATCH v1 2/3] x86/xen/time: setup vcpu 0 time info page
Date 2017-01-26 18:20 +0100
Message-ID <t3VSh-1FT-15@gated-at.bofh.it> (permalink)
References <t3zI6-4Hf-3@gated-at.bofh.it> <t3zI6-4Hf-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jan 25, 2017 at 9:33 AM, Joao Martins <joao.m.martins@oracle.com> wrote:
> In order to support pvclock vdso on xen we need to setup the time
> info page for vcpu 0 and register the page with Xen using the
> VCPUOP_register_vcpu_time_memory_area hypercall. This hypercall
> will also forcefully update the pvti which will set some of the
> necessary flags for vdso. Afterwards we check if it supports the
> PVCLOCK_TSC_STABLE_BIT flag which is mandatory for having
> vdso/vsyscall support. And if so, it will set the cpu 0 pvti that
> will be later on used when mapping the vdso image.
>
> The xen headers are also updated to include the new hypercall for
> registering the secondary vcpu_time_info struct.

No objections from me assuming the code is correct.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v1 0/3] x86/xen: pvclock vdso support Joao Martins <joao.m.martins@oracle.com> - 2017-01-25 18:40 +0100
  [PATCH v1 2/3] x86/xen/time: setup vcpu 0 time info page Joao Martins <joao.m.martins@oracle.com> - 2017-01-25 18:40 +0100
    Re: [PATCH v1 2/3] x86/xen/time: setup vcpu 0 time info page Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-01-25 20:30 +0100
      Re: [PATCH v1 2/3] x86/xen/time: setup vcpu 0 time info page Joao Martins <joao.m.martins@oracle.com> - 2017-01-26 14:30 +0100
    Re: [PATCH v1 2/3] x86/xen/time: setup vcpu 0 time info page Andy Lutomirski <luto@amacapital.net> - 2017-01-26 18:20 +0100
  [PATCH v1 3/3] MAINTAINERS: xen, kvm: track pvclock-abi.h changes Joao Martins <joao.m.martins@oracle.com> - 2017-01-25 18:40 +0100
    Re: [PATCH v1 3/3] MAINTAINERS: xen, kvm: track pvclock-abi.h changes Andy Lutomirski <luto@amacapital.net> - 2017-01-26 18:30 +0100
      Re: [PATCH v1 3/3] MAINTAINERS: xen, kvm: track pvclock-abi.h changes Joao Martins <joao.m.martins@oracle.com> - 2017-01-26 21:10 +0100
    Re: [PATCH v1 3/3] MAINTAINERS: xen, kvm: track pvclock-abi.h changes Juergen Gross <jgross@suse.com> - 2017-01-27 16:00 +0100
  [PATCH v1 1/3] x86/pvclock: add setter for pvclock_pvti_cpu0_va Joao Martins <joao.m.martins@oracle.com> - 2017-01-25 18:40 +0100
    Re: [PATCH v1 1/3] x86/pvclock: add setter for pvclock_pvti_cpu0_va Andy Lutomirski <luto@amacapital.net> - 2017-01-26 18:30 +0100
      Re: [PATCH v1 1/3] x86/pvclock: add setter for pvclock_pvti_cpu0_va Joao Martins <joao.m.martins@oracle.com> - 2017-01-26 21:00 +0100

csiph-web