Page MenuHomeFreeBSD

[PowerPC64] Enable virtio drivers
ClosedPublic

Authored by alfredo on Dec 16 2019, 12:37 PM.
Referenced Files
Unknown Object (File)
Sat, Oct 18, 2:48 AM
Unknown Object (File)
Fri, Oct 17, 4:28 AM
Unknown Object (File)
Thu, Oct 16, 2:18 PM
Unknown Object (File)
Thu, Oct 16, 2:18 PM
Unknown Object (File)
Thu, Oct 16, 2:18 PM
Unknown Object (File)
Thu, Oct 16, 2:18 PM
Unknown Object (File)
Thu, Oct 16, 2:18 PM
Unknown Object (File)
Thu, Oct 16, 2:36 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.