Re: [PATCH v5 12/13] ARM: KVM: Fix guest view of MPIDR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ;-).

	M.
-- 
Jazz is not dead. It just smells funny...

--
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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux