]> Gentwo Git Trees - linux/.git/commit
x86/hyperv: Use direct call to hypercall-page
authorPeter Zijlstra <peterz@infradead.org>
Sat, 12 Apr 2025 11:55:55 +0000 (13:55 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 18 Aug 2025 12:23:07 +0000 (14:23 +0200)
commitc8ed0812646e1335c80a8f204c1b92b2f9d76119
tree4c289eb4aba9d2a9214d67c5b9b4203feb6d8c06
parent0e20f1f4c2cb77130cfe903a058a08883645dc4b
x86/hyperv: Use direct call to hypercall-page

Instead of using an indirect call to the hypercall page, use a direct
call instead. This avoids all CFI problems, including the one where
the hypercall page doesn't have IBT on.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Acked-by: Sean Christopherson <seanjc@google.com>
Link: https://lkml.kernel.org/r/20250714103441.011387946@infradead.org
arch/x86/hyperv/hv_init.c