implement binary patching optimization for pv_cpu_ops.
With this optimization, indirect call for pv_cpu_ops methods can be
converted into inline execution or direct call.
Signed-off-by: Isaku Yamahata <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
add helper functions to support binary patching for paravirt_ops.
Signed-off-by: Isaku Yamahata <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
paravirtualize ia64_swtich_to, ia64_leave_syscall and ia64_leave_kernel.
They include sensitive or performance critical privileged instructions
so that they need paravirtualization.
To paravirtualize them by single source and multi compile
they are converted into indirect jump. And define each pv instances.
Cc: Keith Owens <[email protected]>
Cc: "Dong, Eddie" <[email protected]>
Signed-off-by: Isaku Yamahata <[email protected]>
Signed-off-by: Tony Luck <[email protected]>