Displaying 2 results from an estimated 2 matches for "e1d38a9".
Did you mean:
1ed31a9
2014 Nov 25
2
[PATCH v4 04/42] virtio: disable virtio 1.0 in transports
...out_free:
kfree(features);
kfree(ccw);
- return rc;
+ /* TODO: enable virtio 1.0 */
+ return rc & ~BIT_ULL(VIRTIO_F_VERSION_1);;
}
static void virtio_ccw_finalize_features(struct virtio_device *vdev)
diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c
index fd01c6d..e1d38a9 100644
--- a/drivers/virtio/virtio_mmio.c
+++ b/drivers/virtio/virtio_mmio.c
@@ -151,6 +151,8 @@ static u64 vm_get_features(struct virtio_device *vdev)
features = readl(vm_dev->base + VIRTIO_MMIO_HOST_FEATURES);
writel(1, vm_dev->base + VIRTIO_MMIO_HOST_FEATURES_SEL);
features |= ((u64)...
2014 Nov 25
2
[PATCH v4 04/42] virtio: disable virtio 1.0 in transports
...out_free:
kfree(features);
kfree(ccw);
- return rc;
+ /* TODO: enable virtio 1.0 */
+ return rc & ~BIT_ULL(VIRTIO_F_VERSION_1);;
}
static void virtio_ccw_finalize_features(struct virtio_device *vdev)
diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c
index fd01c6d..e1d38a9 100644
--- a/drivers/virtio/virtio_mmio.c
+++ b/drivers/virtio/virtio_mmio.c
@@ -151,6 +151,8 @@ static u64 vm_get_features(struct virtio_device *vdev)
features = readl(vm_dev->base + VIRTIO_MMIO_HOST_FEATURES);
writel(1, vm_dev->base + VIRTIO_MMIO_HOST_FEATURES_SEL);
features |= ((u64)...