Enable arm64 for Hyper-V guests

Bug #1949770 reported by Tim Gardner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-azure (Ubuntu)
Fix Released
Undecided
Tim Gardner
Hirsute
Fix Released
Medium
Tim Gardner
Impish
Fix Released
Undecided
Tim Gardner
Jammy
Fix Released
Undecided
Tim Gardner
linux-meta-azure (Ubuntu)
Fix Released
Undecided
Tim Gardner
Hirsute
Fix Released
Medium
Tim Gardner
Impish
Fix Released
Undecided
Tim Gardner
Jammy
Fix Released
Undecided
Tim Gardner
linux-signed-azure (Ubuntu)
Fix Released
Undecided
Tim Gardner
Hirsute
Fix Released
Medium
Tim Gardner
Impish
Fix Released
Undecided
Tim Gardner
Jammy
Fix Released
Undecided
Tim Gardner

Bug Description

SRU Justification

[Impact]

Since linux-azure can also be used for local Hyper-V guests on Windows 10 Pro running on arm64 platforms, enable arm64 build for this kernel as well.

[Test Case]

Boot an arm64 VM on a machine running Win10Pro with Hyper-V.

[Where things could go wrong]

Some of the patches touch common PCI code. Device detection could be impacted.

[Other info]

SF: #00310705

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1949770

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Tim Gardner (timg-tpi)
affects: linux (Ubuntu) → linux-azure (Ubuntu)
Changed in linux-azure (Ubuntu):
assignee: nobody → Tim Gardner (timg-tpi)
importance: Undecided → Medium
status: Incomplete → In Progress
tags: added: bot-stop-nagging
Tim Gardner (timg-tpi)
description: updated
Marcelo Cerri (mhcerri)
description: updated
summary: - linux-azure: Enable arm64
+ linux-azure: Enable arm64 for Hyper-V guests
Marcelo Cerri (mhcerri)
summary: - linux-azure: Enable arm64 for Hyper-V guests
+ Enable arm64 for Hyper-V guests
Tim Gardner (timg-tpi)
Changed in linux-azure (Ubuntu Hirsute):
status: New → In Progress
assignee: nobody → Tim Gardner (timg-tpi)
Changed in linux-signed-azure (Ubuntu Hirsute):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
Changed in linux-azure (Ubuntu Hirsute):
importance: Undecided → Medium
Changed in linux-meta-azure (Ubuntu Hirsute):
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Tim Gardner (timg-tpi)
Changed in linux-signed-azure (Ubuntu Hirsute):
importance: Undecided → Medium
Changed in linux-azure (Ubuntu Jammy):
assignee: Tim Gardner (timg-tpi) → nobody
status: In Progress → New
importance: Medium → Undecided
Tim Gardner (timg-tpi)
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-azure/5.11.0-1023.24 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-hirsute' to 'verification-done-hirsute'. If the problem still exists, change the tag 'verification-needed-hirsute' to 'verification-failed-hirsute'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-hirsute
Revision history for this message
Tim Gardner (timg-tpi) wrote :

Microsoft is consuming images prepared by CPC using this kernel. Marking verifiction-done.

tags: added: verification-done-hirsute
removed: verification-needed-hirsute
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (linux-meta-azure/5.11.0.1023.24)

All autopkgtests for the newly accepted linux-meta-azure (5.11.0.1023.24) for hirsute have finished running.
The following regressions have been reported in tests triggered by the package:

dahdi-linux/1:2.11.1~dfsg-1ubuntu8 (amd64)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/hirsute/update_excuses.html#linux-meta-azure

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Tim Gardner (timg-tpi)
Changed in linux-azure (Ubuntu Hirsute):
status: In Progress → Fix Committed
Changed in linux-meta-azure (Ubuntu Hirsute):
status: In Progress → Fix Committed
Changed in linux-signed-azure (Ubuntu Hirsute):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-signed-azure - 5.11.0-1023.24

