From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Fri, 15 Jul 2016 10:33:06 +0200 Subject: Memory and IO space Enabling different in x86 and ARM64 In-Reply-To: <8520D5D51A55D047800579B094147198258B9376@XAP-PVEXMBX01.xlnx.xilinx.com> References: <8520D5D51A55D047800579B094147198258B9376@XAP-PVEXMBX01.xlnx.xilinx.com> Message-ID: <7127812.WYSppNUyGc@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Friday, July 15, 2016 8:29:49 AM CEST Bharat Kumar Gogada wrote: > I observe that memory and IO space are enabled by BIOS in x86. > > In ARM64 we need to call pci_enable_device form End Point to enable these resources. > > Why the resource enablement is different in x86 and ARM64 ? > > Please correct me if my observation is wrong. This is a difference between systems with a BIOS and embedded systems with a plain bootloader that ignores PCI. On an ARM64 server system with UEFI you should expect the device to be usable too, but on an embedded system, Linux takes the role of the BIOS. Arnd