From: James Hogan <james.hogan@imgtec.com> To: <linux-mips@linux-mips.org> Cc: "James Hogan" <james.hogan@imgtec.com>, "Paolo Bonzini" <pbonzini@redhat.com>, "Radim Krčmář" <rkrcmar@redhat.com>, "Ralf Baechle" <ralf@linux-mips.org>, kvm@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH 0/3] KVM: MIPS: Miscellaneous 4.9 fixes Date: Tue, 25 Oct 2016 16:08:18 +0100 [thread overview] Message-ID: <cover.c0ced53ae71e1272ec1aaa16007e9eebb1c0eac6.1477320903.git-series.james.hogan@imgtec.com> (raw) A few more fixes intended for v4.9. Patches 2 & 3 are tagged for stable. - The first fixes lazy user ASID regeneration which was introduced in 4.9-rc1 and still wasn't quite right for SMP hosts. - The second is a minor incorrect behaviour in ERET emulation when both ERL and EXL are set (i.e. unlikely to hit in practice), which has been wrong since MIPS KVM was added in v3.10. - The third fixes a slightly risky completion of an MMIO load in branch delay slot, where it'll try and read guest code outside of the proper context. Currently we should only be able to hit this if the MMIO load in branch delay slot is in guest TLB mapped (i.e. kernel module) code. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: "Radim Krčmář" <rkrcmar@redhat.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org Cc: stable@vger.kernel.org James Hogan (3): KVM: MIPS: Fix lazy user ASID regenerate for SMP KVM: MIPS: Make ERET handle ERL before EXL KVM: MIPS: Precalculate MMIO load resume PC arch/mips/include/asm/kvm_host.h | 7 ++++--- arch/mips/kvm/emulate.c | 32 +++++++++++++++++++------------- arch/mips/kvm/mips.c | 5 ++++- arch/mips/kvm/mmu.c | 4 ---- 4 files changed, 27 insertions(+), 21 deletions(-) -- git-series 0.8.10
WARNING: multiple messages have this Message-ID (diff)
From: James Hogan <james.hogan@imgtec.com> To: linux-mips@linux-mips.org Cc: "James Hogan" <james.hogan@imgtec.com>, "Paolo Bonzini" <pbonzini@redhat.com>, "Radim Krčmář" <rkrcmar@redhat.com>, "Ralf Baechle" <ralf@linux-mips.org>, kvm@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH 0/3] KVM: MIPS: Miscellaneous 4.9 fixes Date: Tue, 25 Oct 2016 16:08:18 +0100 [thread overview] Message-ID: <cover.c0ced53ae71e1272ec1aaa16007e9eebb1c0eac6.1477320903.git-series.james.hogan@imgtec.com> (raw) Message-ID: <20161025150818.hwWJq7bFQqgHUlpvlRnHVLi1Ge0lNyKtlTszEUuk__Q@z> (raw) A few more fixes intended for v4.9. Patches 2 & 3 are tagged for stable. - The first fixes lazy user ASID regeneration which was introduced in 4.9-rc1 and still wasn't quite right for SMP hosts. - The second is a minor incorrect behaviour in ERET emulation when both ERL and EXL are set (i.e. unlikely to hit in practice), which has been wrong since MIPS KVM was added in v3.10. - The third fixes a slightly risky completion of an MMIO load in branch delay slot, where it'll try and read guest code outside of the proper context. Currently we should only be able to hit this if the MMIO load in branch delay slot is in guest TLB mapped (i.e. kernel module) code. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: "Radim Krčmář" <rkrcmar@redhat.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org Cc: stable@vger.kernel.org James Hogan (3): KVM: MIPS: Fix lazy user ASID regenerate for SMP KVM: MIPS: Make ERET handle ERL before EXL KVM: MIPS: Precalculate MMIO load resume PC arch/mips/include/asm/kvm_host.h | 7 ++++--- arch/mips/kvm/emulate.c | 32 +++++++++++++++++++------------- arch/mips/kvm/mips.c | 5 ++++- arch/mips/kvm/mmu.c | 4 ---- 4 files changed, 27 insertions(+), 21 deletions(-) -- git-series 0.8.10
next reply other threads:[~2016-10-25 15:08 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-10-25 15:08 James Hogan [this message] 2016-10-25 15:08 ` [PATCH 0/3] KVM: MIPS: Miscellaneous 4.9 fixes James Hogan 2016-10-25 15:08 ` [PATCH 1/3] KVM: MIPS: Fix lazy user ASID regenerate for SMP James Hogan 2016-10-25 15:08 ` James Hogan 2016-10-25 15:11 ` [PATCH 2/3] KVM: MIPS: Make ERET handle ERL before EXL James Hogan 2016-10-25 15:11 ` James Hogan 2016-10-25 15:11 ` [PATCH 3/3] KVM: MIPS: Precalculate MMIO load resume PC James Hogan 2016-10-25 15:11 ` James Hogan 2016-10-25 15:57 ` [PATCH 0/3] KVM: MIPS: Miscellaneous 4.9 fixes 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=cover.c0ced53ae71e1272ec1aaa16007e9eebb1c0eac6.1477320903.git-series.james.hogan@imgtec.com \ --to=james.hogan@imgtec.com \ --cc=kvm@vger.kernel.org \ --cc=linux-mips@linux-mips.org \ --cc=pbonzini@redhat.com \ --cc=ralf@linux-mips.org \ --cc=rkrcmar@redhat.com \ --cc=stable@vger.kernel.org \ /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: linkBe 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; as well as URLs for NNTP newsgroup(s).