Bug#1108898: riscv64: Illegal instruction appears when using rdcycle in grub

Bo YU tsu.yubo at gmail.com
Mon Jul 7 15:46:10 BST 2025


Control: tags -1 patch

Hi,

On Mon, Jul 07, 2025 at 05:43:03PM +0800, Han Gao wrote:
[...]
>
>Dear Maintainer,
>
>Illegal instructions will occur when debian riscv64 iso boots to grub.efi.
>
>Because grub uses the rdcycle instruction.
>
>Upstream[1] has fixed this issue and hopes to backport to 2.12.
>
>[1]: https://cgit.git.savannah.gnu.org/cgit/grub.git/commit/grub-core/kern/riscv/efi/init.c?id=c5ae124e11f28f637cbd38cb4d6c1b9817baa135

I just backport the commit to generate one debdiff in order to facilitate
maintainer to review this(hopefully) and built it on riscv64 also.

-- 
Regards,
--
   Bo YU

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20250707/468d1475/attachment.sig>


More information about the Pkg-grub-devel mailing list