From: Vitaly Kuznetsov vkuznets@redhat.com
redhat/configs: Enable Hyper-V guests on ARM64
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2007430
Enable Hyper-V guest support for both x86 and ARM64, drop wrong entries from 'pending'.
Signed-off-by: Vitaly Kuznetsov vkuznets@redhat.com
diff --git a/redhat/configs/common/generic/x86/CONFIG_DRM_HYPERV b/redhat/configs/common/generic/CONFIG_DRM_HYPERV rename from redhat/configs/common/generic/x86/CONFIG_DRM_HYPERV rename to redhat/configs/common/generic/CONFIG_DRM_HYPERV index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/x86/CONFIG_DRM_HYPERV +++ b/redhat/configs/common/generic/CONFIG_DRM_HYPERV diff --git a/redhat/configs/common/generic/x86/CONFIG_FB_HYPERV b/redhat/configs/common/generic/CONFIG_FB_HYPERV rename from redhat/configs/common/generic/x86/CONFIG_FB_HYPERV rename to redhat/configs/common/generic/CONFIG_FB_HYPERV index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/x86/CONFIG_FB_HYPERV +++ b/redhat/configs/common/generic/CONFIG_FB_HYPERV diff --git a/redhat/configs/common/generic/x86/CONFIG_HID_HYPERV_MOUSE b/redhat/configs/common/generic/CONFIG_HID_HYPERV_MOUSE rename from redhat/configs/common/generic/x86/CONFIG_HID_HYPERV_MOUSE rename to redhat/configs/common/generic/CONFIG_HID_HYPERV_MOUSE index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/x86/CONFIG_HID_HYPERV_MOUSE +++ b/redhat/configs/common/generic/CONFIG_HID_HYPERV_MOUSE diff --git a/redhat/configs/common/generic/x86/CONFIG_HYPERV b/redhat/configs/common/generic/CONFIG_HYPERV rename from redhat/configs/common/generic/x86/CONFIG_HYPERV rename to redhat/configs/common/generic/CONFIG_HYPERV index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/x86/CONFIG_HYPERV +++ b/redhat/configs/common/generic/CONFIG_HYPERV diff --git a/redhat/configs/common/generic/x86/CONFIG_HYPERV_BALLOON b/redhat/configs/common/generic/CONFIG_HYPERV_BALLOON rename from redhat/configs/common/generic/x86/CONFIG_HYPERV_BALLOON rename to redhat/configs/common/generic/CONFIG_HYPERV_BALLOON index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/x86/CONFIG_HYPERV_BALLOON +++ b/redhat/configs/common/generic/CONFIG_HYPERV_BALLOON diff --git a/redhat/configs/common/generic/x86/CONFIG_HYPERV_IOMMU b/redhat/configs/common/generic/CONFIG_HYPERV_IOMMU rename from redhat/configs/common/generic/x86/CONFIG_HYPERV_IOMMU rename to redhat/configs/common/generic/CONFIG_HYPERV_IOMMU index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/x86/CONFIG_HYPERV_IOMMU +++ b/redhat/configs/common/generic/CONFIG_HYPERV_IOMMU diff --git a/redhat/configs/common/generic/x86/CONFIG_HYPERV_KEYBOARD b/redhat/configs/common/generic/CONFIG_HYPERV_KEYBOARD rename from redhat/configs/common/generic/x86/CONFIG_HYPERV_KEYBOARD rename to redhat/configs/common/generic/CONFIG_HYPERV_KEYBOARD index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/x86/CONFIG_HYPERV_KEYBOARD +++ b/redhat/configs/common/generic/CONFIG_HYPERV_KEYBOARD diff --git a/redhat/configs/common/generic/x86/CONFIG_HYPERV_NET b/redhat/configs/common/generic/CONFIG_HYPERV_NET rename from redhat/configs/common/generic/x86/CONFIG_HYPERV_NET rename to redhat/configs/common/generic/CONFIG_HYPERV_NET index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/x86/CONFIG_HYPERV_NET +++ b/redhat/configs/common/generic/CONFIG_HYPERV_NET diff --git a/redhat/configs/common/generic/x86/CONFIG_HYPERV_STORAGE b/redhat/configs/common/generic/CONFIG_HYPERV_STORAGE rename from redhat/configs/common/generic/x86/CONFIG_HYPERV_STORAGE rename to redhat/configs/common/generic/CONFIG_HYPERV_STORAGE index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/x86/CONFIG_HYPERV_STORAGE +++ b/redhat/configs/common/generic/CONFIG_HYPERV_STORAGE diff --git a/redhat/configs/common/generic/x86/CONFIG_HYPERV_UTILS b/redhat/configs/common/generic/CONFIG_HYPERV_UTILS rename from redhat/configs/common/generic/x86/CONFIG_HYPERV_UTILS rename to redhat/configs/common/generic/CONFIG_HYPERV_UTILS index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/x86/CONFIG_HYPERV_UTILS +++ b/redhat/configs/common/generic/CONFIG_HYPERV_UTILS diff --git a/redhat/configs/common/generic/x86/CONFIG_HYPERV_VSOCKETS b/redhat/configs/common/generic/CONFIG_HYPERV_VSOCKETS rename from redhat/configs/common/generic/x86/CONFIG_HYPERV_VSOCKETS rename to redhat/configs/common/generic/CONFIG_HYPERV_VSOCKETS index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/x86/CONFIG_HYPERV_VSOCKETS +++ b/redhat/configs/common/generic/CONFIG_HYPERV_VSOCKETS diff --git a/redhat/configs/common/generic/x86/CONFIG_PCI_HYPERV b/redhat/configs/common/generic/CONFIG_PCI_HYPERV rename from redhat/configs/common/generic/x86/CONFIG_PCI_HYPERV rename to redhat/configs/common/generic/CONFIG_PCI_HYPERV index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/x86/CONFIG_PCI_HYPERV +++ b/redhat/configs/common/generic/CONFIG_PCI_HYPERV diff --git a/redhat/configs/ark/generic/x86/x86_64/CONFIG_UIO_HV_GENERIC b/redhat/configs/common/generic/CONFIG_UIO_HV_GENERIC rename from redhat/configs/ark/generic/x86/x86_64/CONFIG_UIO_HV_GENERIC rename to redhat/configs/common/generic/CONFIG_UIO_HV_GENERIC index blahblah..blahblah 100644 --- a/redhat/configs/ark/generic/x86/x86_64/CONFIG_UIO_HV_GENERIC +++ b/redhat/configs/common/generic/CONFIG_UIO_HV_GENERIC diff --git a/redhat/configs/fedora/generic/CONFIG_UIO_HV_GENERIC b/redhat/configs/fedora/generic/CONFIG_UIO_HV_GENERIC deleted file mode 100644 index blahblah..blahblah 0 --- a/redhat/configs/fedora/generic/CONFIG_UIO_HV_GENERIC +++ /dev/null @@ -1 +0,0 @@ -CONFIG_UIO_HV_GENERIC=m diff --git a/redhat/configs/pending-common/generic/CONFIG_HYPERV b/redhat/configs/pending-common/generic/CONFIG_HYPERV deleted file mode 100644 index blahblah..blahblah 0 --- a/redhat/configs/pending-common/generic/CONFIG_HYPERV +++ /dev/null @@ -1,13 +0,0 @@ -# Symbol: HYPERV [=n] -# Type : tristate -# Defined at drivers/hv/Kconfig:5 -# Prompt: Microsoft Hyper-V client drivers -# Depends on: ACPI [=y] && (X86 && X86_LOCAL_APIC && HYPERVISOR_GUEST || ARM64 [=y] && !CPU_BIG_ENDIAN [=n]) -# Location: -# -> Device Drivers -# -> Microsoft Hyper-V guest support -# Selects: PARAVIRT [=y] && X86_HV_CALLBACK_VECTOR -# -# -# -# CONFIG_HYPERV is not set diff --git a/redhat/configs/pending-fedora/generic/CONFIG_HYPERV b/redhat/configs/pending-fedora/generic/CONFIG_HYPERV deleted file mode 100644 index blahblah..blahblah 0 --- a/redhat/configs/pending-fedora/generic/CONFIG_HYPERV +++ /dev/null @@ -1,13 +0,0 @@ -# Symbol: HYPERV [=n] -# Type : tristate -# Defined at drivers/hv/Kconfig:5 -# Prompt: Microsoft Hyper-V client drivers -# Depends on: ACPI [=y] && (X86 && X86_LOCAL_APIC && HYPERVISOR_GUEST || ARM64 [=y] && !CPU_BIG_ENDIAN [=n]) -# Location: -# -> Device Drivers -# -> Microsoft Hyper-V guest support -# Selects: PARAVIRT [=y] && X86_HV_CALLBACK_VECTOR -# -# -# -# CONFIG_HYPERV is not set
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1394
From: Lyude Paul on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1394#note_6867262...
Acked-by: Lyude Paul lyude@redhat.com (via approve button)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1394#note_6876634...
Acked-by: Prarit Bhargava prarit@redhat.com (via approve button)
From: Mohamed Gamal Morsy on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1394#note_6877728...
Acked-by: Mohamed Gamal Morsy mgamal@redhat.com
From: Jerry Snitselaar on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1394#note_6879691...
Acked-by: Jerry Snitselaar jsnitsel@redhat.com (via approve button)
From: Jeremy Linton on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1394#note_6895194...
So, this look right and follows my other PR, but i'm curious what you're testing it on. I upgraded a lenovo 5g to win11 and am now experiencing early boot failures right before systemd in the initrd starts (Still pinning down the problem).
From: Jeremy Linton on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1394#note_6895799...
There is definitely a problem with the rodata checks, and for the moment the console/disk don't actually seem to be working correctly, so i'm digging into that too.
From: Vitaly Kuznetsov on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1394#note_6898960...
Sorry, I didn't actually have any Hyper-V/ARM hardware myself, was mostly relying on Microsoft reporting success from testing upstream kernel internally, not sure about the exact specs for the hardware/software. I'm not certain this is supposed to work with off-the-shelf Hyper/ARM at this point, I've heard about issues around console being worked on. Having this enabled in Fedora would make testing efforts easier I believe (and shouldn't break anything).
From: Jarod Wilson on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1394#note_6928540...
Acked-by: Jarod Wilson jarod@redhat.com (via approve button)
From: Justin M. Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1394#note_6928893...
Acked-by: Justin M. Forbes jforbes@fedoraproject.org (via approve button)
From: Justin M. Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1394#note_6928897...
I am going to merge these config changes assuming this will be better tested soonish. We know it should work, this tree tracks linus upstream, so it will improve quickly. If they need to be reverted before RHEL 10 it would be worth keeping in mind.
kernel@lists.fedoraproject.org