Page MenuHomeFreeBSD

[PPC64] Fix ofw_initrd
ClosedPublic

Authored by luporl on Jun 7 2019, 5:14 PM.
Tags
None
Referenced Files
F167299367: D20553.id58372.diff
Thu, Aug 20, 6:47 PM
Unknown Object (File)
Wed, Aug 19, 3:50 PM
Unknown Object (File)
Sat, Aug 15, 1:19 AM
Unknown Object (File)
Fri, Aug 14, 10:54 PM
Unknown Object (File)
Sat, Aug 8, 4:46 PM
Unknown Object (File)
Wed, Aug 5, 6:20 PM
Unknown Object (File)
Tue, Aug 4, 2:02 PM
Unknown Object (File)
Sat, Aug 1, 4:22 PM

Details

Summary

Before this change, OFW initrd (as md) handling code was simulating an
ofwbus device. But as there isn't really a Device Tree (DT) node
representing OFW initrd (it is specified in 2 properties under
/chosen), its driver was in fact stealing other driver's DT node.
This was noticed after MD_ROOT_MEM became default and QEMU's USB
keyboard stopped working under VNC.

This change consists in simplifying the process of detection and mapping of initrd memory,
turning it into a simple startup step, instead of trying to simulate a device.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24757
Build 23518: arc lint + arc unit