Displaying 5 results from an estimated 5 matches for "08536f0".
Did you mean:
0.5360
2014 Nov 25
2
[PATCH v4 04/42] virtio: disable virtio 1.0 in transports
...ead8(&in_features[i / 8]) & (BIT_ULL(i % 8)))
features |= BIT_ULL(i);
+ /* MIC is not in virtio 1.0, disable it for now. */
+ features &= ~BIT_ULL(VIRTIO_F_VERSION_1);
return features;
}
diff --git a/drivers/s390/kvm/virtio_ccw.c b/drivers/s390/kvm/virtio_ccw.c
index abba04d..08536f0 100644
--- a/drivers/s390/kvm/virtio_ccw.c
+++ b/drivers/s390/kvm/virtio_ccw.c
@@ -704,7 +704,8 @@ static u64 virtio_ccw_get_features(struct virtio_device *vdev)
out_free:
kfree(features);
kfree(ccw);
- return rc;
+ /* TODO: enable virtio 1.0 */
+ return rc & ~BIT_ULL(VIRTIO_F_VERSION_1);;...
2014 Nov 25
2
[PATCH v4 04/42] virtio: disable virtio 1.0 in transports
...ead8(&in_features[i / 8]) & (BIT_ULL(i % 8)))
features |= BIT_ULL(i);
+ /* MIC is not in virtio 1.0, disable it for now. */
+ features &= ~BIT_ULL(VIRTIO_F_VERSION_1);
return features;
}
diff --git a/drivers/s390/kvm/virtio_ccw.c b/drivers/s390/kvm/virtio_ccw.c
index abba04d..08536f0 100644
--- a/drivers/s390/kvm/virtio_ccw.c
+++ b/drivers/s390/kvm/virtio_ccw.c
@@ -704,7 +704,8 @@ static u64 virtio_ccw_get_features(struct virtio_device *vdev)
out_free:
kfree(features);
kfree(ccw);
- return rc;
+ /* TODO: enable virtio 1.0 */
+ return rc & ~BIT_ULL(VIRTIO_F_VERSION_1);;...
2014 Nov 25
0
[PATCH v4 04/42] virtio: disable virtio 1.0 in transports
...insertions(+), 2 deletions(-)
Why do you disable ccw but not pci? (Doesn't pci need any changes
transport-side?) And you missed the old s390 virtio transport in
drivers/s390/kvm/kvm_virtio.c :)
> diff --git a/drivers/s390/kvm/virtio_ccw.c b/drivers/s390/kvm/virtio_ccw.c
> index abba04d..08536f0 100644
> --- a/drivers/s390/kvm/virtio_ccw.c
> +++ b/drivers/s390/kvm/virtio_ccw.c
> @@ -704,7 +704,8 @@ static u64 virtio_ccw_get_features(struct virtio_device *vdev)
> out_free:
> kfree(features);
> kfree(ccw);
> - return rc;
> + /* TODO: enable virtio 1.0 */
> + r...
2014 Nov 25
2
[PATCH v4 04/42] virtio: disable virtio 1.0 in transports
...No because the register is 32 bit wide there.
> And you missed the old s390 virtio transport in
> drivers/s390/kvm/kvm_virtio.c :)
Good catch. I can fix that for v5, but see below.
> > diff --git a/drivers/s390/kvm/virtio_ccw.c b/drivers/s390/kvm/virtio_ccw.c
> > index abba04d..08536f0 100644
> > --- a/drivers/s390/kvm/virtio_ccw.c
> > +++ b/drivers/s390/kvm/virtio_ccw.c
> > @@ -704,7 +704,8 @@ static u64 virtio_ccw_get_features(struct virtio_device *vdev)
> > out_free:
> > kfree(features);
> > kfree(ccw);
> > - return rc;
> >...
2014 Nov 25
2
[PATCH v4 04/42] virtio: disable virtio 1.0 in transports
...No because the register is 32 bit wide there.
> And you missed the old s390 virtio transport in
> drivers/s390/kvm/kvm_virtio.c :)
Good catch. I can fix that for v5, but see below.
> > diff --git a/drivers/s390/kvm/virtio_ccw.c b/drivers/s390/kvm/virtio_ccw.c
> > index abba04d..08536f0 100644
> > --- a/drivers/s390/kvm/virtio_ccw.c
> > +++ b/drivers/s390/kvm/virtio_ccw.c
> > @@ -704,7 +704,8 @@ static u64 virtio_ccw_get_features(struct virtio_device *vdev)
> > out_free:
> > kfree(features);
> > kfree(ccw);
> > - return rc;
> >...