commit | 8fac5cbdfe0f01254d9d265c6aa1a95f94f58595 | [log] [tgz] |
---|---|---|
author | James Morse <james.morse@arm.com> | Thu Jan 24 16:32:56 2019 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Fri Feb 01 14:10:01 2019 +0000 |
tree | 0dbe05cf87c553864d3632457cb5dce8867e23d4 | |
parent | f2b3d8566d81deaca31f4e3163def0bea7746e11 [diff] |
arm64: hyp-stub: Forbid kprobing of the hyp-stub The hyp-stub is loaded by the kernel's early startup code at EL2 during boot, before KVM takes ownership later. The hyp-stub's text is part of the regular kernel text, meaning it can be kprobed. A breakpoint in the hyp-stub causes the CPU to spin in el2_sync_invalid. Add it to the __hyp_text. Signed-off-by: James Morse <james.morse@arm.com> Cc: stable@vger.kernel.org Signed-off-by: Will Deacon <will.deacon@arm.com>