[bug] NULL pointer deref after 3f6634d997db ("iommu: Use right way to retrieve iommu_ops")

2022-05-04 Thread Jan Stancek
On Wed, Feb 16, 2022 at 10:52:47AM +0800, Lu Baolu wrote: The common iommu_ops is hooked to both device and domain. When a helper has both device and domain pointer, the way to get the iommu_ops looks messy in iommu core. This sorts out the way to get iommu_ops. The device related helpers go

Re: [bug] NULL pointer deref after 3f6634d997db ("iommu: Use right way to retrieve iommu_ops")

2022-05-04 Thread Jan Stancek
On Wed, May 4, 2022 at 1:14 PM Robin Murphy wrote: > > On 2022-05-04 08:53, Jan Stancek wrote: > [...] > > Hi, > > > > I'm getting panics after hunk above was applied in this patch > > on ppc64le KVM guest, dev->iommu is NULL. > > Oof, this