From patchwork Mon Sep 29 14:29:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liviu Dudau X-Patchwork-Id: 38077 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f70.google.com (mail-ee0-f70.google.com [74.125.83.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 60334201F1 for ; Mon, 29 Sep 2014 14:32:38 +0000 (UTC) Received: by mail-ee0-f70.google.com with SMTP id b57sf8763455eek.9 for ; Mon, 29 Sep 2014 07:32:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=Fhbq9QJvpsvlBwh3JL/El5J4iuc/zN7VPN8QkIPu8ks=; b=GSOhQACrXl98kXuFUbNFUsZ2A8Aagz0CQ7wLJxbCI1sFPrGW85v7UHr5yWNtsMSGaU 5XtYRxXcYQaUVa/Cvd1Xo+1BBn+LiGSZynmQwmOPQ/Wls00PRyoZPpYSg6K2xQ0PDyQp TVk5tiGAgNn+l1nIbmQNd16gnDRqNfdH4mWqu0l90VTuT+bf4r7Hac9uIetILN2aGWCh EGA5gbnLLg9VLBAZocRVAVHJnW3baIKuP0wtN3v0DYNtLGXHGW3gqwfe2qdFTUxXm8+x aWjUEMjtr9s5RPsPmvM3QPLS4LICfNrPBIF7EdjrNZPpK+PoUw8tOuUzaOjYUMbxAx8E k4ng== X-Gm-Message-State: ALoCoQnCT6t1gqF/Zm5uXB2adh/7jdqjYMv4MHWzI0likhE4+qPXF2h4v7uvIg03KRjqCm21bMtc X-Received: by 10.194.170.167 with SMTP id an7mr499661wjc.4.1412001157553; Mon, 29 Sep 2014 07:32:37 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.44.165 with SMTP id f5ls647501lam.33.gmail; Mon, 29 Sep 2014 07:32:37 -0700 (PDT) X-Received: by 10.152.20.132 with SMTP id n4mr9802838lae.86.1412001157397; Mon, 29 Sep 2014 07:32:37 -0700 (PDT) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com [209.85.217.178]) by mx.google.com with ESMTPS id tl10si18455338lbb.131.2014.09.29.07.32.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Sep 2014 07:32:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by mail-lb0-f178.google.com with SMTP id w7so1277206lbi.37 for ; Mon, 29 Sep 2014 07:32:37 -0700 (PDT) X-Received: by 10.152.5.168 with SMTP id t8mr39471028lat.67.1412001157086; Mon, 29 Sep 2014 07:32:37 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp184519lbb; Mon, 29 Sep 2014 07:32:36 -0700 (PDT) X-Received: by 10.70.128.137 with SMTP id no9mr76317674pdb.143.1412001155610; Mon, 29 Sep 2014 07:32:35 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id jd12si23393732pbd.10.2014.09.29.07.32.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Sep 2014 07:32:35 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XYbym-0004jV-3v; Mon, 29 Sep 2014 14:31:08 +0000 Received: from fw-tnat.cambridge.arm.com ([217.140.96.21] helo=cam-smtp0.cambridge.arm.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XYbyQ-0004Ii-M1 for linux-arm-kernel@lists.infradead.org; Mon, 29 Sep 2014 14:30:48 +0000 Received: from e106497-lin.cambridge.arm.com (e106497-lin.cambridge.arm.com [10.1.195.53]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id s8TETVYE004719; Mon, 29 Sep 2014 15:29:34 +0100 From: Liviu Dudau To: Bjorn Helgaas , Arnd Bergmann , Rob Herring , Jason Gunthorpe , Benjamin Herrenschmidt , Catalin Marinas , Will Deacon , Russell King , linux-pci , Linus Walleij Subject: [PATCH v13 03/12] ARM: Define PCI_IOBASE as the base of virtual PCI IO space Date: Mon, 29 Sep 2014 15:29:22 +0100 Message-Id: <1412000971-9242-4-git-send-email-Liviu.Dudau@arm.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1412000971-9242-1-git-send-email-Liviu.Dudau@arm.com> References: <1412000971-9242-1-git-send-email-Liviu.Dudau@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140929_073047_093150_D84C0E4C X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -3.1 (---) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-3.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.140.96.21 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [217.140.96.21 listed in list.dnswl.org] -0.8 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: linux-arch , Sinan Kaya , Kukjin Kim , Device Tree ML , Jingoo Han , LKML , Grant Likely , Tanmay Inamdar , Suravee Suthikulanit , Yinghai Lu , Jiang Liu , LAKML X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: liviu.dudau@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 This is needed for calls into OF code that parses PCI ranges. It signals support for memory mapped PCI I/O accesses that are described by device trees. Signed-off-by: Liviu Dudau Signed-off-by: Bjorn Helgaas Reviewed-by: Catalin Marinas Acked-by: Arnd Bergmann CC: Russell King CC: Rob Herring --- arch/arm/include/asm/io.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 3d23418..1805674 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm/io.h @@ -178,6 +178,7 @@ static inline void __iomem *__typesafe_io(unsigned long addr) /* PCI fixed i/o mapping */ #define PCI_IO_VIRT_BASE 0xfee00000 +#define PCI_IOBASE ((void __iomem *)PCI_IO_VIRT_BASE) #if defined(CONFIG_PCI) void pci_ioremap_set_mem_type(int mem_type);