Skip to content

riscv64: Avoid F and V instruction generation#300

Merged
retrage merged 2 commits intocloud-hypervisor:mainfrom
retrage:2023-12-09-riscv64-fixes
Dec 13, 2023
Merged

riscv64: Avoid F and V instruction generation#300
retrage merged 2 commits intocloud-hypervisor:mainfrom
retrage:2023-12-09-riscv64-fixes

Conversation

@retrage
Copy link
Copy Markdown
Contributor

@retrage retrage commented Dec 9, 2023

As reported in issue #299, the latest RHF goes boot loop since nightly-2023-06-07 Rust toolchain. This is because the recent Rust generates code that includes F and V extensions, which we need to enable these features on startup. This commit disables generation of these extensions as a workaround.

Fixes #299.

@retrage retrage requested a review from rbradford December 9, 2023 09:02
Copy link
Copy Markdown
Member

@rbradford rbradford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@rbradford
Copy link
Copy Markdown
Member

I think the wget is failing to download the aarch64 binary - like cloud-hypervisor/cloud-hypervisor#6006

@retrage retrage force-pushed the 2023-12-09-riscv64-fixes branch from e20922a to b27c71b Compare December 12, 2023 11:05
Signed-off-by: Akira Moroo <retrage01@gmail.com>
As reported in issue cloud-hypervisor#299, the latest RHF goes boot loop since
`nightly-2023-06-07` Rust toolchain. This is because the recent Rust
generates code that includes F and V extensions, which we need to enable
these features on startup. This commit disables generation of these
extensions as a workaround.

Signed-off-by: Akira Moroo <retrage01@gmail.com>
@retrage retrage force-pushed the 2023-12-09-riscv64-fixes branch from b27c71b to 62be56b Compare December 13, 2023 00:52
@retrage retrage merged commit c3d6de6 into cloud-hypervisor:main Dec 13, 2023
@retrage retrage deleted the 2023-12-09-riscv64-fixes branch December 13, 2023 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Boot Loop with RISC-V

2 participants