diff options
author | Simon Guo <wei.guo.simon@gmail.com> | 2018-05-23 09:02:03 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2018-06-01 02:30:19 +0200 |
commit | 03c81682a90b3fc3434d3e33f3f4c7f1f39d65cd (patch) | |
tree | f8c267432418099f9f79cbe8650b122041f87b5b /block | |
parent | KVM: PPC: Book3S PR: Restore NV regs after emulating mfspr from TM SPRs (diff) | |
download | linux-03c81682a90b3fc3434d3e33f3f4c7f1f39d65cd.tar.xz linux-03c81682a90b3fc3434d3e33f3f4c7f1f39d65cd.zip |
KVM: PPC: Book3S PR: Add emulation for treclaim.
This patch adds support for "treclaim." emulation when PR KVM guest
executes treclaim. and traps to host.
We will firstly do treclaim. and save TM checkpoint. Then it is
necessary to update vcpu current reg content with checkpointed vals.
When rfid into guest again, those vcpu current reg content (now the
checkpoint vals) will be loaded into regs.
Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions