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