Re: [PATCH 2/4] arm64: kprobe: Always blacklist the KVM world-switch code

2019-01-22 Thread Masami Hiramatsu
On Mon, 21 Jan 2019 17:04:02 + James Morse wrote: > On systems with VHE the kernel and KVM's world-switch code run at the > same exception level. Code that is only used on a VHE system does not > need to be annotated as __hyp_text as it can reside anywhere in the > kernel text. > >

[PATCH 2/4] arm64: kprobe: Always blacklist the KVM world-switch code

2019-01-21 Thread James Morse
On systems with VHE the kernel and KVM's world-switch code run at the same exception level. Code that is only used on a VHE system does not need to be annotated as __hyp_text as it can reside anywhere in the kernel text. __hyp_text was also used to prevent kprobes from patching breakpoint