Page MenuHomeFreeBSD

bhyve: Add FDT building code for arm64
ClosedPublic

Authored by markj on Jul 12 2023, 1:52 PM.
Tags
None
Referenced Files
F102050578: D40996.id124558.diff
Thu, Nov 7, 12:07 AM
Unknown Object (File)
Mon, Oct 21, 5:11 PM
Unknown Object (File)
Oct 5 2024, 8:23 AM
Unknown Object (File)
Oct 2 2024, 9:09 AM
Unknown Object (File)
Oct 2 2024, 1:01 AM
Unknown Object (File)
Sep 18 2024, 1:04 PM
Unknown Object (File)
Sep 14 2024, 9:41 PM
Unknown Object (File)
Sep 7 2024, 1:28 PM

Details

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 Not Applicable
Unit
Tests Not Applicable

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
This revision was automatically updated to reflect the committed changes.