Page MenuHomeFreeBSD

[PowerPC64] Enable virtio drivers
ClosedPublic

Authored by alfredo on Dec 16 2019, 12:37 PM.
Referenced Files
Unknown Object (File)
Mon, Jun 24, 6:44 AM
Unknown Object (File)
May 15 2024, 9:29 AM
Unknown Object (File)
May 15 2024, 9:29 AM
Unknown Object (File)
May 4 2024, 11:39 PM
Unknown Object (File)
Jan 5 2024, 12:36 PM
Unknown Object (File)
Jan 5 2024, 12:35 PM
Unknown Object (File)
Dec 26 2023, 10:46 PM
Unknown Object (File)
Dec 22 2023, 10:41 PM

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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/modules/Makefile
769 ↗(On Diff #65705)

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.