Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: James Hogan <james.hogan@imgtec.com>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
	"Radim Krčmář" <rkrcmar@redhat.com>,
	linux-mips@linux-mips.org, kvm@vger.kernel.org
Subject: Re: [PATCH 00/14] MIPS: KVM: Dynamically generate exception code
Date: Tue, 5 Jul 2016 15:48:16 +0200	[thread overview]
Message-ID: <20160705134815.GK7075@linux-mips.org> (raw)
In-Reply-To: <1466699687-24791-1-git-send-email-james.hogan@imgtec.com>

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@linux-mips.org>

  Ralf

  parent reply	other threads:[~2016-07-05 13:48 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-23 16:34 [PATCH 00/14] MIPS: KVM: Dynamically generate exception code James Hogan
2016-06-23 16:34 ` James Hogan
2016-06-23 16:34 ` [PATCH 01/14] MIPS: uasm: Add CFC1/CTC1 instructions James Hogan
2016-06-23 16:34   ` James Hogan
2016-07-05 13:56   ` Paolo Bonzini
2016-07-05 14:04     ` Ralf Baechle
2016-06-23 16:34 ` [PATCH 02/14] MIPS: uasm: Add CFCMSA/CTCMSA instructions James Hogan
2016-06-23 16:34   ` James Hogan
2016-06-23 16:34 ` [PATCH 03/14] MIPS: uasm: Add DI instruction James Hogan
2016-06-23 16:34   ` James Hogan
2016-06-23 16:34 ` [PATCH 04/14] MIPS: uasm: Add MTHI/MTLO instructions James Hogan
2016-06-23 16:34   ` James Hogan
2016-06-23 16:34 ` [PATCH 05/14] MIPS: uasm: Add r6 MUL encoding James Hogan
2016-06-23 16:34   ` James Hogan
2016-06-23 16:34 ` [PATCH 06/14] MIPS; KVM: Convert exception entry to uasm James Hogan
2016-06-23 16:34   ` James Hogan
2016-07-04 18:53   ` James Hogan
2016-07-04 18:53     ` James Hogan
2016-06-23 16:34 ` [PATCH 07/14] MIPS: KVM: Add dumping of generated entry code James Hogan
2016-06-23 16:34   ` James Hogan
2016-06-23 16:34 ` [PATCH 08/14] MIPS: KVM: Drop now unused asm offsets James Hogan
2016-06-23 16:34   ` James Hogan
2016-06-23 16:34 ` [PATCH 09/14] MIPS: KVM: Omit FPU handling entry code if possible James Hogan
2016-06-23 16:34   ` James Hogan
2016-06-23 16:34 ` [PATCH 10/14] MIPS: KVM: Check MSA presence at uasm time James Hogan
2016-06-23 16:34   ` James Hogan
2016-06-23 16:34 ` [PATCH 11/14] MIPS: KVM: Drop redundant restore of DDATA_LO James Hogan
2016-06-23 16:34   ` James Hogan
2016-06-23 16:34 ` [PATCH 12/14] MIPS: KVM: Dynamically choose scratch registers James Hogan
2016-06-23 16:34   ` James Hogan
2016-06-23 16:34 ` [PATCH 13/14] MIPS: KVM: Relative branch to common exit handler James Hogan
2016-06-23 16:34   ` James Hogan
2016-06-23 16:34 ` [PATCH 14/14] MIPS: KVM: Save k0 straight into VCPU structure James Hogan
2016-06-23 16:34   ` James Hogan
2016-07-05 13:48 ` Ralf Baechle [this message]
2016-07-05 13:53   ` [PATCH 00/14] MIPS: KVM: Dynamically generate exception code Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160705134815.GK7075@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=james.hogan@imgtec.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=pbonzini@redhat.com \
    --cc=rkrcmar@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox