Re: [PATCH v3] arm64: errata: Add NXP iMX8QM workaround for A53 cache coherency issue

Marc Zyngier <[email protected]>
Newsgroups dev.linux.lists.imx,dev.linux.lists.kvmarm,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Mon, 03 Aug 2026 09:54:44 +0100,
"Peng Fan (OSS)" <[email protected]> wrote:
>

[...]

> diff --git a/arch/arm64/kvm/arm.c b/arch/arm64/kvm/arm.c
> index 9a6c72a18672..1b9213d3e168 100644
> --- a/arch/arm64/kvm/arm.c
> +++ b/arch/arm64/kvm/arm.c
> @@ -3176,4 +3176,9 @@ enum kvm_mode kvm_get_mode(void)
>  	return kvm_mode;
>  }
>  
> +void kvm_disable_mode(void)
> +{
> +	kvm_mode = KVM_MODE_NONE;
> +}
> +

If you are respinning this for any odd reason, please rename it to
kvm_force_disabled(), and place it next to early_kvm_mode_cfg().

Thanks,

	M.

-- 
Without deviation from the norm, progress is not possible.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.