From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fw-tnat.austin.arm.com ([217.140.110.23]:44057 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751788AbaHRO2v (ORCPT ); Mon, 18 Aug 2014 10:28:51 -0400 Date: Mon, 18 Aug 2014 15:26:48 +0100 From: Catalin Marinas To: Liviu Dudau Cc: Bjorn Helgaas , Will Deacon , Benjamin Herrenschmidt , Arnd Bergmann , Russell King , Tanmay Inamdar , Grant Likely , Sinan Kaya , Jingoo Han , Kukjin Kim , Suravee Suthikulanit , linux-pci , LKML , LAKML Subject: Re: [PATCH v9] arm64: Add architectural support for PCIe Message-ID: <20140818142648.GQ20043@localhost> References: <1407860760-25252-1-git-send-email-Liviu.Dudau@arm.com> <1407860760-25252-2-git-send-email-Liviu.Dudau@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1407860760-25252-2-git-send-email-Liviu.Dudau@arm.com> Sender: linux-pci-owner@vger.kernel.org List-ID: On Tue, Aug 12, 2014 at 05:26:00PM +0100, Liviu Dudau wrote: > diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h > index e0ecdcf..dc34039 100644 > --- a/arch/arm64/include/asm/io.h > +++ b/arch/arm64/include/asm/io.h > @@ -121,7 +121,8 @@ static inline u64 __raw_readq(const volatile void __iomem *addr) > /* > * I/O port access primitives. > */ > -#define IO_SPACE_LIMIT 0xffff > +#define arch_has_dev_port() (1) > +#define IO_SPACE_LIMIT 0x1ffffff Minor thing, (SZ_32M - 1) may be easier in case we ever change this. > #define PCI_IOBASE ((void __iomem *)(MODULES_VADDR - SZ_32M)) -- Catalin