Messages in this thread | | | Date | Mon, 30 Jan 2023 13:10:41 -0400 | From | Jason Gunthorpe <> | Subject | Re: [PATCH v2 8/8] iommu: Clean up open-coded ownership checks |
| |
On Thu, Jan 26, 2023 at 06:26:23PM +0000, Robin Murphy wrote: > Some drivers already implement their own defence against the possibility > of being given someone else's device. Since this is now taken care of by > the core code (and via a slightly different path from the original > fwspec-based idea), let's clean them up. > > Signed-off-by: Robin Murphy <robin.murphy@arm.com> > --- > > v2: No change, but I'll note here that it's really about the fwspec->ops > checks; the !fwspec clauses are just going along for the ride where > that's clearly impossible as well. I plan to sweep for other > redundant checks in future when looking at the relevant flows.
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Jason
| |