Page MenuHomeFreeBSD

bhyve: Add FDT building code for arm64
AcceptedPublic

Authored by markj on Jul 12 2023, 1:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 10 2024, 2:03 AM
Unknown Object (File)
Dec 11 2023, 2:45 AM
Unknown Object (File)
Nov 12 2023, 6:42 PM
Unknown Object (File)
Aug 27 2023, 2:53 PM
Unknown Object (File)
Aug 23 2023, 7:16 PM
Unknown Object (File)
Aug 14 2023, 2:04 PM
Unknown Object (File)
Aug 14 2023, 2:03 AM
Unknown Object (File)
Aug 13 2023, 12:41 PM

Details

Reviewers
jhb
corvink
andrew
Group Reviewers
bhyve
Summary

fdt.c provides some basic routines which let platform initialization
code build the FDT that gets passed into the guest. For now this is not
very generic; we declare info about CPUs, memory, a single UART
(specified by -o console), a PCIe controller (used for virtio devices),
an interrupt controller and the platform timer.

Most imported from https://github.com/zxombie/freebsd/tree/bhyvearm64 ,
with some refactoring to avoid hard-coding various constants which
define the location of MMIO regions.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 54891
Build 51780: arc lint + arc unit

Event Timeline

markj requested review of this revision.Jul 12 2023, 1:52 PM
This revision is now accepted and ready to land.Jul 12 2023, 6:48 PM

Add msi-controller to the GIC node. This is required to boot Linux guests, otherwise
drivers fall back to legacy IRQs, which aren't implemented currently. From jrtc27.

This revision now requires review to proceed.Dec 11 2023, 4:12 PM
This revision is now accepted and ready to land.Dec 12 2023, 6:59 AM