Re: [PATCH] hv: add CONFIG_EFI dependency
From: Arnd Bergmann
Date: Fri Jun 13 2025 - 12:08:00 EST
On Fri, Jun 13, 2025, at 17:50, Michael Kelley wrote:
> From: Michael Kelley <mhklinux@xxxxxxxxxxx> Sent: Tuesday, June 10,
>
> There are other ways to express the HYPERV dependency on EFI that is
> conditional. But if the condition includes HYPERV_VTL_MODE (which
> it needs to), then there's a dependency loop because
> HYPERV_VTL_MODE depends on HYPERV. So that doesn't work
> either.
>
> To solve the immediate problem, we'll just have to do
>
> select SYSFB if EFI && !HYPERV_VTL_MODE
Right. Technically, you could do
select HYPERV_VTL_MODE if !EFI
but that makes no sense from a usability point of view.
> Separately, if we want to express the broader dependency of
> HYPERV on EFI (at least for ARM64), then the dependency of
> HYPERV_VTL_MODE on HYPERV will need to go away. Three
> months back I had suggested not creating that dependency [1],
> but the eventual decision was to add it. [2, and follow discussion]
> We would need to revisit that discussion.
>
> Arnd -- if you'd prefer that I submit the patch, let me know.
> I created the original problem and can clean up the mess. :-)
Yes, please do, I trust you will come up with a better patch
description than I would.
Arnd