On Mon, Dec 12, 2011 at 12:44 PM, Marc Zyngier <marc.zyngier@xxxxxxx> wrote: > On 12/12/11 17:39, Christoffer Dall wrote: >> On Mon, Dec 12, 2011 at 9:32 AM, Avi Kivity <avi@xxxxxxxxxx> wrote: >>> On 12/11/2011 12:25 PM, Christoffer Dall wrote: >>>> From: Marc Zyngier <marc.zyngier@xxxxxxx> >>>> >>>> A guest may need to know which CPU it has booted on (and Linux does). >>>> Now that we can run KVM on a SMP host, QEMU may be running on any >>> >>> s/QEMU/userspace/ >>> >>>> CPU. In that case, directly reading MPIDR will give an inconsistent >>>> view on the guest CPU number (among other problems). >>>> >>>> The solution is to use the VMPIDR register, which is computed by >>>> using the host MPIDR and overriding the low bits with KVM vcpu_id. >>>> >>>> Signed-off-by: Marc Zyngier <marc.zyngier@xxxxxxx> >>> >>> Since you're posting the patch for (eventual) inclusion, you need to >>> sign off as well. >>> >> I merged this into the world-switch patch. >> >> Can I add mark as signed-off-by in there then or should he really have >> written that entire patch then. Marc? > > I don't mind if my name appears or not, really. As long as the > functionality is in, I'm happy ;-). > ok, focus will be on patch readability for next round then. thanks. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html