Re: [PATCH 27/27] KVM: PPC: Add Documentation about PV interface

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Avi Kivity
Date: Sunday, July 4, 2010 - 2:37 am

On 07/04/2010 12:17 PM, Alexander Graf wrote:

Regardless of which direction is "correct", you need to go in one direction.


Looks like the benefit is less magic in the detection code.  x86 has 
(more or less) standardized feature detection.  Is this an attempt to 
bring something similar to ppc-land?


We would do the right thing.  Trivial examples include adding defines to 
include/asm/processor.h or include/asm/msr-index.h, more complicated 
ones are the topic for my talk in kvm forum 2010.

Yes, coordinating the acks and trees and merge windows is not as fun as 
coding.  Yes, it's even more difficult with separate trees.  No, that's 
not an excuse if we[1] determine that the right thing to do is the most 
complicated.

[1] "we" in this case are the powerpc Linux arch maintainers and/or 
whoever defines the hardware specification


You still need to make that feature disableable from userspace.

-- 
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/27] KVM PPC PV framework, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 01/27] KVM: PPC: Introduce shared page, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 02/27] KVM: PPC: Convert MSR to shared page, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 03/27] KVM: PPC: Convert DSISR to shared page, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 04/27] KVM: PPC: Convert DAR to shared page., Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 07/27] KVM: PPC: Implement hypervisor interface, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 08/27] KVM: PPC: Add PV guest critical sections, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 09/27] KVM: PPC: Add PV guest scratch registers, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 11/27] KVM: PPC: Make RMO a define, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 13/27] KVM: PPC: Magic Page Book3s support, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 14/27] KVM: PPC: Magic Page BookE support, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 17/27] KVM: PPC: Generic KVM PV guest support, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 18/27] KVM: PPC: KVM PV guest stubs, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 20/27] KVM: PPC: PV tlbsync to nop, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 21/27] KVM: PPC: Introduce kvm_tmp framework, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 22/27] KVM: PPC: Introduce branch patching helper, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 23/27] KVM: PPC: PV assembler helpers, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 24/27] KVM: PPC: PV mtmsrd L=1, Alexander Graf, (Thu Jul 1, 3:42 am)
[PATCH 25/27] KVM: PPC: PV mtmsrd L=0 and mtmsr, Alexander Graf, (Thu Jul 1, 3:43 am)
[PATCH 26/27] KVM: PPC: PV wrteei, Alexander Graf, (Thu Jul 1, 3:43 am)
Re: [PATCH 14/27] KVM: PPC: Magic Page BookE support, Alexander Graf, (Thu Jul 1, 5:25 am)
Re: [PATCH 16/27] KVM: Move kvm_guest_init out of generic code, Geert Uytterhoeven, (Fri Jul 2, 12:41 am)
Re: [PATCH 13/27] KVM: PPC: Magic Page Book3s support, Alexander Graf, (Fri Jul 2, 8:37 am)
Re: [PATCH 00/27] KVM PPC PV framework, Segher Boessenkool, (Fri Jul 2, 9:22 am)
Re: [PATCH 11/27] KVM: PPC: Make RMO a define, Segher Boessenkool, (Fri Jul 2, 9:23 am)
Re: [PATCH 27/27] KVM: PPC: Add Documentation about PV int ..., Segher Boessenkool, (Fri Jul 2, 9:27 am)
Re: [PATCH 00/27] KVM PPC PV framework, Alexander Graf, (Fri Jul 2, 9:59 am)
Re: [PATCH 27/27] KVM: PPC: Add Documentation about PV int ..., Benjamin Herrenschmidt, (Sat Jul 3, 3:41 pm)
Re: [PATCH 27/27] KVM: PPC: Add Documentation about PV int ..., Benjamin Herrenschmidt, (Sat Jul 3, 3:42 pm)
Re: [PATCH 27/27] KVM: PPC: Add Documentation about PV int ..., Avi Kivity, (Sun Jul 4, 2:37 am)
Re: [PATCH 00/27] KVM PPC PV framework, MJ embd, (Thu Jul 8, 9:57 pm)
Re: [PATCH 00/27] KVM PPC PV framework, Alexander Graf, (Thu Jul 8, 11:33 pm)
RE: [PATCH 14/27] KVM: PPC: Magic Page BookE support, Liu Yu-B13201, (Mon Jul 12, 4:24 am)