On Fri, Aug 7, 2015 at 11:36 AM, Zhou Wang <wangzh...@hisilicon.com> wrote:
> [+cc jingooh...@gmail.com]
>
> On 2015/8/6 16:09, Zhou Wang wrote:
>> From: gabriele paoloni <gabriele.paol...@huawei.com>
>>
>> This patch is needed in order to unify the PCIe designware framework for ARM 
>> and
>> ARM64 architectures. In the PCIe designware unification process we are 
>> calling
>> pci_create_root_bus() passing a "sysdata" parameter that is the same for both
>> ARM and ARM64 and is of type "struct pcie_port*". In the ARM case this will
>> cause a problem with the function pcibios_align_resource(); in fact this will
>> cast "dev->sysdata" to "struct pci_sys_data*", whereas designware had passed 
>> a
>> "struct pcie_port*" pointer.
>>
>> This patch solves the issue by removing "align_resource" from "pci_sys_data"
>> struct and defining a static global function pointer in "bios32.c"
>>
>> Signed-off-by: Gabriele Paoloni <gabriele.paol...@huawei.com>

Acked-by: Pratyush Anand <pratyush.an...@gmail.com>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to