path: root/arch/powerpc/include
diff options
authorPaul Mackerras <paulus@ozlabs.org>2017-02-28 11:05:47 +1100
committerPaul Mackerras <paulus@ozlabs.org>2017-03-01 11:54:10 +1100
commit4e5acdc23a3dcbd6ad6dc93a9783dd9c838987c8 (patch)
treea8f9058470d24185e98dc02df00f2e1f9d24d08a /arch/powerpc/include
parent70cd4c10b290dd77fff6dc702a9a2c8c679df121 (diff)
KVM: PPC: Book3S HV: Don't use ASDR for real-mode HPT faults on POWER9
In HPT mode on POWER9, the ASDR register is supposed to record segment information for hypervisor page faults. It turns out that POWER9 DD1 does not record the page size information in the ASDR for faults in guest real mode. We have the necessary information in memory already, so by moving the checks for real mode that already existed, we can use the in-memory copy. Since a load is likely to be faster than reading an SPR, we do this unconditionally (not just for POWER9 DD1). Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/include')
0 files changed, 0 insertions, 0 deletions