Skip to content

bsp/virt64: expose EL2 for AVZ on the bare-U-Boot chain - #73

Open
daniel-rossier wants to merge 1 commit into
mainfrom
bugfix/avz-el2-virt64
Open

daniel-rossier wants to merge 1 commit into
mainfrom
bugfix/avz-el2-virt64

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor

The bare-U-Boot path (no ATF) in __do_platform_boot_chain wrote the QEMU machine as a plain virt,gic-version=2, omitting virtualization=on even for an AVZ guest. Without EL2 the hypervisor faults on its first EL2 system-register access (msr VPIDR_EL2) as a synchronous abort, and the machine resets in a loop.

The from-card path already guarded this; the bare path now does too — re-derived identically. Pure bugfix for the 1.1.0 release line, no behaviour change when the hypervisor is not AVZ.

Verified end-to-end on virt64/uboot+avz: AVZ boots, kernel 6.18-evl boots, EVL: core started.

The bare-U-Boot path (no ATF) wrote the QEMU machine as a plain
"virt,gic-version=2", omitting virtualization=on even for an AVZ guest.
Without EL2 the hypervisor faults on its first EL2 system-register
access (msr VPIDR_EL2) as a synchronous abort, and the machine resets in
a loop. The from-card path already guarded this; the bare path now does
too.

This branch has not been deployed

No deployments
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.

1 participant