From: Greg KH <gregkh@linuxfoundation.org>
To: Paul Mackerras <paulus@ozlabs.org>
Cc: stable@vger.kernel.org
Subject: Re: [PATCH 3/3 v4.9.y] KVM: PPC: Book3S HV: Enable TM before accessing TM registers
Date: Thu, 3 Aug 2017 12:22:45 -0700 [thread overview]
Message-ID: <20170803192245.GE26218@kroah.com> (raw)
In-Reply-To: <20170731010830.bq74c24g4nrxl4z6@oak.ozlabs.ibm.com>
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?
next prev parent reply other threads:[~2017-08-03 19:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-31 1:06 [PATCH 1/3 v4.9.y] KVM: PPC: Book3S HV: Restore critical SPRs to host values on guest exit Paul Mackerras
2017-07-31 1:07 ` [PATCH 2/3 v4.9.y] KVM: PPC: Book3S HV: Save/restore host values of debug registers Paul Mackerras
2017-07-31 1:08 ` [PATCH 3/3 v4.9.y] KVM: PPC: Book3S HV: Enable TM before accessing TM registers Paul Mackerras
2017-08-03 19:22 ` Greg KH [this message]
2017-08-04 4:44 ` Paul Mackerras
2017-08-03 19:21 ` [PATCH 1/3 v4.9.y] KVM: PPC: Book3S HV: Restore critical SPRs to host values on guest exit Greg KH
2017-08-04 4:31 ` Paul Mackerras
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=20170803192245.GE26218@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=paulus@ozlabs.org \
--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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.