|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 10/24] xen: mask XSAVE from cpuid
To: |
"Andi Kleen" <andi@xxxxxxxxxxxxxx> |
Subject: |
Re: [Xen-devel] [PATCH 10/24] xen: mask XSAVE from cpuid |
From: |
"Jan Beulich" <jbeulich@xxxxxxxxxx> |
Date: |
Tue, 17 Mar 2009 07:53:25 +0000 |
Cc: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, the arch/x86 maintainers <x86@xxxxxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, Arjan van de Ven <arjan@xxxxxxxxxxxxx> |
Delivery-date: |
Tue, 17 Mar 2009 00:53:03 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<87fxhd2f53.fsf@xxxxxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<1236931920-6861-1-git-send-email-jeremy@xxxxxxxx> <1236931920-6861-11-git-send-email-jeremy@xxxxxxxx> <49BA3A84.76E4.0078.0@xxxxxxxxxx> <49BA7810.6090807@xxxxxxxx> <49BD4CE1.6040100@xxxxxxxxx> <49BD6D0E.1010107@xxxxxxxx> <20090315154718.00353625@xxxxxxxxxxxxx> <49BD97C6.2070401@xxxxxxxx> <20090315170945.08344b86@xxxxxxxxxxxxx> <49BE6D50.76E4.0078.0@xxxxxxxxxx><49BE6D50.76E4.0078.0@xxxxxxxxxx> (Jan Beulich's message of "Mon, 16 Mar 2009 14:16:32 +0000") <87fxhd2f53.fsf@xxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
>>> Andi Kleen <andi@xxxxxxxxxxxxxx> 17.03.09 00:59 >>>
>"Jan Beulich" <jbeulich@xxxxxxxxxx> writes:
>
>>>>> Arjan van de Ven <arjan@xxxxxxxxxxxxx> 16.03.09 01:09 >>>
>>>Well.. pretty much all new instructions need Xen modifications due to
>>>the need to be emulate to deal with traps/vmexits/etc right?
>>>So I don't quite see many cpuid bits that would NOT involve some Xen
>>>modification or another ;)
>>
>> No, new (user-mode accessible) instructions represent precisely the kind
>> of extension that do not require hypervisor (or OS) awareness (see SSE2
>> etc, AES, FMA). New registers otoh are examples of where awareness is
>> needed (SSE, AVX), as would be new privileged instructions.
>
>Whey would another hypothetical FP register extension need Xen support
>once it gets proper XSAVE support? I can't think of a reason why
>(assuming XSAVE support) it would need to know of a new kind of
>FP register or similar. They very likely won't appear in any
>instructions that need mmio. Or are you worried about the real
>mode emulator?
No, properly coded xsave support will (hopefully) make user-visible context
extensions transparent to hypervisor and OS. But I was giving a general
example here, and the change from xmm to ymm registers is one that does
need hypervisor (and OS) changes.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 12/24] x86-64: remove PGE from must-have feature list, (continued)
[Xen-devel] [PATCH 13/24] Xen: Add virt_to_pfn helper function, Jeremy Fitzhardinge
[Xen-devel] [PATCH 11/24] xen: add FIX_TEXT_POKE to fixmap, Jeremy Fitzhardinge
[Xen-devel] [PATCH 14/24] xen: add irq_from_evtchn, Jeremy Fitzhardinge
[Xen-devel] [PATCH 18/24] xen: add "capabilities" file, Jeremy Fitzhardinge
[Xen-devel] [PATCH 17/24] xen/dev-evtchn: clean up locking in evtchn, Jeremy Fitzhardinge
[Xen-devel] [PATCH 16/24] xen: export ioctl headers to userspace, Jeremy Fitzhardinge
[Xen-devel] [PATCH 15/24] xen: add /dev/xen/evtchn driver, Jeremy Fitzhardinge
[Xen-devel] [PATCH 21/24] xen: drop kexec bits from /sys/hypervisor since kexec isn't implemented yet, Jeremy Fitzhardinge
[Xen-devel] [PATCH 20/24] xen/sys/hypervisor: change writable_pt to features, Jeremy Fitzhardinge
|
|
|
|
|