diff options
author | 2019-05-13 13:03:49 +1000 | |
---|---|---|
committer | 2019-05-14 12:05:24 +1000 | |
commit | 2eeeaf16aa6f30c349251da4a1b09be24d92411f (patch) | |
tree | 97f752446c5020c5c415173642b7aed44637f42d /scripts/gen_compile_commands.py | |
parent | KVM: PPC: Book3S HV: XIVE: Clear escalation interrupt pointers on device close (diff) | |
download | linux-dev-2eeeaf16aa6f30c349251da4a1b09be24d92411f.tar.xz linux-dev-2eeeaf16aa6f30c349251da4a1b09be24d92411f.zip |
KVM: PPC: Book3S HV: Make sure to load LPID for radix VCPUs
Commit 70ea13f6e609 ("KVM: PPC: Book3S HV: Flush TLB on secondary radix
threads", 2019-04-29) aimed to make radix guests that are using the
real-mode entry path load the LPID register and flush the TLB in the
same place where those things are done for HPT guests. However, it
omitted to remove a branch which branches around that code for radix
guests. The result is that with indep_thread_mode = N, radix guests
don't run correctly. (With indep_threads_mode = Y, which is the
default, radix guests use a different entry path.)
This removes the offending branch, and also the load and compare that
the branch depends on, since the cr7 setting is now unused.
Reported-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Tested-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Fixes: 70ea13f6e609 ("KVM: PPC: Book3S HV: Flush TLB on secondary radix threads")
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions