Re: [PATCH v5 04/17] x86/acrn: Introduce hypercall interfaces

From: Borislav Petkov
Date: Mon Nov 02 2020 - 09:57:15 EST


On Mon, Oct 19, 2020 at 02:17:50PM +0800, shuo.a.liu@xxxxxxxxx wrote:
> +static inline long acrn_hypercall0(unsigned long hcall_id)
> +{
> + long result;
> +
> + asm volatile("movl %1, %%r8d\n\t"
> + "vmcall\n\t"
> + : "=a" (result)
> + : "ir" (hcall_id)
^^

Not "irm"? Or simply "g" in that case?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette