Re: [PATCH] iommu: Allow .iotlb_sync_map to fail and handle s390's -ENOMEM return

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 13, 2022 at 01:11:04PM +0100, Niklas Schnelle wrote:
> --- a/drivers/iommu/tegra-gart.c
> +++ b/drivers/iommu/tegra-gart.c
> @@ -252,8 +252,8 @@ static int gart_iommu_of_xlate(struct device *dev,
>  	return 0;
>  }
>  
> -static void gart_iommu_sync_map(struct iommu_domain *domain, unsigned long iova,
> -				size_t size)
> +static int gart_iommu_sync_map(struct iommu_domain *domain, unsigned long iova,
> +			       size_t size)
>  {
>  	FLUSH_GART_REGS(gart_handle);
>  }

return 0 ?

Jason



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux