Displaying 20 results from an estimated 46 matches for "vop_main".
Did you mean:
vg_main
2017 Dec 12
1
[PATCH 2/3] virtio: use put_device instead of kfree
...:55:26 +0800
weiping zhang <zhangweiping at didichuxing.com> wrote:
> don't free vp_vdev until vp_vdev.dev.release be called.
Same comment as for the virtio_pci patch.
>
> Signed-off-by: weiping zhang <zhangweiping at didichuxing.com>
> ---
> drivers/misc/mic/vop/vop_main.c | 16 +++++++++-------
> 1 file changed, 9 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/misc/mic/vop/vop_main.c b/drivers/misc/mic/vop/vop_main.c
> index a341938..8c716a0 100644
> --- a/drivers/misc/mic/vop/vop_main.c
> +++ b/drivers/misc/mic/vop/vop_main.c
> @@ -4...
2017 Dec 12
1
[PATCH 2/3] virtio: use put_device instead of kfree
...:55:26 +0800
weiping zhang <zhangweiping at didichuxing.com> wrote:
> don't free vp_vdev until vp_vdev.dev.release be called.
Same comment as for the virtio_pci patch.
>
> Signed-off-by: weiping zhang <zhangweiping at didichuxing.com>
> ---
> drivers/misc/mic/vop/vop_main.c | 16 +++++++++-------
> 1 file changed, 9 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/misc/mic/vop/vop_main.c b/drivers/misc/mic/vop/vop_main.c
> index a341938..8c716a0 100644
> --- a/drivers/misc/mic/vop/vop_main.c
> +++ b/drivers/misc/mic/vop/vop_main.c
> @@ -4...
2017 Dec 11
6
[PATCH 0/3] fix cleanup for fail to register_virtio_device
...is series fix the cleanup for the caller of register_virtio_device,
the main work is use put_device instead of kfree.
weiping zhang (3):
virtio_pci: use put_device instead of kfree
virtio: use put_device instead of kfree
virtio: put reference count of virtio_device.dev
drivers/misc/mic/vop/vop_main.c | 16 +++++++++-------
drivers/remoteproc/remoteproc_virtio.c | 2 +-
drivers/virtio/virtio_pci_common.c | 17 +++++++++--------
3 files changed, 19 insertions(+), 16 deletions(-)
--
2.9.4
2017 Dec 11
6
[PATCH 0/3] fix cleanup for fail to register_virtio_device
...is series fix the cleanup for the caller of register_virtio_device,
the main work is use put_device instead of kfree.
weiping zhang (3):
virtio_pci: use put_device instead of kfree
virtio: use put_device instead of kfree
virtio: put reference count of virtio_device.dev
drivers/misc/mic/vop/vop_main.c | 16 +++++++++-------
drivers/remoteproc/remoteproc_virtio.c | 2 +-
drivers/virtio/virtio_pci_common.c | 17 +++++++++--------
3 files changed, 19 insertions(+), 16 deletions(-)
--
2.9.4
2017 Dec 11
0
[PATCH 2/3] virtio: use put_device instead of kfree
don't free vp_vdev until vp_vdev.dev.release be called.
Signed-off-by: weiping zhang <zhangweiping at didichuxing.com>
---
drivers/misc/mic/vop/vop_main.c | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/drivers/misc/mic/vop/vop_main.c b/drivers/misc/mic/vop/vop_main.c
index a341938..8c716a0 100644
--- a/drivers/misc/mic/vop/vop_main.c
+++ b/drivers/misc/mic/vop/vop_main.c
@@ -452,10 +452,12 @@ static irqreturn_t...
2017 Dec 12
0
[PATCH v2 2/3] virtio: use put_device instead of kfree
...function, even
* if it returned an error! Always use put_device() to give up the
* reference initialized in this function instead.
*/
so we don't free vp_vdev until vp_vdev.dev.release be called.
Signed-off-by: weiping zhang <zhangweiping at didichuxing.com>
---
drivers/misc/mic/vop/vop_main.c | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/drivers/misc/mic/vop/vop_main.c b/drivers/misc/mic/vop/vop_main.c
index a341938..456e969 100644
--- a/drivers/misc/mic/vop/vop_main.c
+++ b/drivers/misc/mic/vop/vop_main.c
@@ -452,10 +452,12 @@ static irqretur...
2017 Dec 20
0
[PATCH v4 3/4] virtio_vop: don't kfree device on register failure
...nction, even
* if it returned an error! Always use put_device() to give up the
* reference initialized in this function instead.
*/
so we don't free vdev until vdev->vdev.dev.release be called.
Signed-off-by: weiping zhang <zhangweiping at didichuxing.com>
---
drivers/misc/mic/vop/vop_main.c | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/drivers/misc/mic/vop/vop_main.c b/drivers/misc/mic/vop/vop_main.c
index a341938..3633202 100644
--- a/drivers/misc/mic/vop/vop_main.c
+++ b/drivers/misc/mic/vop/vop_main.c
@@ -452,10 +452,12 @@ static irqret...
2017 Dec 21
0
[PATCH v5 3/4] virtio_vop: don't kfree device on register failure
...device() to give up the
* reference initialized in this function instead.
*/
so we don't free vdev until vdev->vdev.dev.release be called.
Signed-off-by: weiping zhang <zhangweiping at didichuxing.com>
Reviewed-by: Cornelia Huck <cohuck at redhat.com>
---
drivers/misc/mic/vop/vop_main.c | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/drivers/misc/mic/vop/vop_main.c b/drivers/misc/mic/vop/vop_main.c
index a341938..3633202 100644
--- a/drivers/misc/mic/vop/vop_main.c
+++ b/drivers/misc/mic/vop/vop_main.c
@@ -452,10 +452,12 @@ static irqret...
2017 Dec 20
8
[PATCH v4 0/4] use put_device to cleanup resource
...ve_device
weiping zhang (4):
virtio: split device_register into device_initialize and device_add
virtio_pci: don't kfree device on register failure
virtio_vop: don't kfree device on register failure
virtio_remoteproc: don't kfree device on register failure
drivers/misc/mic/vop/vop_main.c | 20 +++++++++++++-------
drivers/remoteproc/remoteproc_virtio.c | 13 +++++++++++--
drivers/virtio/virtio.c | 18 +++++++++++++++---
drivers/virtio/virtio_pci_common.c | 8 ++++++--
4 files changed, 45 insertions(+), 14 deletions(-)
--
2.9.4
2017 Dec 20
8
[PATCH v4 0/4] use put_device to cleanup resource
...ve_device
weiping zhang (4):
virtio: split device_register into device_initialize and device_add
virtio_pci: don't kfree device on register failure
virtio_vop: don't kfree device on register failure
virtio_remoteproc: don't kfree device on register failure
drivers/misc/mic/vop/vop_main.c | 20 +++++++++++++-------
drivers/remoteproc/remoteproc_virtio.c | 13 +++++++++++--
drivers/virtio/virtio.c | 18 +++++++++++++++---
drivers/virtio/virtio_pci_common.c | 8 ++++++--
4 files changed, 45 insertions(+), 14 deletions(-)
--
2.9.4
2018 Dec 28
0
[PATCH v1 2/2] virtio: don't allocate vqs when names[i] = NULL
Some vqs may not need to be allocated when their related feature bits
are disabled. So callers may pass in such vqs with "names = NULL".
Then we skip such vq allocations.
Signed-off-by: Wei Wang <wei.w.wang at intel.com>
---
drivers/misc/mic/vop/vop_main.c | 9 +++++++--
drivers/remoteproc/remoteproc_virtio.c | 9 +++++++--
drivers/s390/virtio/virtio_ccw.c | 12 +++++++++---
drivers/virtio/virtio_mmio.c | 9 +++++++--
4 files changed, 30 insertions(+), 9 deletions(-)
diff --git a/drivers/misc/mic/vop/vop_main.c b/drivers/...
2017 Dec 12
5
[PATCH v2 0/3] fix cleanup for fail to register_virtio_device
...virtio_pci: add comments for the reason use put_device
* virtio vop: also use put_device in in _vop_remove_device()
weiping zhang (3):
virtio_pci: use put_device instead of kfree
virtio: use put_device instead of kfree
virtio: put reference count of virtio_device.dev
drivers/misc/mic/vop/vop_main.c | 18 ++++++++++--------
drivers/remoteproc/remoteproc_virtio.c | 2 +-
drivers/virtio/virtio_pci_common.c | 17 +++++++++--------
3 files changed, 20 insertions(+), 17 deletions(-)
--
2.9.4
2017 Dec 12
5
[PATCH v2 0/3] fix cleanup for fail to register_virtio_device
...virtio_pci: add comments for the reason use put_device
* virtio vop: also use put_device in in _vop_remove_device()
weiping zhang (3):
virtio_pci: use put_device instead of kfree
virtio: use put_device instead of kfree
virtio: put reference count of virtio_device.dev
drivers/misc/mic/vop/vop_main.c | 18 ++++++++++--------
drivers/remoteproc/remoteproc_virtio.c | 2 +-
drivers/virtio/virtio_pci_common.c | 17 +++++++++--------
3 files changed, 20 insertions(+), 17 deletions(-)
--
2.9.4
2017 Dec 17
6
[PATCH v3 0/5] proper cleanup if fail to register_virtio_device
...hang (5):
virtio: add helper virtio_get_status
virtio_pci: don't kfree device on register failure
virtio_vop: don't kfree device on register failure
virtio_remoteproc: don't kfree device on register failure
virtio: add comments for virtio_register_device
drivers/misc/mic/vop/vop_main.c | 17 +++++++++++------
drivers/remoteproc/remoteproc_virtio.c | 10 +++++++++-
drivers/virtio/virtio.c | 19 +++++++++++++++++++
drivers/virtio/virtio_pci_common.c | 5 ++++-
include/linux/virtio_config.h | 2 ++
5 files changed, 45 insertions(+), 8 deletions...
2017 Dec 17
6
[PATCH v3 0/5] proper cleanup if fail to register_virtio_device
...hang (5):
virtio: add helper virtio_get_status
virtio_pci: don't kfree device on register failure
virtio_vop: don't kfree device on register failure
virtio_remoteproc: don't kfree device on register failure
virtio: add comments for virtio_register_device
drivers/misc/mic/vop/vop_main.c | 17 +++++++++++------
drivers/remoteproc/remoteproc_virtio.c | 10 +++++++++-
drivers/virtio/virtio.c | 19 +++++++++++++++++++
drivers/virtio/virtio_pci_common.c | 5 ++++-
include/linux/virtio_config.h | 2 ++
5 files changed, 45 insertions(+), 8 deletions...
2017 Mar 29
2
[PATCH 2/6] virtio: add context flag to find vqs
Allows maintaining extra context per vq. For ease of use, passing in
NULL is legal and disables the feature for all vqs.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/misc/mic/vop/vop_main.c | 9 ++++++---
drivers/s390/virtio/kvm_virtio.c | 6 ++++--
drivers/s390/virtio/virtio_ccw.c | 7 ++++---
drivers/virtio/virtio_mmio.c | 8 +++++---
drivers/virtio/virtio_pci_common.c | 18 +++++++++++-------
drivers/virtio/virtio_pci_common.h | 4 +++-
drivers/virtio/virtio_pci...
2017 Mar 29
2
[PATCH 2/6] virtio: add context flag to find vqs
Allows maintaining extra context per vq. For ease of use, passing in
NULL is legal and disables the feature for all vqs.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/misc/mic/vop/vop_main.c | 9 ++++++---
drivers/s390/virtio/kvm_virtio.c | 6 ++++--
drivers/s390/virtio/virtio_ccw.c | 7 ++++---
drivers/virtio/virtio_mmio.c | 8 +++++---
drivers/virtio/virtio_pci_common.c | 18 +++++++++++-------
drivers/virtio/virtio_pci_common.h | 4 +++-
drivers/virtio/virtio_pci...
2018 Dec 28
11
[PATCH v1 0/2] Virtio: fix some vq allocation issues
...he vq allocation layer by setting the related
names[i] to be NULL.
This patch series fixes the find_vqs implementations to handle this case.
Wei Wang (2):
virtio_pci: use queue idx instead of array idx to set up the vq
virtio: don't allocate vqs when names[i] = NULL
drivers/misc/mic/vop/vop_main.c | 9 +++++++--
drivers/remoteproc/remoteproc_virtio.c | 9 +++++++--
drivers/s390/virtio/virtio_ccw.c | 12 +++++++++---
drivers/virtio/virtio_mmio.c | 9 +++++++--
drivers/virtio/virtio_pci_common.c | 8 ++++----
5 files changed, 34 insertions(+), 13 deletions(-)...
2018 Dec 28
11
[PATCH v1 0/2] Virtio: fix some vq allocation issues
...he vq allocation layer by setting the related
names[i] to be NULL.
This patch series fixes the find_vqs implementations to handle this case.
Wei Wang (2):
virtio_pci: use queue idx instead of array idx to set up the vq
virtio: don't allocate vqs when names[i] = NULL
drivers/misc/mic/vop/vop_main.c | 9 +++++++--
drivers/remoteproc/remoteproc_virtio.c | 9 +++++++--
drivers/s390/virtio/virtio_ccw.c | 12 +++++++++---
drivers/virtio/virtio_mmio.c | 9 +++++++--
drivers/virtio/virtio_pci_common.c | 8 ++++----
5 files changed, 34 insertions(+), 13 deletions(-)...
2020 Apr 06
2
[PATCH v2 1/2] virtio: stop using legacy struct vring
...9;t necessary
and prevents us from making changes safely.
In particular, the APIs actually assume the legacy layout.
Add struct vring_s (identical ATM) and supporting
legacy APIs and switch everyone to use that.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/misc/mic/vop/vop_main.c | 2 +-
drivers/platform/mellanox/mlxbf-tmfifo.c | 10 ++++-----
drivers/virtio/virtio_ring.c | 10 ++++-----
include/linux/virtio.h | 2 +-
include/linux/virtio_ring.h | 28 ++++++++++++++++++++++++
include/linux/vringh.h |...