[PATCH] arm64: kvm: Annotate hyp NMI-related functions as __always_inline
maz at kernel.org
Mon Jun 22 09:41:26 EDT 2020
On Thu, 18 Jun 2020 18:12:54 +0100, Alexandru Elisei wrote:
> The "inline" keyword is a hint for the compiler to inline a function. The
> functions system_uses_irq_prio_masking() and gic_write_pmr() are used by
> the code running at EL2 on a non-VHE system, so mark them as
> __always_inline to make sure they'll always be part of the .hyp.text
> This fixes the following splat when trying to run a VM:
Applied to next, thanks!
[1/1] KVM: arm64: Annotate hyp NMI-related functions as __always_inline
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel