Re: [PATCH 07/22] drm/i2c/tda998x: Use simple encoder

2020-03-05 Thread kbuild test robot
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on next-20200305] [also build test ERROR on v5.6-rc4] [cannot apply to rockchip/for-next shawnguo/for-next sunxi/sunxi/for-next tegra/for-next linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2] [if your patch is applied

Re: [PATCH 06/22] drm/hisilicon/kirin: Use simple encoder

2020-03-05 Thread kbuild test robot
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on next-20200305] [also build test ERROR on v5.6-rc4] [cannot apply to rockchip/for-next shawnguo/for-next sunxi/sunxi/for-next tegra/for-next linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2] [if your patch is applied

Re: [PATCH 03/22] drm/exynos: Use simple encoder

2020-03-05 Thread kbuild test robot
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on next-20200305] [also build test ERROR on v5.6-rc4] [cannot apply to rockchip/for-next shawnguo/for-next sunxi/sunxi/for-next tegra/for-next linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2] [if your patch is applied

Re: [PATCH RESEND] ptp: add VMware virtual PTP clock driver

2020-03-05 Thread David Miller
From: Vivek Thampi Date: Fri, 28 Feb 2020 05:32:46 + > Add a PTP clock driver called ptp_vmw, for guests running on VMware ESXi > hypervisor. The driver attaches to a VMware virtual device called > "precision clock" that provides a mechanism for querying host system time. > Similar to

Re: [PATCH 21/22] drm/writeback: Use simple encoder

2020-03-05 Thread kbuild test robot
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on next-20200305] [cannot apply to rockchip/for-next shawnguo/for-next sunxi/sunxi/for-next tegra/for-next linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2 v5.6-rc4] [if your patch is applied to the wrong git tree, please

Re: [PATCH 03/22] drm/exynos: Use simple encoder

2020-03-05 Thread kbuild test robot
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on next-20200305] [also build test ERROR on v5.6-rc4] [cannot apply to rockchip/for-next shawnguo/for-next sunxi/sunxi/for-next tegra/for-next linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2] [if your patch is applied

Re: [PATCH 21/22] drm/writeback: Use simple encoder

2020-03-05 Thread kbuild test robot
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on next-20200305] [cannot apply to rockchip/for-next shawnguo/for-next sunxi/sunxi/for-next tegra/for-next linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2 v5.6-rc4] [if your patch is applied to the wrong git tree, please

Re: [PATCH 05/22] drm/gma500: Use simple encoder

2020-03-05 Thread kbuild test robot
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on next-20200305] [also build test ERROR on v5.6-rc4] [cannot apply to rockchip/for-next shawnguo/for-next sunxi/sunxi/for-next tegra/for-next linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2] [if your patch is applied

Re: [PATCH 02/22] drm/atmel-hlcdc: Use simple encoder

2020-03-05 Thread kbuild test robot
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on next-20200305] [also build test ERROR on v5.6-rc4] [cannot apply to rockchip/for-next shawnguo/for-next sunxi/sunxi/for-next tegra/for-next linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2] [if your patch is applied

Re: [PATCH] virtio_ring: Fix mem leak with vring_new_virtqueue()

2020-03-05 Thread Suman Anna via Virtualization
On 2/25/20 9:13 PM, Jason Wang wrote: > > On 2020/2/26 上午12:51, Suman Anna wrote: >> Hi Jason, >> >> On 2/24/20 11:39 PM, Jason Wang wrote: >>> On 2020/2/25 上午5:26, Suman Anna wrote: The functions vring_new_virtqueue() and __vring_new_virtqueue() are used with split rings, and any

Re: [PATCH 20/22] drm/vkms: Use simple encoder

2020-03-05 Thread kbuild test robot
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on next-20200305] [cannot apply to rockchip/for-next shawnguo/for-next sunxi/sunxi/for-next tegra/for-next linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2 v5.6-rc4] [if your patch is applied to the wrong git tree, please

Re: [PATCH 04/22] drm/fsl-dcu: Use simple encoder

2020-03-05 Thread kbuild test robot
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on next-20200305] [also build test ERROR on v5.6-rc4] [cannot apply to rockchip/for-next shawnguo/for-next sunxi/sunxi/for-next tegra/for-next linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2] [if your patch is applied

Re: [PATCH 12/22] drm/rockchip: Use simple encoder

2020-03-05 Thread kbuild test robot
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on next-20200305] [cannot apply to rockchip/for-next shawnguo/for-next sunxi/sunxi/for-next tegra/for-next linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2 v5.6-rc4] [if your patch is applied to the wrong git tree, please

Re: [PATCH 01/22] drm/arc: Use simple encoder

2020-03-05 Thread kbuild test robot
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on next-20200305] [also build test ERROR on v5.6-rc4] [cannot apply to rockchip/for-next shawnguo/for-next sunxi/sunxi/for-next tegra/for-next linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2] [if your patch is applied

Re: [PATCH 18/22] drm/vc4: Use simple encoder

2020-03-05 Thread Eric Anholt
On Thu, Mar 5, 2020 at 8:00 AM Thomas Zimmermann wrote: > > The vc4 driver uses empty implementations for its encoders. Replace > the code with the generic simple encoder. Acked-by: Eric Anholt ___ Virtualization mailing list

[PATCH AUTOSEL 4.19 12/31] vhost: Check docket sk_family instead of call getname

2020-03-05 Thread Sasha Levin
From: Eugenio Pérez [ Upstream commit 42d84c8490f9f0931786f1623191fcab397c3d64 ] Doing so, we save one call to get data we already have in the struct. Also, since there is no guarantee that getname use sockaddr_ll parameter beyond its size, we add a little bit of security here. It should do

[PATCH AUTOSEL 5.4 26/58] vhost: Check docket sk_family instead of call getname

2020-03-05 Thread Sasha Levin
From: Eugenio Pérez [ Upstream commit 42d84c8490f9f0931786f1623191fcab397c3d64 ] Doing so, we save one call to get data we already have in the struct. Also, since there is no guarantee that getname use sockaddr_ll parameter beyond its size, we add a little bit of security here. It should do

[PATCH AUTOSEL 5.5 30/67] vhost: Check docket sk_family instead of call getname

2020-03-05 Thread Sasha Levin
From: Eugenio Pérez [ Upstream commit 42d84c8490f9f0931786f1623191fcab397c3d64 ] Doing so, we save one call to get data we already have in the struct. Also, since there is no guarantee that getname use sockaddr_ll parameter beyond its size, we add a little bit of security here. It should do

[PATCH 22/22] drm/zte: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The zte driver uses empty implementations for its encoders. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/zte/zx_hdmi.c | 8 ++-- drivers/gpu/drm/zte/zx_tvenc.c | 8 ++-- drivers/gpu/drm/zte/zx_vga.c | 8 ++-- 3 files

[PATCH 14/22] drm/sun4i: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The ingenic driver uses empty implementations for its encoders. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 12 +++- drivers/gpu/drm/sun4i/sun4i_lvds.c | 12 +++-

[PATCH 13/22] drm/shmobile: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The shmobile driver uses empty implementations for its encoders. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git

[PATCH 04/22] drm/fsl-dcu: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The fsl-dcu driver uses an empty implementation for its encoder. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git

[PATCH 02/22] drm/atmel-hlcdc: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The atmel-hlcdc driver uses an empty implementation for its encoder. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git

[PATCH 20/22] drm/vkms: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The vkms driver uses an empty implementation for its encoder. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/vkms/vkms_output.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/vkms/vkms_output.c

[PATCH 18/22] drm/vc4: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The vc4 driver uses empty implementations for its encoders. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/vc4/vc4_dpi.c | 8 ++-- drivers/gpu/drm/vc4/vc4_dsi.c | 15 +++ drivers/gpu/drm/vc4/vc4_hdmi.c | 17

[PATCH 21/22] drm/writeback: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The writeback code uses an empty implementation for its encoder. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/drm_writeback.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/drm_writeback.c

[PATCH 15/22] drm/tegra: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The tegra driver uses empty implementations for its encoders. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/tegra/drm.h| 2 -- drivers/gpu/drm/tegra/dsi.c| 10 +++--- drivers/gpu/drm/tegra/hdmi.c | 9 +++--

[PATCH 06/22] drm/hisilicon/kirin: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The kirin driver uses an empty implementation for its encoder. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

[PATCH 19/22] drm/virtgpu: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The virtgpu driver uses an empty implementation for its encoder. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/virtio/virtgpu_display.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

[PATCH 16/22] drm/tidss: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The tidss driver uses an empty implementation for its encoder. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/tidss/tidss_encoder.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git

[PATCH 00/22] drm: Convert drivers to drm_simple_encoder_init()

2020-03-05 Thread Thomas Zimmermann
A call to drm_simple_encoder_init() initializes an encoder without further functionality. It only provides the destroy callback to cleanup the encoder's state. Only few drivers implement more sophisticated encoders than that. Most drivers implement such a simple encoder and can use

[PATCH 17/22] drm/tilcdc: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The tilcdc driver uses empty implementations for its encoders. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/tilcdc/tilcdc_external.c | 10 +++--- drivers/gpu/drm/tilcdc/tilcdc_panel.c| 8 ++-- 2 files changed, 5

[PATCH 11/22] drm/rcar-du: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The rcar-du driver uses an empty implementation for its encoder. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/rcar-du/rcar_du_encoder.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git

[PATCH 08/22] drm/imx: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The imx driver uses empty implementations for its encoders. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/imx/dw_hdmi-imx.c | 8 ++-- drivers/gpu/drm/imx/imx-drm-core.c | 6 -- drivers/gpu/drm/imx/imx-drm.h | 1 -

[PATCH 12/22] drm/rockchip: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The rockchip driver uses empty implementations for its encoders. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 9 +++-- drivers/gpu/drm/rockchip/cdn-dp-core.c | 9 +++--

[PATCH 10/22] drm/mediatek: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The mediatak driver uses empty implementations for its encoders. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/mediatek/mtk_dpi.c | 14 +++--- drivers/gpu/drm/mediatek/mtk_dsi.c | 14 +++--- 2 files changed, 6

[PATCH 09/22] drm/ingenic: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The ingenic driver uses an empty implementation for its encoder. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ingenic/ingenic-drm.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git

[PATCH 05/22] drm/gma500: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The gma500 driver uses empty implementations for some of its encoders. Replace the code with the generic simple encoder. As a side effect, the patch also removes an indirection in the encoder setup for Medfield. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/gma500/cdv_intel_crt.c |

[PATCH 07/22] drm/i2c/tda998x: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The tda998x driver uses an empty implementation for its encoder. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/i2c/tda998x_drv.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git

[PATCH 01/22] drm/arc: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The arc driver uses empty implementations for its encoders. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/arc/arcpgu_hdmi.c | 10 +++--- drivers/gpu/drm/arc/arcpgu_sim.c | 8 ++-- 2 files changed, 5 insertions(+), 13

[PATCH 03/22] drm/exynos: Use simple encoder

2020-03-05 Thread Thomas Zimmermann
The exynos driver uses empty implementations for its encoders. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/exynos/exynos_dp.c | 8 ++-- drivers/gpu/drm/exynos/exynos_drm_dpi.c | 8 ++--

Re: [PATCH v2 1/3] iommu/virtio: Add topology description to virtio-iommu config space

2020-03-05 Thread Michael S. Tsirkin
On Wed, Mar 04, 2020 at 10:54:49PM +0100, Joerg Roedel wrote: > On Wed, Mar 04, 2020 at 01:37:44PM -0800, Jacob Pan (Jun) wrote: > > + Mike and Erik who work closely on UEFI and ACPICA. > > > > Copy paste Erik's initial response below on how to get a new table, > > seems to confirm with the

Re: [PATCH v2 1/3] iommu/virtio: Add topology description to virtio-iommu config space

2020-03-05 Thread Michael S. Tsirkin
On Wed, Mar 04, 2020 at 10:50:02PM +0100, Joerg Roedel wrote: > On Wed, Mar 04, 2020 at 02:34:33PM -0500, Michael S. Tsirkin wrote: > > All these extra levels of indirection is one of the reasons > > hypervisors such as kata try to avoid ACPI. > > Platforms that don't use ACPI need another

RE: [PATCH v2 1/3] iommu/virtio: Add topology description to virtio-iommu config space

2020-03-05 Thread Tian, Kevin
> From: Jean-Philippe Brucker > Sent: Saturday, February 29, 2020 1:26 AM > > Platforms without device-tree do not currently have a method for > describing the vIOMMU topology. Provide a topology description embedded > into the virtio device. > > Use PCI FIXUP to probe the config space early,