[PATCH kernel] powerpc/powernv/ioda: Handle failures correctly in pnv_pci_ioda_iommu_bypass_supported
Michael Ellerman
patch-notifications at ellerman.id.au
Fri May 3 16:59:20 AEST 2019
On Wed, 2019-04-10 at 06:48:00 UTC, Alexey Kardashevskiy wrote:
> When the return value type was changed from int to bool, few places were
> left unchanged, this fixes them. We did not hit these failures as
> the first one is not happening at all and the second one is little more
> likely to happen if the user switches a 33..58bit DMA capable device
> between the VFIO and vendor drivers and there are not so many of these.
>
> Fixes: 2d6ad41b2c21 ("powerpc/powernv: use the generic iommu bypass code", 2019-02-13)
> Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/b511cdd1c12d1e450baeba5373dd3a88
cheers
More information about the Linuxppc-dev
mailing list