Re: [edk2] [RFC] MdeModulePkg/PciHostBridge: Add address translation support

2018-01-02 Thread gary guo
On Tue, Jan 02, 2018 at 03:56:14PM +0800, Ni, Ruiyu wrote: > On 12/26/2017 2:50 PM, Guo Heyi wrote: > > Hi Ard, Ray, > > > > Have we come to the final conclusion? Or are we still waiting for more > > comments on this? > > Heyi, > I think you can send out a draft version of changes for better >

Re: [edk2] [RFC] MdeModulePkg/PciHostBridge: Add address translation support

2018-01-01 Thread Ni, Ruiyu
On 12/26/2017 2:50 PM, Guo Heyi wrote: Hi Ard, Ray, Have we come to the final conclusion? Or are we still waiting for more comments on this? Heyi, I think you can send out a draft version of changes for better understanding. Thanks, Gary On Thu, Dec 21, 2017 at 10:07:51AM +, Ard

Re: [edk2] [RFC] MdeModulePkg/PciHostBridge: Add address translation support

2017-12-25 Thread Guo Heyi
Hi Ard, Ray, Have we come to the final conclusion? Or are we still waiting for more comments on this? Thanks, Gary On Thu, Dec 21, 2017 at 10:07:51AM +, Ard Biesheuvel wrote: > On 21 December 2017 at 09:59, Ni, Ruiyu wrote: > > On 12/21/2017 5:52 PM, Ard Biesheuvel

Re: [edk2] [RFC] MdeModulePkg/PciHostBridge: Add address translation support

2017-12-21 Thread Guo Heyi
On Thu, Dec 21, 2017 at 05:43:17PM +0800, Ni, Ruiyu wrote: > On 12/20/2017 11:26 PM, Ard Biesheuvel wrote: > >On 20 December 2017 at 15:17, gary guo wrote: > >>On Wed, Dec 20, 2017 at 09:13:58AM +, Ard Biesheuvel wrote: > >>>Hi Heyi, > >>> > >>>On 20 December 2017 at

Re: [edk2] [RFC] MdeModulePkg/PciHostBridge: Add address translation support

2017-12-21 Thread Ard Biesheuvel
On 21 December 2017 at 09:59, Ni, Ruiyu wrote: > On 12/21/2017 5:52 PM, Ard Biesheuvel wrote: >> >> On 21 December 2017 at 09:48, Ni, Ruiyu wrote: >>> >>> On 12/21/2017 5:14 PM, Guo Heyi wrote: On Thu, Dec 21, 2017 at 08:32:37AM +, Ard

Re: [edk2] [RFC] MdeModulePkg/PciHostBridge: Add address translation support

2017-12-21 Thread Ni, Ruiyu
On 12/21/2017 5:52 PM, Ard Biesheuvel wrote: On 21 December 2017 at 09:48, Ni, Ruiyu wrote: On 12/21/2017 5:14 PM, Guo Heyi wrote: On Thu, Dec 21, 2017 at 08:32:37AM +, Ard Biesheuvel wrote: On 21 December 2017 at 08:27, Guo Heyi wrote: On

Re: [edk2] [RFC] MdeModulePkg/PciHostBridge: Add address translation support

2017-12-21 Thread Ard Biesheuvel
On 21 December 2017 at 09:48, Ni, Ruiyu wrote: > On 12/21/2017 5:14 PM, Guo Heyi wrote: >> >> On Thu, Dec 21, 2017 at 08:32:37AM +, Ard Biesheuvel wrote: >>> >>> On 21 December 2017 at 08:27, Guo Heyi wrote: On Wed, Dec 20, 2017 at

Re: [edk2] [RFC] MdeModulePkg/PciHostBridge: Add address translation support

2017-12-21 Thread Ni, Ruiyu
On 12/21/2017 5:14 PM, Guo Heyi wrote: On Thu, Dec 21, 2017 at 08:32:37AM +, Ard Biesheuvel wrote: On 21 December 2017 at 08:27, Guo Heyi wrote: On Wed, Dec 20, 2017 at 03:26:45PM +, Ard Biesheuvel wrote: On 20 December 2017 at 15:17, gary guo

Re: [edk2] [RFC] MdeModulePkg/PciHostBridge: Add address translation support

2017-12-21 Thread Ni, Ruiyu
On 12/20/2017 11:26 PM, Ard Biesheuvel wrote: On 20 December 2017 at 15:17, gary guo wrote: On Wed, Dec 20, 2017 at 09:13:58AM +, Ard Biesheuvel wrote: Hi Heyi, On 20 December 2017 at 08:21, Heyi Guo wrote: PCIe on some ARM platforms requires

Re: [edk2] [RFC] MdeModulePkg/PciHostBridge: Add address translation support

2017-12-21 Thread Guo Heyi
On Thu, Dec 21, 2017 at 08:32:37AM +, Ard Biesheuvel wrote: > On 21 December 2017 at 08:27, Guo Heyi wrote: > > On Wed, Dec 20, 2017 at 03:26:45PM +, Ard Biesheuvel wrote: > >> On 20 December 2017 at 15:17, gary guo wrote: > >> > On Wed, Dec 20,

Re: [edk2] [RFC] MdeModulePkg/PciHostBridge: Add address translation support

2017-12-21 Thread Ard Biesheuvel
On 21 December 2017 at 08:27, Guo Heyi wrote: > On Wed, Dec 20, 2017 at 03:26:45PM +, Ard Biesheuvel wrote: >> On 20 December 2017 at 15:17, gary guo wrote: >> > On Wed, Dec 20, 2017 at 09:13:58AM +, Ard Biesheuvel wrote: >> >> Hi Heyi, >> >> >>

Re: [edk2] [RFC] MdeModulePkg/PciHostBridge: Add address translation support

2017-12-21 Thread Guo Heyi
On Wed, Dec 20, 2017 at 03:26:45PM +, Ard Biesheuvel wrote: > On 20 December 2017 at 15:17, gary guo wrote: > > On Wed, Dec 20, 2017 at 09:13:58AM +, Ard Biesheuvel wrote: > >> Hi Heyi, > >> > >> On 20 December 2017 at 08:21, Heyi Guo wrote: > >>

Re: [edk2] [RFC] MdeModulePkg/PciHostBridge: Add address translation support

2017-12-20 Thread Ard Biesheuvel
On 20 December 2017 at 15:17, gary guo wrote: > On Wed, Dec 20, 2017 at 09:13:58AM +, Ard Biesheuvel wrote: >> Hi Heyi, >> >> On 20 December 2017 at 08:21, Heyi Guo wrote: >> > PCIe on some ARM platforms requires address translation, not only for >>

[edk2] [RFC] MdeModulePkg/PciHostBridge: Add address translation support

2017-12-20 Thread Heyi Guo
PCIe on some ARM platforms requires address translation, not only for legacy IO access, but also for 32bit memory BAR access as well. There will be "Address Translation Unit" or something similar in PCI host bridges to translation CPU address to PCI address and vice versa. So we think it may be