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

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

 



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:
> > 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.



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]