Displaying 20 results from an estimated 1000 matches similar to: "[PATCH] virtio: Don't access device data after unregistration."
2012 Sep 07
4
[RFCv2 1/2] virtio_console: Add support for DMA memory allocation
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
Add feature VIRTIO_CONSOLE_F_DMA_MEM. If the architecture has
DMA support and this feature bit is set, the virtio data buffers
will be allocated from DMA memory. If the device requests
the feature VIRTIO_CONSOLE_F_DMA_MEM, but the architecture
don't support DMA the driver's probe function will fail.
This is needed for using
2012 Sep 07
4
[RFCv2 1/2] virtio_console: Add support for DMA memory allocation
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
Add feature VIRTIO_CONSOLE_F_DMA_MEM. If the architecture has
DMA support and this feature bit is set, the virtio data buffers
will be allocated from DMA memory. If the device requests
the feature VIRTIO_CONSOLE_F_DMA_MEM, but the architecture
don't support DMA the driver's probe function will fail.
This is needed for using
2013 Mar 11
3
[PATCH] Revert "virtio_console: Initialize guest_connected=true for rproc_serial"
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
This reverts commit 8078db789a92b10ff6e2d713231b5367e014c53b.
The reverted patch caused opening of ports to fail for rproc_serial.
In probe guest_connected was set to true, but port_fops_open()
fails with -EMFILE if guest_connected already is true.
Signed-off-by: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
---
Hi
2013 Mar 11
3
[PATCH] Revert "virtio_console: Initialize guest_connected=true for rproc_serial"
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
This reverts commit 8078db789a92b10ff6e2d713231b5367e014c53b.
The reverted patch caused opening of ports to fail for rproc_serial.
In probe guest_connected was set to true, but port_fops_open()
fails with -EMFILE if guest_connected already is true.
Signed-off-by: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
---
Hi
2013 Jan 17
4
[PATCH] virtio_console: Use virtio device index to generate port name
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
Use virtio device index for creating unique device port names.
Current index allocation in virtio is based on a monotonically
increasing variable "index". A better handling of this is to
use device index which is allocated by ida.
Signed-off-by: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
---
2013 Jan 17
4
[PATCH] virtio_console: Use virtio device index to generate port name
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
Use virtio device index for creating unique device port names.
Current index allocation in virtio is based on a monotonically
increasing variable "index". A better handling of this is to
use device index which is allocated by ida.
Signed-off-by: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
---
2013 Jan 17
2
[PATCH] virtio_console: Let unconnected rproc device receive data.
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
Allow rproc serial ports to receive data before the port
is connected.
Rproc serial ports usually talk to very simple remote devices
with no control queue managing open/close events. So we must
let remote devices write to the virtio ring even if the device
is not yet fully initialized.
Signed-off-by: Sjur Br?ndeland
2013 Jan 17
2
[PATCH] virtio_console: Let unconnected rproc device receive data.
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
Allow rproc serial ports to receive data before the port
is connected.
Rproc serial ports usually talk to very simple remote devices
with no control queue managing open/close events. So we must
let remote devices write to the virtio ring even if the device
is not yet fully initialized.
Signed-off-by: Sjur Br?ndeland
2013 Jan 17
2
[PATCH] virtio_console: Don't access uninitialized data.
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
Don't access uninitialized work-queue when removing device.
The work queue is initialized only if the device multi-queue.
So don't call cancel_work unless this is a multi-queue device.
This fixes the following panic:
Kernel panic - not syncing: BUG!
Call Trace:
62031b28: [<6026085d>] panic+0x16b/0x2d3
62031b30:
2013 Jan 17
2
[PATCH] virtio_console: Don't access uninitialized data.
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
Don't access uninitialized work-queue when removing device.
The work queue is initialized only if the device multi-queue.
So don't call cancel_work unless this is a multi-queue device.
This fixes the following panic:
Kernel panic - not syncing: BUG!
Call Trace:
62031b28: [<6026085d>] panic+0x16b/0x2d3
62031b30:
2013 Apr 23
1
[PATCH virtio-next] caif_virtio: Remove bouncing email addresses
Remove our (soon to be) bouncing email addresses,
and update Dmitri's address.
Dmitry will take over as maintainer for CAIF from now on.
Cc: Vikram Arv <vikram.arv at stericsson.com>
Cc: Dmitry Tarnyagin <dmitry.tarnyagin at stericsson.com>
Cc: Dmitry Tarnyagin <dmitry.tarnyagin at lockless.no>
Signed-off-by: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
---
2013 Apr 23
1
[PATCH virtio-next] caif_virtio: Remove bouncing email addresses
Remove our (soon to be) bouncing email addresses,
and update Dmitri's address.
Dmitry will take over as maintainer for CAIF from now on.
Cc: Vikram Arv <vikram.arv at stericsson.com>
Cc: Dmitry Tarnyagin <dmitry.tarnyagin at stericsson.com>
Cc: Dmitry Tarnyagin <dmitry.tarnyagin at lockless.no>
Signed-off-by: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
---
2013 Feb 11
1
[PATCH] virtio: Add module driver macro for virtio drivers.
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
Add helper macro for drivers that don't do anything
special in module init/exit.
Signed-off-by: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
---
Hi Rusty,
Here is the patch for module driver macro.
I will update caif_virtio accordingly
in my next patch-set.
Thanks,
Sjur
include/linux/virtio.h | 9 +++++++++
1
2013 Feb 11
1
[PATCH] virtio: Add module driver macro for virtio drivers.
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
Add helper macro for drivers that don't do anything
special in module init/exit.
Signed-off-by: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
---
Hi Rusty,
Here is the patch for module driver macro.
I will update caif_virtio accordingly
in my next patch-set.
Thanks,
Sjur
include/linux/virtio.h | 9 +++++++++
1
2013 Feb 12
1
[PATCH] virtio_console: Initialize guest_connected=true for rproc_serial
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
When rproc_serial is initialized, guest_connected should be set
to true. We can then revert the extra checks introduced in
commit: "virtio_console: Let unconnected rproc device receive data."
Signed-off-by: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
---
drivers/char/virtio_console.c | 7 ++-----
1 files
2013 Feb 12
1
[PATCH] virtio_console: Initialize guest_connected=true for rproc_serial
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
When rproc_serial is initialized, guest_connected should be set
to true. We can then revert the extra checks introduced in
commit: "virtio_console: Let unconnected rproc device receive data."
Signed-off-by: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
---
drivers/char/virtio_console.c | 7 ++-----
1 files
2013 Jan 17
1
[RFC] virtio_console: Add DRIVER and INTERFACE to uevent.
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
Add information so rproc-serial can be easily recogniced
from user space. Add the following information to uevent:
DRIVER=virtio_console|virtio_rproc_serial
INTERFACE=grand-parent/parent/name
Signed-off-by: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
---
Hi,
I need some way to identify the major/minor number for
the
2013 Jan 17
1
[RFC] virtio_console: Add DRIVER and INTERFACE to uevent.
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
Add information so rproc-serial can be easily recogniced
from user space. Add the following information to uevent:
DRIVER=virtio_console|virtio_rproc_serial
INTERFACE=grand-parent/parent/name
Signed-off-by: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
---
Hi,
I need some way to identify the major/minor number for
the
2013 Mar 22
2
[PATCH virtio-next 1/2] caif_virtio: Use vringh_notify_enable correctly
Check on the correct return value from
vringh_notify_enable_kern(). It returns false if
more packets are available, not true.
Signed-off-by: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
---
Hi,
This patch applies to Rusty's virtio-next branch.
Thanks,
Sjur
drivers/net/caif/caif_virtio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
2013 Mar 22
2
[PATCH virtio-next 1/2] caif_virtio: Use vringh_notify_enable correctly
Check on the correct return value from
vringh_notify_enable_kern(). It returns false if
more packets are available, not true.
Signed-off-by: Sjur Br?ndeland <sjur.brandeland at stericsson.com>
---
Hi,
This patch applies to Rusty's virtio-next branch.
Thanks,
Sjur
drivers/net/caif/caif_virtio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git