[PATCH v2 06/18] arm64: kvm: use -fno-jump-tables with clang

Will Deacon will.deacon at arm.com
Thu Nov 16 03:46:17 PST 2017


On Wed, Nov 15, 2017 at 01:34:16PM -0800, Sami Tolvanen wrote:
> Use -fno-jump-tables to make sure clang doesn't generate branches
> to EL1 virtual addresses.

Can you elaborate a bit more on exactly what you saw failing here, please?
Whilst it's obviously broken to jump to EL1 from EL2 w/o VHE, the commit
message is a bit cryptic.

Will



More information about the linux-arm-kernel mailing list