Re: [PATCH 5/8] AMD/IOMMU: replace a few PCI_BDF2()

2022-04-12 Thread Roger Pau Monné
On Mon, Apr 11, 2022 at 11:37:52AM +0200, Jan Beulich wrote: > struct pci_dev has the wanted value directly available; use it. Note > that this fixes a - imo benign - mistake in reassign_device(): The unity > map removal ought to be based on the passed in devfn (as is the case on > the establishing

[PATCH 5/8] AMD/IOMMU: replace a few PCI_BDF2()

2022-04-11 Thread Jan Beulich
struct pci_dev has the wanted value directly available; use it. Note that this fixes a - imo benign - mistake in reassign_device(): The unity map removal ought to be based on the passed in devfn (as is the case on the establishing side). This is benign because the mappings would be removed anyway a