summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@ozlabs.org>2017-05-22 16:55:16 +1000
committerPaul Mackerras <paulus@ozlabs.org>2017-06-19 14:02:04 +1000
commit1bc3fe818c9e823248f6ec299b1c518aa2df347c (patch)
tree9ebed7c173b556ce8434da58b09d7794faca9508 /sound
parent3d3efb68c19e539f0535c93a5258c1299270215f (diff)
KVM: PPC: Book3S HV: Enable guests to use large decrementer mode on POWER9
This allows userspace (e.g. QEMU) to enable large decrementer mode for the guest when running on a POWER9 host, by setting the LPCR_LD bit in the guest LPCR value. With this, the guest exit code saves 64 bits of the guest DEC value on exit. Other places that use the guest DEC value check the LPCR_LD bit in the guest LPCR value, and if it is set, omit the 32-bit sign extension that would otherwise be done. This doesn't change the DEC emulation used by PR KVM because PR KVM is not supported on POWER9 yet. This is partly based on an earlier patch by Oliver O'Halloran. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions