On Thu, Sep 21, 2023 at 09:58:40PM -0700, Saurabh Sengar wrote:
> There has been cases reported where HYPERV_VTL_MODE is enabled by mistake,
> on a non Hyper-V platforms. This causes the hv_vtl_early_init function to
> be called in an non Hyper-V/VTL platforms which results the memory
> corruption.
> 
> Remove the early_initcall for hv_vtl_early_init and call it at the end of
> hyperv_init to make sure it is never called in a non Hyper-V platform by
> mistake.
> 
> Reported-by: Mathias Krause <[email protected]>
> Closes: 
> https://lore.kernel.org/lkml/[email protected]/
> Signed-off-by: Saurabh Sengar <[email protected]>
> Acked-by: Mathias Krause <[email protected]>

Applied to hyperv-fixes. Thanks.

Reply via email to