Re: [PATCH v1] gpu: host1x: Fix dma_free_wc() argument in the error path

2018-05-14 Thread Thierry Reding
On Mon, Apr 23, 2018 at 12:54:56PM +0300, Dmitry Osipenko wrote: > If IOVA allocation or IOMMU mapping fails, dma_free_wc() is invoked with > size=0 because of a typo, that triggers "kernel BUG at mm/vmalloc.c:124!". > > Signed-off-by: Dmitry Osipenko > --- >

Re: [PATCH v1] gpu: host1x: Fix dma_free_wc() argument in the error path

2018-05-14 Thread Thierry Reding
On Mon, Apr 23, 2018 at 12:54:56PM +0300, Dmitry Osipenko wrote: > If IOVA allocation or IOMMU mapping fails, dma_free_wc() is invoked with > size=0 because of a typo, that triggers "kernel BUG at mm/vmalloc.c:124!". > > Signed-off-by: Dmitry Osipenko > --- > drivers/gpu/host1x/cdma.c | 2 +- >

Re: [PATCH v1] gpu: host1x: Fix dma_free_wc() argument in the error path

2018-04-23 Thread Mikko Perttunen
Reviewed-by: Mikko Perttunen On 23.04.2018 12:54, Dmitry Osipenko wrote: If IOVA allocation or IOMMU mapping fails, dma_free_wc() is invoked with size=0 because of a typo, that triggers "kernel BUG at mm/vmalloc.c:124!". Signed-off-by: Dmitry Osipenko

Re: [PATCH v1] gpu: host1x: Fix dma_free_wc() argument in the error path

2018-04-23 Thread Mikko Perttunen
Reviewed-by: Mikko Perttunen On 23.04.2018 12:54, Dmitry Osipenko wrote: If IOVA allocation or IOMMU mapping fails, dma_free_wc() is invoked with size=0 because of a typo, that triggers "kernel BUG at mm/vmalloc.c:124!". Signed-off-by: Dmitry Osipenko --- drivers/gpu/host1x/cdma.c | 2 +- 1

[PATCH v1] gpu: host1x: Fix dma_free_wc() argument in the error path

2018-04-23 Thread Dmitry Osipenko
If IOVA allocation or IOMMU mapping fails, dma_free_wc() is invoked with size=0 because of a typo, that triggers "kernel BUG at mm/vmalloc.c:124!". Signed-off-by: Dmitry Osipenko --- drivers/gpu/host1x/cdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v1] gpu: host1x: Fix dma_free_wc() argument in the error path

2018-04-23 Thread Dmitry Osipenko
If IOVA allocation or IOMMU mapping fails, dma_free_wc() is invoked with size=0 because of a typo, that triggers "kernel BUG at mm/vmalloc.c:124!". Signed-off-by: Dmitry Osipenko --- drivers/gpu/host1x/cdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git