Page MenuHomeFreeBSD

[PowerPC64] Enable virtio drivers
ClosedPublic

Authored by alfredo on Dec 16 2019, 12:37 PM.
Referenced Files
F116018576: D22833.diff
Thu, May 1, 4:42 PM
Unknown Object (File)
Mon, Apr 21, 10:09 AM
Unknown Object (File)
Fri, Apr 18, 6:13 AM
Unknown Object (File)
Mon, Apr 7, 5:22 AM
Unknown Object (File)
Mar 29 2025, 5:45 AM
Unknown Object (File)
Mar 27 2025, 11:04 AM
Unknown Object (File)
Mar 11 2025, 8:57 AM
Unknown Object (File)
Feb 28 2025, 3:18 AM

Details

Summary

This enables virtio modules on PowerPC* target.
On PowerPC64, drivers are also kernel builtin.

QEMU currently needs to be patched to in order to work on LE hosts due to known issue affecting pre-1.0 (legacy) virtio drivers.
The patch was submitted to QEMU mail list by @afscoelho_gmail.com, available at https://lists.nongnu.org/archive/html/qemu-devel/2020-01/msg01496.html

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28182
Build 26311: arc lint + arc unit

Event Timeline

sys/modules/Makefile
770

I've tested that your patched virtio drivers (from your abandoned review) work on powerpcspe as well, so why not put this under the MACHINE_CPUARCH == powerpc banner?

alfredo edited the summary of this revision. (Show Details)

build virtio modules on all powerpc platforms

enable man pages as suggested by @bdragon

LGTM.
I've tested this by applying the QEMU patch over version 4.2.0 and everything worked fine.

This revision is now accepted and ready to land.Jan 14 2020, 4:35 PM
This revision was automatically updated to reflect the committed changes.