virtio-mmio: Correct the name of the guest features selector
Guest features selector spelling mistake. Cc: Pawel Moll <pawel.moll@arm.com> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: virtualization@lists.linux-foundation.org Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
bd20817f73
commit
fe1a7fe2c4
|
@ -118,7 +118,7 @@ static void vm_finalize_features(struct virtio_device *vdev)
|
||||||
vring_transport_features(vdev);
|
vring_transport_features(vdev);
|
||||||
|
|
||||||
for (i = 0; i < ARRAY_SIZE(vdev->features); i++) {
|
for (i = 0; i < ARRAY_SIZE(vdev->features); i++) {
|
||||||
writel(i, vm_dev->base + VIRTIO_MMIO_GUEST_FEATURES_SET);
|
writel(i, vm_dev->base + VIRTIO_MMIO_GUEST_FEATURES_SEL);
|
||||||
writel(vdev->features[i],
|
writel(vdev->features[i],
|
||||||
vm_dev->base + VIRTIO_MMIO_GUEST_FEATURES);
|
vm_dev->base + VIRTIO_MMIO_GUEST_FEATURES);
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
#define VIRTIO_MMIO_GUEST_FEATURES 0x020
|
#define VIRTIO_MMIO_GUEST_FEATURES 0x020
|
||||||
|
|
||||||
/* Activated features set selector - Write Only */
|
/* Activated features set selector - Write Only */
|
||||||
#define VIRTIO_MMIO_GUEST_FEATURES_SET 0x024
|
#define VIRTIO_MMIO_GUEST_FEATURES_SEL 0x024
|
||||||
|
|
||||||
/* Guest's memory page size in bytes - Write Only */
|
/* Guest's memory page size in bytes - Write Only */
|
||||||
#define VIRTIO_MMIO_GUEST_PAGE_SIZE 0x028
|
#define VIRTIO_MMIO_GUEST_PAGE_SIZE 0x028
|
||||||
|
|
Loading…
Reference in New Issue