[PATCH 03/10] x86/hyper-v: make hv_do_hypercall() inline

Greg KH gregkh at linuxfoundation.org
Mon Jul 17 15:21:55 UTC 2017


On Sun, Jun 25, 2017 at 10:06:42AM -0700, kys at exchange.microsoft.com wrote:
> From: Vitaly Kuznetsov <vkuznets at redhat.com>
> 
> We have only three call sites for hv_do_hypercall() and we're going to
> change HVCALL_SIGNAL_EVENT to doing fast hypercall so we can inline this
> function for optimization.
> 
> Hyper-V top level functional specification states that r9-r11 registers
> and flags may be clobbered by the hypervisor during hypercall and with
> inlining this is somewhat important, add the clobbers.
> 
> Signed-off-by: Vitaly Kuznetsov <vkuznets at redhat.com>
> Reviewed-by: Andy Shevchenko <andy.shevchenko at gmail.com>
> Signed-off-by: K. Y. Srinivasan <kys at microsoft.com>

This patch breaks the build, so can you please rebase and resend this,
and the rest of this series, if you wish to have it applied?

thanks,

greg k-h


More information about the devel mailing list