Skip to content

OpenSBI SBI call causing infinite loop #528

@ziuziakowska

Description

@ziuziakowska

See: ziuziakowska/u-boot@e274058

OpenSBI enters an infinite loop when the trap handler uses an invalid capability early in the handler code. I haven't yet ruled out whether this is a toolchain bug or a hardware issue.

This is quite critical to Operating System support, as SBI calls are used by Linux and BSD to schedule timer interrupts and early debugging. This may also be responsible for Integer mode Linux freezes early in the boot process.

TODO: Add more information sourced from simulation traces.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions