Re: [PATCH] virtio-scsi: Fix virtqueue affinity setup

2013-07-31 Thread Rusty Russell
Asias He writes: > vscsi->num_queues counts the number of request virtqueue which does not > include the control and event virtqueue. It is wrong to subtract > VIRTIO_SCSI_VQ_BASE from vscsi->num_queues. > > This patch fixes the following panic. Applied. Thanks, Rusty. > > (qemu) device_del scs

Re: [PATCH v3 9/9] virtio: console: prevent use-after-free of port name in port unplug

2013-07-31 Thread Rusty Russell
Amit Shah writes: > On (Mon) 29 Jul 2013 [14:26:09], Rusty Russell wrote: >> Amit Shah writes: >> > Remove the debugfs path before freeing port->name, to prevent a possible >> > use-after-free. >> > >> > Reported-by: Jason Wang >> > Signed-off-by: Amit Shah >> >> Applied, >> Rusty. > > Hey Rus

Re: [PATCH] virtio-scsi: Fix virtqueue affinity setup

2013-07-31 Thread Wanlong Gao
On 07/31/2013 10:17 PM, Asias He wrote: > vscsi->num_queues counts the number of request virtqueue which does not > include the control and event virtqueue. It is wrong to subtract > VIRTIO_SCSI_VQ_BASE from vscsi->num_queues. > > This patch fixes the following panic. > > (qemu) device_del scsi0

Re: [Announcement] Linux Plumbers ACPI/PM, PCI Microconference

2013-07-31 Thread Rafael J. Wysocki
On Wednesday, July 31, 2013 10:35:05 AM Shuah Khan wrote: > On Wed, Jul 31, 2013 at 5:40 AM, Rafael J. Wysocki wrote: > > Hi All, > > > > The original announcement didn't go to linux-pm, so again: > > > > On Tuesday, July 16, 2013 08:21:26 PM Myron Stowe wrote: > >> Linux Plumbers has approved an

Re: [Announcement] Linux Plumbers ACPI/PM, PCI Microconference

2013-07-31 Thread Shuah Khan
On Wed, Jul 31, 2013 at 5:40 AM, Rafael J. Wysocki wrote: > Hi All, > > The original announcement didn't go to linux-pm, so again: > > On Tuesday, July 16, 2013 08:21:26 PM Myron Stowe wrote: >> Linux Plumbers has approved an ACPI/PM, PCI microconference. The >> overview page is here: >> >> http:/

[PATCH] virtio-scsi: Fix virtqueue affinity setup

2013-07-31 Thread Asias He
vscsi->num_queues counts the number of request virtqueue which does not include the control and event virtqueue. It is wrong to subtract VIRTIO_SCSI_VQ_BASE from vscsi->num_queues. This patch fixes the following panic. (qemu) device_del scsi0 BUG: unable to handle kernel NULL pointer dereferenc

[Announcement] Linux Plumbers ACPI/PM, PCI Microconference

2013-07-31 Thread Rafael J. Wysocki
Hi All, The original announcement didn't go to linux-pm, so again: On Tuesday, July 16, 2013 08:21:26 PM Myron Stowe wrote: > Linux Plumbers has approved an ACPI/PM, PCI microconference. The > overview page is here: > > http://wiki.linuxplumbersconf.org/2013:pci_subsystem > > We would like to s

Re: [PATCH v3 9/9] virtio: console: prevent use-after-free of port name in port unplug

2013-07-31 Thread Amit Shah
On (Mon) 29 Jul 2013 [14:26:09], Rusty Russell wrote: > Amit Shah writes: > > Remove the debugfs path before freeing port->name, to prevent a possible > > use-after-free. > > > > Reported-by: Jason Wang > > Signed-off-by: Amit Shah > > Applied, > Rusty. Hey Rusty, I don't see this patch in you