Re: [PULL] virtio: cleanups and fixes

2019-12-13 Thread pr-tracker-bot
The pull request you sent on Fri, 13 Dec 2019 09:35:19 -0500: > https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/dd79b5361a6ab3def4a577843ebfecd75b634c8b Thank you! -- Deet-doot-dot, I am a b

Re: [PATCH RFC v4 00/13] virtio-mem: paravirtualized memory

2019-12-13 Thread Konrad Rzeszutek Wilk
On Thu, Dec 12, 2019 at 06:11:24PM +0100, David Hildenbrand wrote: > This series is based on latest linux-next. The patches are located at: > https://github.com/davidhildenbrand/linux.git virtio-mem-rfc-v4 Heya! Would there be by any chance a virtio-spec git tree somewhere? ..snip.. > ---

[PATCH net 2/2] vsock/virtio: add WARN_ON check on virtio_transport_get_ops()

2019-12-13 Thread Stefano Garzarella
virtio_transport_get_ops() and virtio_transport_send_pkt_info() can only be used on connecting/connected sockets, since a socket assigned to a transport is required. This patch adds a WARN_ON() on virtio_transport_get_ops() to check this requirement, a comment and a returned error on virtio_transp

[PATCH net 0/2] vsock/virtio: fix null-pointer dereference and related precautions

2019-12-13 Thread Stefano Garzarella
This series mainly solves a possible null-pointer dereference in virtio_transport_recv_listen() introduced with the multi-transport support [PATCH 1]. PATCH 2 adds a WARN_ON check for the same potential issue and a returned error in the virtio_transport_send_pkt_info() function to avoid crashing t

[PATCH net 1/2] vsock/virtio: fix null-pointer dereference in virtio_transport_recv_listen()

2019-12-13 Thread Stefano Garzarella
With multi-transport support, listener sockets are not bound to any transport. So, calling virtio_transport_reset(), when an error occurs, on a listener socket produces the following null-pointer dereference: BUG: kernel NULL pointer dereference, address: 00e8 #PF: supervisor read

[PATCH 08/10] drm/virtio: plane_state->fb iff plane_state->crtc

2019-12-13 Thread Daniel Vetter
Checking both is one too much, so wrap a WARN_ON around it to stope the copypasta. Signed-off-by: Daniel Vetter Cc: David Airlie Cc: Gerd Hoffmann Cc: virtualization@lists.linux-foundation.org --- drivers/gpu/drm/virtio/virtgpu_plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PULL] virtio: cleanups and fixes

2019-12-13 Thread Michael S. Tsirkin
The following changes since commit e42617b825f8073569da76dc4510bfa019b1c35a: Linux 5.5-rc1 (2019-12-08 14:57:55 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to 63b9b80e9f5b2c463d98d6e5

Re: [PATCH] virtio-blk: remove VIRTIO_BLK_F_SCSI support

2019-12-13 Thread Michael S. Tsirkin
On Thu, Dec 12, 2019 at 05:37:19PM +0100, Christoph Hellwig wrote: > Since the need for a special flag to support SCSI passthrough on a > block device was added in May 2017 the SCSI passthrough support in > virtio-blk has been disabled. It has always been a bad idea > (just ask the original author

Re: [PATCH] virtio-blk: remove VIRTIO_BLK_F_SCSI support

2019-12-13 Thread Stefan Hajnoczi
On Thu, Dec 12, 2019 at 05:37:19PM +0100, Christoph Hellwig wrote: > Since the need for a special flag to support SCSI passthrough on a > block device was added in May 2017 the SCSI passthrough support in > virtio-blk has been disabled. It has always been a bad idea > (just ask the original author

Re: [PATCH] virtio-blk: remove VIRTIO_BLK_F_SCSI support

2019-12-13 Thread Hannes Reinecke
On 12/12/19 5:37 PM, Christoph Hellwig wrote: Since the need for a special flag to support SCSI passthrough on a block device was added in May 2017 the SCSI passthrough support in virtio-blk has been disabled. It has always been a bad idea (just ask the original author..) and we have virtio-scsi

Re: [PATCH RFC v4 01/13] ACPI: NUMA: export pxm_to_node

2019-12-13 Thread Rafael J. Wysocki
On Fri, Dec 13, 2019 at 10:41 AM David Hildenbrand wrote: > > On 12.12.19 22:43, Rafael J. Wysocki wrote: > > On Thursday, December 12, 2019 6:11:25 PM CET David Hildenbrand wrote: > >> Will be needed by virtio-mem to identify the node from a pxm. > >> > >> Cc: "Rafael J. Wysocki" > >> Cc: Len Br

Re: [PATCH RFC v4 01/13] ACPI: NUMA: export pxm_to_node

2019-12-13 Thread David Hildenbrand
On 12.12.19 22:43, Rafael J. Wysocki wrote: > On Thursday, December 12, 2019 6:11:25 PM CET David Hildenbrand wrote: >> Will be needed by virtio-mem to identify the node from a pxm. >> >> Cc: "Rafael J. Wysocki" >> Cc: Len Brown >> Cc: linux-a...@vger.kernel.org >> Signed-off-by: David Hildenbran