Thread (7 messages) 7 messages, 2 authors, 2017-08-04

Re: [PATCH 3/3 v4.9.y] KVM: PPC: Book3S HV: Enable TM before accessing TM registers

From: Paul Mackerras <hidden>
Date: 2017-08-04 04:44:35

On Thu, Aug 03, 2017 at 12:22:45PM -0700, Greg KH wrote:
On Mon, Jul 31, 2017 at 11:08:30AM +1000, Paul Mackerras wrote:
quoted
commit e47057151422a67ce08747176fa21cb3b526a2c9 upstream.

Commit 46a704f8409f ("KVM: PPC: Book3S HV: Preserve userspace HTM state
properly", 2017-06-15) added code to read transactional memory (TM)
registers but forgot to enable TM before doing so.  The result is
that if userspace does have live values in the TM registers, a KVM_RUN
ioctl will cause a host kernel crash like this:
I also have already taken this one, right?
Yep.  I included it as I hadn't seen the "patch applied" mail from you
when I sent the series.

Paul.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help