diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2018-10-19 20:44:04 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2018-10-19 20:44:04 +1100 |
commit | 8d9fcacff9dc4445de4ced2dbe63b792174206d5 (patch) | |
tree | 9719bd1b5f23d6308fec1df08f3c9f12bfaa4cbc /drivers/vfio/vfio_iommu_spapr_tce.c | |
parent | 3d0d0d9b1d805e39456a9d49443d847092cb21ab (diff) | |
download | lwn-8d9fcacff9dc4445de4ced2dbe63b792174206d5.tar.gz lwn-8d9fcacff9dc4445de4ced2dbe63b792174206d5.zip |
KVM: PPC: Book3S HV: Don't use streamlined entry path on early POWER9 chips
This disables the use of the streamlined entry path for radix guests
on early POWER9 chips that need the workaround added in commit
a25bd72badfa ("powerpc/mm/radix: Workaround prefetch issue with KVM",
2017-07-24), because the streamlined entry path does not include
that workaround. This also means that we can't do nested HV-KVM
on those chips.
Since the chips that need that workaround are the same ones that can't
run both radix and HPT guests at the same time on different threads of
a core, we use the existing 'no_mixing_hpt_and_radix' variable that
identifies those chips to identify when we can't use the new guest
entry path, and when we can't do nested virtualization.
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'drivers/vfio/vfio_iommu_spapr_tce.c')
0 files changed, 0 insertions, 0 deletions