---------------
linux-signed-azure (5.11.0-1023.24) hirsute; urgency=medium

  * Master version: 5.11.0-1023.24

  * Enable arm64 for Hyper-V guests (LP: #1949770)
    - [Packaging] azure: Enable arm64

 -- Tim Gardner <email address hidden> Tue, 07 Dec 2021 11:50:29 -0700

Changed in linux-signed-azure (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-meta-azure - 5.11.0.1023.24

---------------
linux-meta-azure (5.11.0.1023.24) hirsute; urgency=medium

  * Bump ABI 5.11.0-1023

  * Packaging resync (LP: #1786013)
    - [Packaging] resync debian/dkms-versions from main package

  * Enable arm64 for Hyper-V guests (LP: #1949770)
    - [Packaging] azure: Enable arm64

 -- Tim Gardner <email address hidden> Tue, 07 Dec 2021 11:45:27 -0700

Changed in linux-meta-azure (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (36.0 KiB)

This bug was fixed in the package linux-azure - 5.11.0-1023.24

---------------
linux-azure (5.11.0-1023.24) hirsute; urgency=medium

  * hirsute/linux-azure: 5.11.0-1023.24 -proposed tracker (LP: #1952268)

  * Enable arm64 for Hyper-V guests (LP: #1949770)
    - Drivers: hv: vmbus: Move Hyper-V page allocator to arch neutral code
    - x86/hyper-v: Move hv_message_type to architecture neutral module
    - Drivers: hv: Redo Hyper-V synthetic MSR get/set functions
    - Drivers: hv: vmbus: Move hyperv_report_panic_msg to arch neutral code
    - Drivers: hv: vmbus: Handle auto EOI quirk inline
    - Drivers: hv: vmbus: Move handling of VMbus interrupts
    - clocksource/drivers/hyper-v: Handle vDSO differences inline
    - clocksource/drivers/hyper-v: Handle sched_clock differences inline
    - asm-generic/hyperv: change HV_CPU_POWER_MANAGEMENT to HV_CPU_MANAGEMENT
    - x86/hyperv: detect if Linux is the root partition
    - clocksource/hyperv: use MSR-based access if running as root
    - clocksource/drivers/hyper-v: Set clocksource rating based on Hyper-V feature
    - clocksource/drivers/hyper-v: Move handling of STIMER0 interrupts
    - drivers: hv: Fix whitespace errors
    - x86/Hyper-V: Support for free page reporting
    - x86/hyperv: Move hv_do_rep_hypercall to asm-generic
    - drivers: hv: Create a consistent pattern for checking Hyper-V hypercall
      status
    - arm64: smccc: Add support for SMCCCv1.2 extended input/output registers
    - Drivers: hv: Move Hyper-V extended capability check to arch neutral code
    - asm-generic/hyperv: Add missing #include of nmi.h
    - arm64: hyperv: Add Hyper-V hypercall and register access utilities
    - arm64: hyperv: Add panic handler
    - arm64: hyperv: Initialize hypervisor on boot
    - arm64: efi: Export screen_info
    - Drivers: hv: Enable Hyper-V code to be built on ARM64
    - [Packaging] linux-azure: Add basic packaging support for arm64
    - [Config] linux-azure: Extending existing annotations to arm64
    - [Config] linux-azure: Generate initial config for arm64
    - [Packaging] linux-azure: Ignore initial arm64 ABI
    - Drivers: hv: Make portions of Hyper-V init code be arch neutral
    - Drivers: hv: Add arch independent default functions for some Hyper-V
      handlers
    - Drivers: hv: Move Hyper-V misc functionality to arch-neutral code
    - drivers: hv: Decouple Hyper-V clock/timer code from VMbus drivers
    - PCI: Introduce domain_nr in pci_host_bridge
    - PCI: Support populating MSI domains of root buses via bridges
    - arm64: PCI: Restructure pcibios_root_bridge_prepare()
    - arm64: PCI: Support root bridge preparation for Hyper-V
    - PCI: hv: Generify PCI probing
    - PCI: hv: Set ->domain_nr of pci_host_bridge at probing time
    - PCI: hv: Turn on the host bridge probing on ARM64
    - PCI: hv: Set up MSI domain at bridge probing time
    - [Config] azure: COMMON_CLK_XLNX_CLKWZRD=m
    - PCI: hv: Support for create interrupt v3
    - SAUCE: PCI: hv: Make the code arch neutral by adding arch specific
      interfaces
    - SAUCE: arm64: PCI: hv: Add support for Hyper-V vPCI
    - [Packaging] Update CONFIG_PCI_HYPERV policy for arm64
    - PCI: hv: Dr...

Changed in linux-azure (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Tim Gardner (timg-tpi)
Changed in linux-azure (Ubuntu Impish):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
Changed in linux-meta-azure (Ubuntu Impish):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
Changed in linux-signed-azure (Ubuntu Impish):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
Changed in linux-azure (Ubuntu Jammy):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
Changed in linux-meta-azure (Ubuntu Jammy):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
Changed in linux-signed-azure (Ubuntu Jammy):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
Revision history for this message
Tim Gardner (timg-tpi) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-azure/5.13.0-1014.16 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-impish' to 'verification-done-impish'. If the problem still exists, change the tag 'verification-needed-impish' to 'verification-failed-impish'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-impish
Tim Gardner (timg-tpi)
tags: added: verification-done-impish
removed: verification-needed-impish
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (14.8 KiB)

This bug was fixed in the package linux-azure - 5.13.0-1014.16

---------------
linux-azure (5.13.0-1014.16) impish; urgency=medium

  * impish/linux-azure: 5.13.0-1014.16 -proposed tracker (LP: #1960044)

  * linux-azure: CONFIG_FB_EFI=y (LP: #1959216)
    - [Config] azure: CONFIG_FB_EFI=y

  * Add sunrpc module parameters for NFSv3 nconnect (LP: #1958990)
    - SAUCE: Add sunrpc module parameters for NFSv3 nconnect

  * MANA updates (LP: #1959012)
    - net: mana: Add RX fencing
    - net: mana: Fix memory leak in mana_hwc_create_wq

  * Enable arm64 for Hyper-V guests (LP: #1949770)
    - [Packaging] linux-azure: Add basic packaging support for arm64
    - [Config] azure: CONFIG_CMA=n [arm64]
    - Drivers: hv: Move Hyper-V extended capability check to arch neutral code
    - asm-generic/hyperv: Add missing #include of nmi.h
    - Drivers: hv: Make portions of Hyper-V init code be arch neutral
    - Drivers: hv: Add arch independent default functions for some Hyper-V
      handlers
    - kernel.h: split out panic and oops helpers
    - Drivers: hv: Move Hyper-V misc functionality to arch-neutral code
    - drivers: hv: Decouple Hyper-V clock/timer code from VMbus drivers
    - arm64: hyperv: Add Hyper-V hypercall and register access utilities
    - arm64: hyperv: Add panic handler
    - arm64: hyperv: Initialize hypervisor on boot
    - arm64: efi: Export screen_info
    - Drivers: hv: Enable Hyper-V code to be built on ARM64
    - PCI: hv: Support for create interrupt v3
    - PCI: Introduce domain_nr in pci_host_bridge
    - PCI: Support populating MSI domains of root buses via bridges
    - arm64: PCI: Restructure pcibios_root_bridge_prepare()
    - arm64: PCI: Support root bridge preparation for Hyper-V
    - PCI: hv: Generify PCI probing
    - PCI: hv: Set ->domain_nr of pci_host_bridge at probing time
    - PCI: hv: Turn on the host bridge probing on ARM64
    - PCI: hv: Set up MSI domain at bridge probing time
    - arm64: smccc: Add support for SMCCCv1.2 extended input/output registers
    - [Config] azure: Ignore initial arm64 ABI
    - PCI: hv: Make the code arch neutral by adding arch specific interfaces
    - PCI: hv: Add arm64 Hyper-V vPCI support
    - [Config] azure: Update arm64 policy for CONFIG_PCI_HYPERV

  * Support networking XDP (LP: #1958252)
    - net: mana: Use kcalloc() instead of kzalloc()
    - net: mana: Allow setting the number of queues while the NIC is down
    - net: mana: Fix the netdev_err()'s vPort argument in mana_init_port()
    - net: mana: Report OS info to the PF driver
    - net: mana: Improve the HWC error handling
    - net: mana: Support hibernation and kexec
    - net: mana: Fix spelling mistake "calledd" -> "called"
    - net: mana: Add XDP support

  [ Ubuntu: 5.13.0-30.33 ]

  * impish/linux: 5.13.0-30.33 -proposed tracker (LP: #1960055)
  * systemd/248.3-1ubuntu8.2 ADT test failure with linux/5.13.0-29.32
    (LP: #1960034)
    - Revert "block: avoid to quiesce queue in elevator_init_mq"
    - Revert "blk-mq: cancel blk-mq dispatch work in both blk_cleanup_queue and
      disk_release()"

  [ Ubuntu: 5.13.0-29.32 ]

  * impish/linux: 5.13.0-29.32 -proposed tracker (LP: #1959238)
  * Packagi...

Changed in linux-azure (Ubuntu Impish):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-meta-azure - 5.13.0.1014.14

---------------
linux-meta-azure (5.13.0.1014.14) impish; urgency=medium

  * Bump ABI 5.13.0-1014

  * Packaging resync (LP: #1786013)
    - [Packaging] resync debian/dkms-versions from main package

  * Enable arm64 for Hyper-V guests (LP: #1949770)
    - [Packaging] azure: Enable arm64

 -- Ian May <email address hidden> Fri, 11 Feb 2022 11:00:59 -0600

Changed in linux-meta-azure (Ubuntu Impish):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-signed-azure - 5.13.0-1014.16

---------------
linux-signed-azure (5.13.0-1014.16) impish; urgency=medium

  * Master version: 5.13.0-1014.16

  * Enable arm64 for Hyper-V guests (LP: #1949770)
    - [Packaging] azure: Enable arm64

 -- Ian May <email address hidden> Fri, 11 Feb 2022 11:01:26 -0600

Changed in linux-signed-azure (Ubuntu Impish):
status: In Progress → Fix Released
Tim Gardner (timg-tpi)
Changed in linux-azure (Ubuntu Jammy):
status: In Progress → Fix Committed
Tim Gardner (timg-tpi)
Changed in linux-meta-azure (Ubuntu):
status: In Progress → Fix Released
Changed in linux-meta-azure (Ubuntu Jammy):
status: In Progress → Fix Released
Changed in linux-signed-azure (Ubuntu):
status: In Progress → Fix Released
Changed in linux-signed-azure (Ubuntu Jammy):
status: In Progress → Fix Released
Changed in linux-azure (Ubuntu):
status: Fix Committed → Fix Released
Changed in linux-azure (Ubuntu Jammy):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.