Re: [PATCH v6 06/20] iommu/io-pgtable-arm-v7s: Extend MediaTek 4GB Mode

2019-02-17 Thread Yong Wu
On Tue, 2019-02-05 at 15:11 -0800, Evan Green wrote: > On Fri, Feb 1, 2019 at 1:42 AM Yong Wu wrote: > > > > On Thu, 2019-01-31 at 11:23 -0800, Evan Green wrote: > > > On Wed, Jan 30, 2019 at 10:59 PM Yong Wu wrote: > > > > > > > > On Wed, 2019-01-30 at 10:28 -0800, Evan Green wrote: > > > > > On

Re: [PATCH v6 06/20] iommu/io-pgtable-arm-v7s: Extend MediaTek 4GB Mode

2019-02-05 Thread Evan Green
On Fri, Feb 1, 2019 at 1:42 AM Yong Wu wrote: > > On Thu, 2019-01-31 at 11:23 -0800, Evan Green wrote: > > On Wed, Jan 30, 2019 at 10:59 PM Yong Wu wrote: > > > > > > On Wed, 2019-01-30 at 10:28 -0800, Evan Green wrote: > > > > On Mon, Dec 31, 2018 at 7:57 PM Yong Wu wrote: > > > > > > > > > > M

Re: [PATCH v6 06/20] iommu/io-pgtable-arm-v7s: Extend MediaTek 4GB Mode

2019-02-01 Thread Yong Wu
On Thu, 2019-01-31 at 11:23 -0800, Evan Green wrote: > On Wed, Jan 30, 2019 at 10:59 PM Yong Wu wrote: > > > > On Wed, 2019-01-30 at 10:28 -0800, Evan Green wrote: > > > On Mon, Dec 31, 2018 at 7:57 PM Yong Wu wrote: > > > > > > > > MediaTek extend the arm v7s descriptor to support the dram over

Re: [PATCH v6 06/20] iommu/io-pgtable-arm-v7s: Extend MediaTek 4GB Mode

2019-01-31 Thread Evan Green
On Wed, Jan 30, 2019 at 10:59 PM Yong Wu wrote: > > On Wed, 2019-01-30 at 10:28 -0800, Evan Green wrote: > > On Mon, Dec 31, 2018 at 7:57 PM Yong Wu wrote: > > > > > > MediaTek extend the arm v7s descriptor to support the dram over 4GB. > > > > > > In the mt2712 and mt8173, it's called "4GB mode"

Re: [PATCH v6 06/20] iommu/io-pgtable-arm-v7s: Extend MediaTek 4GB Mode

2019-01-30 Thread Yong Wu
On Wed, 2019-01-30 at 10:28 -0800, Evan Green wrote: > On Mon, Dec 31, 2018 at 7:57 PM Yong Wu wrote: > > > > MediaTek extend the arm v7s descriptor to support the dram over 4GB. > > > > In the mt2712 and mt8173, it's called "4GB mode", the physical address > > is from 0x4000_ to 0x1_3fff_

Re: [PATCH v6 06/20] iommu/io-pgtable-arm-v7s: Extend MediaTek 4GB Mode

2019-01-30 Thread Evan Green
On Mon, Dec 31, 2018 at 7:57 PM Yong Wu wrote: > > MediaTek extend the arm v7s descriptor to support the dram over 4GB. > > In the mt2712 and mt8173, it's called "4GB mode", the physical address > is from 0x4000_ to 0x1_3fff_, but from EMI point of view, it > is remapped to high address fr

[PATCH v6 06/20] iommu/io-pgtable-arm-v7s: Extend MediaTek 4GB Mode

2018-12-31 Thread Yong Wu
MediaTek extend the arm v7s descriptor to support the dram over 4GB. In the mt2712 and mt8173, it's called "4GB mode", the physical address is from 0x4000_ to 0x1_3fff_, but from EMI point of view, it is remapped to high address from 0x1__ to 0x1__, the bit32 is always enab