Re: [PATCH 00/14] MIPS: KVM: Dynamically generate exception code

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

 




On 05/07/2016 15:48, Ralf Baechle wrote:
> On Thu, Jun 23, 2016 at 05:34:33PM +0100, James Hogan wrote:
> 
>> These patches change the MIPS KVM exception entry code to be dynamically
>> assembled by the MIPS "uasm" in-kernel assembler, directly into unmapped
>> memory at run time by a new entry.c. Previously this code was statically
>> assembled from locore.S at build time and later copied into unmapped
>> memory at run time.
>>
>> Patches 1-5 add support for the necessary instructions to uasm.
>>
>> Patches 6-8 do the minimal-change conversion of locore.S to entry.c
>> using uasm (I've used -M10% so the diff is shown as a file move).
>>
>> Patches 9-14 make some related improvements that are possible now that
>> it is dynamically generated, such as avoiding messy runtime conditionals
>> in assembly code, making use of KScratch registers when available, and
>> simplifying the initial GP register save sequence & jump to common code.
>>
>> Ralf: Since the uasm patches (1-5) are needed for the later patches, I
>> suggest these all go together via the KVM tree (on which the whole
>> patchset is based), so Acks are welcome if they're okay with you.
> 
> Yes, please, so for the MIPS bits, that is patche 01..05:
> 
> Acked-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx>

Good, I'll apply the whole bunch.

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