summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorNicholas Piggin2018-05-17 19:49:43 +0200
committerPaul Mackerras2018-05-18 07:38:23 +0200
commiteadce3b48b5a8ffec7c8abbd4950a501c91d2515 (patch)
treefd0eb8ced43ffe9c3ada0a5dc09bbddead818f2c /net/wireless
parentKVM: PPC: Book3S HV: radix: Do not clear partition PTE when RC or write bits ... (diff)
downloadkernel-qcow2-linux-eadce3b48b5a8ffec7c8abbd4950a501c91d2515.tar.gz
kernel-qcow2-linux-eadce3b48b5a8ffec7c8abbd4950a501c91d2515.tar.xz
kernel-qcow2-linux-eadce3b48b5a8ffec7c8abbd4950a501c91d2515.zip
KVM: PPC: Book3S HV: Fix kvmppc_bad_host_intr for real mode interrupts
When CONFIG_RELOCATABLE=n, the Linux real mode interrupt handlers call into KVM using real address. This needs to be translated to the kernel linear effective address before the MMU is switched on. kvmppc_bad_host_intr misses adding these bits, so when it is used to handle a system reset interrupt (that always gets delivered in real mode), it results in an instruction access fault immediately after the MMU is turned on. Fix this by ensuring the top 2 address bits are set when the MMU is turned on. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions