[PATCH -next] drm/qxl: Fix randbuild error

2019-10-07 Thread YueHaibing
If DEM_QXL is y and DRM_TTM_HELPER is m, building fails: drivers/gpu/drm/qxl/qxl_object.o: undefined reference to `drm_gem_ttm_print_info' Select DRM_TTM_HELPER to fix this. Fixes: 78d54f1f6a33 ("drm/qxl: use drm_gem_ttm_print_info") Signed-off-by: YueHaibing --- drivers/gpu/drm/qxl/Kconfig |

Re: [PATCH] x86/cpu/vmware: use the full form of inl in VMWARE_PORT

2019-10-07 Thread Kees Cook
On Mon, Oct 07, 2019 at 12:21:29PM -0700, Sami Tolvanen wrote: > LLVM's assembler doesn't accept the short form inl (%%dx) instruction, > but instead insists on the output register to be explicitly specified: > > :1:7: error: invalid operand for instruction > inl (%dx) > ^

Re: [PATCH] x86/cpu/vmware: use the full form of inl in VMWARE_PORT

2019-10-07 Thread Nick Desaulniers via Virtualization
On Mon, Oct 7, 2019 at 12:21 PM 'Sami Tolvanen' via Clang Built Linux wrote: > > LLVM's assembler doesn't accept the short form inl (%%dx) instruction, > but instead insists on the output register to be explicitly specified: > > :1:7: error: invalid operand for instruction > inl (%dx)

Re: [PATCH] x86/cpu/vmware: use the full form of inl in VMWARE_PORT

2019-10-07 Thread Thomas Hellstrom via Virtualization
On 10/7/19 9:21 PM, Sami Tolvanen wrote: > LLVM's assembler doesn't accept the short form inl (%%dx) instruction, > but instead insists on the output register to be explicitly specified: > > :1:7: error: invalid operand for instruction > inl (%dx) > ^ > LLVM ERROR: Error

[PATCH] vhost/test: stop device before reset

2019-10-07 Thread Michael S. Tsirkin
When device stop was moved out of reset, test device wasn't updated to stop before reset, this resulted in a use after free. Fix by invoking stop appropriately. Fixes: b211616d7125 ("vhost: move -net specific code out") Signed-off-by: Michael S. Tsirkin --- drivers/vhost/test.c | 2 ++ 1 file c

Re: [PATCH RFC net-next 2/2] drivers: net: virtio_net: Add tx_timeout function

2019-10-07 Thread Julio Faracco
Em seg, 7 de out de 2019 às 11:03, Julio Faracco escreveu: > > Em seg, 7 de out de 2019 às 04:51, Michael S. Tsirkin > escreveu: > > > > On Sun, Oct 06, 2019 at 03:45:15PM -0300, jcfara...@gmail.com wrote: > > > From: Julio Faracco > > > > > > To enable dev_watchdog, virtio_net should have a tx

Re: [PATCH RFC net-next 1/2] drivers: net: virtio_net: Add tx_timeout stats field

2019-10-07 Thread Julio Faracco
Em seg, 7 de out de 2019 às 11:15, Julian Wiedmann escreveu: > > On 06.10.19 20:45, jcfara...@gmail.com wrote: > > From: Julio Faracco > > > > For debug purpose of TX timeout events, a tx_timeout entry was added to > > monitor this special case: when dev_watchdog identifies a tx_timeout and > >

Re: [PATCH RFC net-next 2/2] drivers: net: virtio_net: Add tx_timeout function

2019-10-07 Thread Julio Faracco
Em seg, 7 de out de 2019 às 04:51, Michael S. Tsirkin escreveu: > > On Sun, Oct 06, 2019 at 03:45:15PM -0300, jcfara...@gmail.com wrote: > > From: Julio Faracco > > > > To enable dev_watchdog, virtio_net should have a tx_timeout defined > > (.ndo_tx_timeout). This is only a skeleton to throw a w

Re: [PATCH RFC net-next 0/2] drivers: net: virtio_net: Implement

2019-10-07 Thread Julio Faracco
Em seg, 7 de out de 2019 às 04:43, Michael S. Tsirkin escreveu: > > On Sun, Oct 06, 2019 at 03:45:13PM -0300, jcfara...@gmail.com wrote: > > From: Julio Faracco > > > > Driver virtio_net is not handling error events for TX provided by > > dev_watchdog. This event is reached when transmission que

Re: [RESEND TRIVIAL 3/3] treewide: arch: Fix Kconfig indentation

2019-10-07 Thread Geert Uytterhoeven
On Fri, Oct 4, 2019 at 4:57 PM Krzysztof Kozlowski wrote: > Adjust indentation from spaces to tab (+optional two spaces) as in > coding style with command like: > $ sed -e 's/^/\t/' -i */Kconfig > > Signed-off-by: Krzysztof Kozlowski > arch/m68k/Kconfig.bus | 2 +-

Re: [PATCH RFC net-next 2/2] drivers: net: virtio_net: Add tx_timeout function

2019-10-07 Thread Michael S. Tsirkin
On Sun, Oct 06, 2019 at 03:45:15PM -0300, jcfara...@gmail.com wrote: > From: Julio Faracco > > To enable dev_watchdog, virtio_net should have a tx_timeout defined > (.ndo_tx_timeout). This is only a skeleton to throw a warn message. It > notifies the event in some specific queue of device. This

Re: [PATCH RFC net-next 0/2] drivers: net: virtio_net: Implement

2019-10-07 Thread Michael S. Tsirkin
On Sun, Oct 06, 2019 at 03:45:13PM -0300, jcfara...@gmail.com wrote: > From: Julio Faracco > > Driver virtio_net is not handling error events for TX provided by > dev_watchdog. This event is reached when transmission queue is having > problems to transmit packets. To enable it, driver should ha