On Tue, Jan 26, 2021 at 01:06:29PM +, Shameer Kolothum wrote:
> The device iommu probe/attach might have failed leaving dev->iommu
> to NULL and device drivers may still invoke these functions resulting
> a crash in iommu vendor driver code. Hence make sure we check that.
>
> Signed-off-by: Sh
...@kernel.org; linux...@openeuler.org; Zengtao
(B)
Subject: Re: [PATCH] iommu: Check dev->iommu in iommu_dev_xxx functions
On Tue, 26 Jan 2021 13:06:29 +
Shameer Kolothum wrote:
The device iommu probe/attach might have failed leaving dev->iommu to
NULL and device drivers may still
x...@openeuler.org; Zengtao
> (B)
> Subject: Re: [PATCH] iommu: Check dev->iommu in iommu_dev_xxx functions
>
> On Tue, 26 Jan 2021 13:06:29 +
> Shameer Kolothum wrote:
>
> > The device iommu probe/attach might have failed leaving dev->iommu to
> > NULL and devic
On Tue, 26 Jan 2021 13:06:29 +
Shameer Kolothum wrote:
> The device iommu probe/attach might have failed leaving dev->iommu
> to NULL and device drivers may still invoke these functions resulting
> a crash in iommu vendor driver code. Hence make sure we check that.
>
> Signed-off-by: Shameer
The device iommu probe/attach might have failed leaving dev->iommu
to NULL and device drivers may still invoke these functions resulting
a crash in iommu vendor driver code. Hence make sure we check that.
Signed-off-by: Shameer Kolothum
---
drivers/iommu/iommu.c | 8
1 file changed, 4 i
5 matches
Mail list logo