Re: [PATCH] acpi: Add addr_trans in build_crs

2020-12-17 Thread Jiahui Cen
Hi Michael, On 2020/12/18 2:32, Michael S. Tsirkin wrote: > On Thu, Dec 17, 2020 at 09:27:47PM +0800, Jiahui Cen wrote: >> AML needs Address Translation offset to describe how a bridge translates >> addresses accross the bridge when using an address descriptor, and >> especially on ARM, the transl

Re: [PATCH] acpi: Add addr_trans in build_crs

2020-12-17 Thread Michael S. Tsirkin
On Thu, Dec 17, 2020 at 09:27:47PM +0800, Jiahui Cen wrote: > AML needs Address Translation offset to describe how a bridge translates > addresses accross the bridge when using an address descriptor, and > especially on ARM, the translation offset of pio resource is usually > non zero. > > Therefo

[PATCH] acpi: Add addr_trans in build_crs

2020-12-17 Thread Jiahui Cen
AML needs Address Translation offset to describe how a bridge translates addresses accross the bridge when using an address descriptor, and especially on ARM, the translation offset of pio resource is usually non zero. Therefore, it's necessary to pass addr_trans for pio, mmio32 and mmio64 into bu