[Bug 2076651] [NEW] Crash on RISC-V in virtual machine using KVM

Heinrich Schuchardt 2076651 at bugs.launchpad.net
Mon Aug 12 14:49:34 UTC 2024


Public bug reported:

On RISC-V hardware offering the hypervisor extension GRUB crashes in
virtual machines running under KVM due  to missing accessibility of the
counter register.

For measuring time the RISC-V ISA provides the time register.

Please, apply the following patch:

[PATCH 1/1] riscv: use time register in grub_efi_get_time_ms()
https://lists.gnu.org/archive/html/grub-devel/2024-08/msg00008.html

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "0001-riscv-use-time-register-in-grub_efi_get_time_ms.patch"
   https://bugs.launchpad.net/bugs/2076651/+attachment/5805231/+files/0001-riscv-use-time-register-in-grub_efi_get_time_ms.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/2076651

Title:
  Crash on RISC-V in virtual machine using KVM

Status in grub2 package in Ubuntu:
  New

Bug description:
  On RISC-V hardware offering the hypervisor extension GRUB crashes in
  virtual machines running under KVM due  to missing accessibility of
  the counter register.

  For measuring time the RISC-V ISA provides the time register.

  Please, apply the following patch:

  [PATCH 1/1] riscv: use time register in grub_efi_get_time_ms()
  https://lists.gnu.org/archive/html/grub-devel/2024-08/msg00008.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2076651/+subscriptions




More information about the foundations-bugs mailing list