Skip to content

Commit

Permalink
vtscmi: Add a virtio-scmi driver
Browse files Browse the repository at this point in the history
Add a new virtio backend to support SCMI VirtIO devices (type 32) as
defined by the VirtIO specification since version v1.2.

https://docs.oasis-open.org/virtio/virtio/v1.2/cs01/virtio-v1.2-cs01.pdf

Reviewed by:	andrew, bryanv
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D43047
  • Loading branch information
freefall75 authored and zxombie committed Apr 11, 2024
1 parent 35f9320 commit e1c4c8d
Show file tree
Hide file tree
Showing 7 changed files with 591 additions and 0 deletions.
1 change: 1 addition & 0 deletions sys/arm64/conf/NOTES
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ device virtio_pci
device virtio_mmio
device virtio_blk
device vtnet
device virtio_scmi

# Google Virtual NIC
device gve # Google Virtual NIC (gVNIC) driver
Expand Down
1 change: 1 addition & 0 deletions sys/arm64/conf/std.virt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ device virtio_pci # VirtIO PCI device
device virtio_mmio # VirtIO Memory Mapped IO device
device virtio_blk # VirtIO Block device
device virtio_gpu # VirtIO GPU device
device virtio_scmi # VirtIO SCMI device
device virtio_scsi # VirtIO SCSI device
device vtnet # VirtIO Ethernet device

Expand Down
1 change: 1 addition & 0 deletions sys/conf/files
Original file line number Diff line number Diff line change
Expand Up @@ -3422,6 +3422,7 @@ dev/virtio/gpu/virtio_gpu.c optional virtio_gpu
dev/virtio/scsi/virtio_scsi.c optional virtio_scsi
dev/virtio/random/virtio_random.c optional virtio_random
dev/virtio/console/virtio_console.c optional virtio_console
dev/virtio/scmi/virtio_scmi.c optional virtio_scmi
dev/vkbd/vkbd.c optional vkbd
dev/vmgenc/vmgenc_acpi.c optional acpi
dev/vmware/vmxnet3/if_vmx.c optional vmx
Expand Down
Loading

0 comments on commit e1c4c8d

Please sign in to comment.