]> xenbits.xensource.com Git - xen.git/commit
xen/livepatch: Support new altcall scheme
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sun, 20 Apr 2025 01:32:26 +0000 (02:32 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Apr 2025 18:37:57 +0000 (19:37 +0100)
commitd2fd5f0fcd5d65f357f40672a9db213076ba09a0
treed9cc80e8ef05e52ebd5b2f187dd601c4cabb7686
parentac02ee9c82d115a824629edb10c14f260108ef56
xen/livepatch: Support new altcall scheme

The new altcall scheme uses an .alt_call_sites section.  Wire this up in very
much the same way as the .altinstructions section, although there is less
sanity checking necessary.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/alternative.c
xen/common/livepatch.c
xen/include/xen/alternative-call.h