diff options
author | James Hogan <james.hogan@imgtec.com> | 2016-09-01 17:30:13 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-10-04 16:13:57 +0200 |
commit | d99a043a9a506290a0aac6746a8e412df3dafbfb (patch) | |
tree | dfcda71fb7f0c1d293888cd0a6b76cc7f0a39111 /arch/mips/kvm | |
parent | 8e3a9f4c3ab6dd0da5e8a89bd252518ff2ee5e3a (diff) |
MIPS: uprobes: Flush icache via kernel address
Update arch_uprobe_copy_ixol() to use the kmap_atomic() based kernel
address to flush the icache with flush_icache_range(), rather than the
user mapping. We have the kernel mapping available anyway and this
avoids having to switch to using the new __flush_icache_user_range() for
the sake of Enhanced Virtual Addressing (EVA) where flush_icache_range()
will become ineffective on user addresses.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Leonid Yegoshin <leonid.yegoshin@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14154/
Patchwork: https://patchwork.linux-mips.org/patch/14308/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kvm')
0 files changed, 0 insertions, 0 deletions