From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751892AbdCSOOq (ORCPT ); Sun, 19 Mar 2017 10:14:46 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:34928 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751490AbdCSOOp (ORCPT ); Sun, 19 Mar 2017 10:14:45 -0400 To: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Cc: helgaas@kernel.org, marc.zyngier@arm.com, arnd@arndb.de From: valmiki Subject: Purpose of PCI address in ranges property Message-ID: <26e69b06-dde2-2ed5-0288-ee5d58676d7e@gmail.com> Date: Sun, 19 Mar 2017 19:44:48 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, When ranges property is being parsed using of_pci_get_host_bridge_resources, the pci address is being used for calculating the offset for pci_add_resource_offset. What is this offset for ? So the cpu address is being used for programming memory base and limit registers ? Thanks & Regards, Valmiki