search for: 65261a7

Displaying 20 results from an estimated 25 matches for "65261a7".

2014 Nov 17
4
[PATCH V3 1/2] virtio: introduce methods of sanitizing device features
...set_bit(i, dev->features); + /* Sanitize buggy features advertised by host */ + if (drv->sanitize_features) + drv->sanitize_features(dev); + dev->config->finalize_features(dev); err = drv->probe(dev); diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..5aed283 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -142,6 +142,7 @@ struct virtio_driver { void (*scan)(struct virtio_device *dev); void (*remove)(struct virtio_device *dev); void (*config_changed)(struct virtio_device *dev); + void (*sanitize_features)(struct virtio...
2014 Nov 17
4
[PATCH V3 1/2] virtio: introduce methods of sanitizing device features
...set_bit(i, dev->features); + /* Sanitize buggy features advertised by host */ + if (drv->sanitize_features) + drv->sanitize_features(dev); + dev->config->finalize_features(dev); err = drv->probe(dev); diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..5aed283 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -142,6 +142,7 @@ struct virtio_driver { void (*scan)(struct virtio_device *dev); void (*remove)(struct virtio_device *dev); void (*config_changed)(struct virtio_device *dev); + void (*sanitize_features)(struct virtio...
2014 Nov 17
0
[PATCH V3 1/2] virtio: introduce methods of sanitizing device features
...* Sanitize buggy features advertised by host */ > + if (drv->sanitize_features) > + drv->sanitize_features(dev); > + > dev->config->finalize_features(dev); > > err = drv->probe(dev); > diff --git a/include/linux/virtio.h b/include/linux/virtio.h > index 65261a7..5aed283 100644 > --- a/include/linux/virtio.h > +++ b/include/linux/virtio.h > @@ -142,6 +142,7 @@ struct virtio_driver { > void (*scan)(struct virtio_device *dev); > void (*remove)(struct virtio_device *dev); > void (*config_changed)(struct virtio_device *dev); > + void...
2014 Nov 13
2
[PATCH 1/2] virito: introduce methods of fixing device features
...(1 << i)) set_bit(i, dev->features); + /* Fix buggy features advertised by host */ + if (drv->fix_features) + drv->fix_features(dev); + dev->config->finalize_features(dev); err = drv->probe(dev); diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..9d01b54 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -142,6 +142,7 @@ struct virtio_driver { void (*scan)(struct virtio_device *dev); void (*remove)(struct virtio_device *dev); void (*config_changed)(struct virtio_device *dev); + void (*fix_features)(struct virtio_devi...
2014 Nov 13
2
[PATCH 1/2] virito: introduce methods of fixing device features
...(1 << i)) set_bit(i, dev->features); + /* Fix buggy features advertised by host */ + if (drv->fix_features) + drv->fix_features(dev); + dev->config->finalize_features(dev); err = drv->probe(dev); diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..9d01b54 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -142,6 +142,7 @@ struct virtio_driver { void (*scan)(struct virtio_device *dev); void (*remove)(struct virtio_device *dev); void (*config_changed)(struct virtio_device *dev); + void (*fix_features)(struct virtio_devi...
2014 Nov 24
0
[PATCH v3 01/41] virtio: use u32, not bitmap for struct virtio_device's features
...| 3 +-- drivers/virtio/virtio_ring.c | 2 +- tools/virtio/virtio_test.c | 5 ++--- tools/virtio/vringh_test.c | 16 ++++++++-------- 15 files changed, 39 insertions(+), 71 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..7828a7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -101,8 +101,7 @@ struct virtio_device { const struct virtio_config_ops *config; const struct vringh_config_ops *vringh_config; struct list_head vqs; - /* Note that this is a Linux set_bit-style bitmap. */ - unsigned...
2014 Nov 24
0
[PATCH v3 01/41] virtio: use u32, not bitmap for struct virtio_device's features
...| 3 +-- drivers/virtio/virtio_ring.c | 2 +- tools/virtio/virtio_test.c | 5 ++--- tools/virtio/vringh_test.c | 16 ++++++++-------- 15 files changed, 39 insertions(+), 71 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..7828a7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -101,8 +101,7 @@ struct virtio_device { const struct virtio_config_ops *config; const struct vringh_config_ops *vringh_config; struct list_head vqs; - /* Note that this is a Linux set_bit-style bitmap. */ - unsigned...
2014 Oct 22
0
[PATCH RFC v2 03/16] virtio: use u32, not bitmap for struct virtio_device's features
...| 3 +-- drivers/virtio/virtio_ring.c | 2 +- tools/virtio/virtio_test.c | 5 ++--- tools/virtio/vringh_test.c | 16 ++++++++-------- 15 files changed, 39 insertions(+), 71 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..7828a7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -101,8 +101,7 @@ struct virtio_device { const struct virtio_config_ops *config; const struct vringh_config_ops *vringh_config; struct list_head vqs; - /* Note that this is a Linux set_bit-style bitmap. */ - unsigned...
2014 Oct 22
0
[PATCH RFC v3 03/16] virtio: use u32, not bitmap for struct virtio_device's features
...| 3 +-- drivers/virtio/virtio_ring.c | 2 +- tools/virtio/virtio_test.c | 5 ++--- tools/virtio/vringh_test.c | 16 ++++++++-------- 15 files changed, 39 insertions(+), 71 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..7828a7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -101,8 +101,7 @@ struct virtio_device { const struct virtio_config_ops *config; const struct vringh_config_ops *vringh_config; struct list_head vqs; - /* Note that this is a Linux set_bit-style bitmap. */ - unsigned...
2014 Oct 23
0
[PATCH RFC v4 03/17] virtio: use u32, not bitmap for struct virtio_device's features
...| 3 +-- drivers/virtio/virtio_ring.c | 2 +- tools/virtio/virtio_test.c | 5 ++--- tools/virtio/vringh_test.c | 16 ++++++++-------- 15 files changed, 39 insertions(+), 71 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..7828a7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -101,8 +101,7 @@ struct virtio_device { const struct virtio_config_ops *config; const struct vringh_config_ops *vringh_config; struct list_head vqs; - /* Note that this is a Linux set_bit-style bitmap. */ - unsigned...
2014 Oct 22
0
[PATCH RFC v2 03/16] virtio: use u32, not bitmap for struct virtio_device's features
...| 3 +-- drivers/virtio/virtio_ring.c | 2 +- tools/virtio/virtio_test.c | 5 ++--- tools/virtio/vringh_test.c | 16 ++++++++-------- 15 files changed, 39 insertions(+), 71 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..7828a7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -101,8 +101,7 @@ struct virtio_device { const struct virtio_config_ops *config; const struct vringh_config_ops *vringh_config; struct list_head vqs; - /* Note that this is a Linux set_bit-style bitmap. */ - unsigned...
2014 Oct 22
0
[PATCH RFC v3 03/16] virtio: use u32, not bitmap for struct virtio_device's features
...| 3 +-- drivers/virtio/virtio_ring.c | 2 +- tools/virtio/virtio_test.c | 5 ++--- tools/virtio/vringh_test.c | 16 ++++++++-------- 15 files changed, 39 insertions(+), 71 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..7828a7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -101,8 +101,7 @@ struct virtio_device { const struct virtio_config_ops *config; const struct vringh_config_ops *vringh_config; struct list_head vqs; - /* Note that this is a Linux set_bit-style bitmap. */ - unsigned...
2014 Oct 23
0
[PATCH RFC v4 03/17] virtio: use u32, not bitmap for struct virtio_device's features
...| 3 +-- drivers/virtio/virtio_ring.c | 2 +- tools/virtio/virtio_test.c | 5 ++--- tools/virtio/vringh_test.c | 16 ++++++++-------- 15 files changed, 39 insertions(+), 71 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..7828a7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -101,8 +101,7 @@ struct virtio_device { const struct virtio_config_ops *config; const struct vringh_config_ops *vringh_config; struct list_head vqs; - /* Note that this is a Linux set_bit-style bitmap. */ - unsigned...
2014 Nov 25
0
[PATCH v4 01/42] virtio: use u32, not bitmap for struct virtio_device's features
...| 3 +-- drivers/virtio/virtio_ring.c | 2 +- tools/virtio/virtio_test.c | 5 ++--- tools/virtio/vringh_test.c | 16 ++++++++-------- 16 files changed, 40 insertions(+), 72 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..7828a7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -101,8 +101,7 @@ struct virtio_device { const struct virtio_config_ops *config; const struct vringh_config_ops *vringh_config; struct list_head vqs; - /* Note that this is a Linux set_bit-style bitmap. */ - unsigned...
2014 Nov 25
0
[PATCH v4 01/42] virtio: use u32, not bitmap for struct virtio_device's features
...| 3 +-- drivers/virtio/virtio_ring.c | 2 +- tools/virtio/virtio_test.c | 5 ++--- tools/virtio/vringh_test.c | 16 ++++++++-------- 16 files changed, 40 insertions(+), 72 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..7828a7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -101,8 +101,7 @@ struct virtio_device { const struct virtio_config_ops *config; const struct vringh_config_ops *vringh_config; struct list_head vqs; - /* Note that this is a Linux set_bit-style bitmap. */ - unsigned...
2014 Nov 30
0
[PATCH v7 02/46] virtio: use u32, not bitmap for features
...| 3 +-- drivers/virtio/virtio_ring.c | 2 +- tools/virtio/virtio_test.c | 5 ++--- tools/virtio/vringh_test.c | 16 ++++++++-------- 16 files changed, 42 insertions(+), 74 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..7828a7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -101,8 +101,7 @@ struct virtio_device { const struct virtio_config_ops *config; const struct vringh_config_ops *vringh_config; struct list_head vqs; - /* Note that this is a Linux set_bit-style bitmap. */ - unsigned...
2014 Dec 01
0
[PATCH v8 02/50] virtio: use u32, not bitmap for features
...| 3 +-- drivers/virtio/virtio_ring.c | 2 +- tools/virtio/virtio_test.c | 5 ++--- tools/virtio/vringh_test.c | 16 ++++++++-------- 16 files changed, 42 insertions(+), 74 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..7828a7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -101,8 +101,7 @@ struct virtio_device { const struct virtio_config_ops *config; const struct vringh_config_ops *vringh_config; struct list_head vqs; - /* Note that this is a Linux set_bit-style bitmap. */ - unsigned...
2014 Nov 30
0
[PATCH v7 02/46] virtio: use u32, not bitmap for features
...| 3 +-- drivers/virtio/virtio_ring.c | 2 +- tools/virtio/virtio_test.c | 5 ++--- tools/virtio/vringh_test.c | 16 ++++++++-------- 16 files changed, 42 insertions(+), 74 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..7828a7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -101,8 +101,7 @@ struct virtio_device { const struct virtio_config_ops *config; const struct vringh_config_ops *vringh_config; struct list_head vqs; - /* Note that this is a Linux set_bit-style bitmap. */ - unsigned...
2014 Dec 01
0
[PATCH v8 02/50] virtio: use u32, not bitmap for features
...| 3 +-- drivers/virtio/virtio_ring.c | 2 +- tools/virtio/virtio_test.c | 5 ++--- tools/virtio/vringh_test.c | 16 ++++++++-------- 16 files changed, 42 insertions(+), 74 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..7828a7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -101,8 +101,7 @@ struct virtio_device { const struct virtio_config_ops *config; const struct vringh_config_ops *vringh_config; struct list_head vqs; - /* Note that this is a Linux set_bit-style bitmap. */ - unsigned...
2014 Nov 13
7
[PATCH 1/2] virito: introduce methods of fixing device features
...(1 << i)) set_bit(i, dev->features); + /* Fix buggy features advertised by host */ + if (drv->fix_features) + drv->fix_features(dev); + dev->config->finalize_features(dev); err = drv->probe(dev); diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 65261a7..9d01b54 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -142,6 +142,7 @@ struct virtio_driver { void (*scan)(struct virtio_device *dev); void (*remove)(struct virtio_device *dev); void (*config_changed)(struct virtio_device *dev); + void (*fix_features)(struct virtio_devi...