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


Groups > linux.kernel > #1271069

Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit

From Joao Martins <joao.m.martins@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit
Date 2015-11-17 12:00 +0100
Message-ID <qvM9s-3UK-13@gated-at.bofh.it> (permalink)
References (7 earlier) <qvyzw-3C8-7@gated-at.bofh.it> <qvySR-3Je-5@gated-at.bofh.it> <qvz2y-3Mz-11@gated-at.bofh.it> <qvzcd-45b-17@gated-at.bofh.it> <qvzcd-45b-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 11/16/2015 09:04 PM, Andy Lutomirski wrote:
> On Mon, Nov 16, 2015 at 1:03 PM, Konrad Rzeszutek Wilk
> <konrad.wilk@oracle.com> wrote:
>> On Mon, Nov 16, 2015 at 12:50:19PM -0800, Andy Lutomirski wrote:
>>> On Mon, Nov 16, 2015 at 12:48 PM, Boris Ostrovsky
>>> <boris.ostrovsky@oracle.com> wrote:
>>>> On 11/16/2015 03:22 PM, Borislav Petkov wrote:
>>>>>
>>>>> On Mon, Nov 16, 2015 at 12:11:11PM -0800, Andy Lutomirski wrote:
>>>>>
>>>>>> Are there really multiple feature bits for this stuff?  I'd like to
>>>>>> imagine that the entry code is all either Xen PV or native/PVH/PVHVM
>>>>>> -- i.e. I assumed that PVH works like native for all entries.
>>>>
>>>>
>>>>
>>>> Almost. For PVH we will have a small stub to set up bootparams and such but
>>>> then we jump to startup_{32|64} code.
>>>>
>>>>
>>>>> I just reacted to Boris' statement:
>>>>>
>>>>> "We don't currently have a Xen-specific CPU feature. We could, in
>>>>> principle, add it but we can't replace all of current paravirt patching
>>>>> with a single feature since PVH guests use a subset of existing pv ops
>>>>> (and in the future it may become even more fine-grained)."
>>>>
>>>>
>>>> Actually, nevermind this --- I was thinking about APIC ops and they are not
>>>> pv ops.
>>>>
>>>> Note though that there are other users of pv ops --- lguest and looks like
>>>> KVM (for one op) use them too.
>>>>
>>>
>>> Honestly, I think we should just delete lguest some time soon.  And
>>> KVM uses this stuff so lightly that we shouldn't need all of the pvop
>>> stuff.  (In fact, I'm slowly working on removing KVM_GUEST's
>>> dependency on PARAVIRT.)
>>
>> Even for the pvclock?
>>
>> (sorry for stealing this thread on this subject).
> 
> I don't think that pvclock uses any of the paravirt infrastructure.
> It's just another clock source AFAIK.
> 
Yeah, but pv_time_ops is still used on both Xen and KVM. Even though it looks
that on KVM some of it's used only when pvclock isn't marked as stable (i.e. no
PVCLOCK_TSC_STABLE_BIT).

Joao

> --Andy
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-11-16 17:30 +0100
  Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Andy Lutomirski <luto@amacapital.net> - 2015-11-16 20:10 +0100
    Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Borislav Petkov <bp@alien8.de> - 2015-11-16 21:00 +0100
      Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Andy Lutomirski <luto@amacapital.net> - 2015-11-16 21:20 +0100
        Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Borislav Petkov <bp@alien8.de> - 2015-11-16 21:30 +0100
          Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-11-16 21:50 +0100
            Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Andy Lutomirski <luto@amacapital.net> - 2015-11-16 22:00 +0100
              Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Andy Lutomirski <luto@amacapital.net> - 2015-11-16 22:10 +0100
                Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Joao Martins <joao.m.martins@oracle.com> - 2015-11-17 12:00 +0100
              Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Borislav Petkov <bp@alien8.de> - 2015-11-16 22:10 +0100
          Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit "H. Peter Anvin" <hpa@zytor.com> - 2015-11-16 23:00 +0100
            Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-11-17 15:50 +0100
              Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Andy Lutomirski <luto@amacapital.net> - 2015-11-17 20:00 +0100
                Re: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Andy Lutomirski <luto@amacapital.net> - 2015-11-17 20:20 +0100
                Re: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Borislav Petkov <bp@alien8.de> - 2015-11-17 20:30 +0100
                Re: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Andrew Cooper <andrew.cooper3@citrix.com> - 2015-11-17 20:30 +0100
                Re: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Andy Lutomirski <luto@amacapital.net> - 2015-11-17 20:40 +0100
                Re: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-11-17 20:40 +0100
                Re: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-11-17 20:40 +0100
                Re: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Andrew Cooper <andrew.cooper3@citrix.com> - 2015-11-17 20:20 +0100
    Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-11-16 21:40 +0100

csiph-web