Re: [PATCH 2/4] iommu/tegra: Setup aperture

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

 



On Fri, Mar 27, 2015 at 11:07:25AM +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@xxxxxxxxxx>
> 
> Each address space in the Tegra SMMU provides 4 GiB worth of addresses.
> 
> Cc: Hiroshi Doyu <hdoyu@xxxxxxxxxx>
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
> ---
>  drivers/iommu/tegra-smmu.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c
> index fff45b3d3e57..7b36760ae087 100644
> --- a/drivers/iommu/tegra-smmu.c
> +++ b/drivers/iommu/tegra-smmu.c
> @@ -269,6 +269,11 @@ static int tegra_smmu_domain_init(struct iommu_domain *domain)
>  
>  	domain->priv = as;
>  
> +	/* setup aperture */
> +	domain->geometry.aperture_start = 0;
> +	domain->geometry.aperture_end = 0xffffffff;
> +	domain->geometry.force_aperture = true;
> +
>  	return 0;
>  }

I also just realized that this hunk conflicts with the IOMMU domain
alloc/free series that you sent out yesterday. Were you planning on
merging that series for 4.1? If so I can regenerate these patches on
top of your series.

Thierry

Attachment: pgpgy6SDdQ304.pgp
Description: PGP signature


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux