From patchwork Tue Aug 12 16:25:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liviu Dudau X-Patchwork-Id: 35291 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f69.google.com (mail-qg0-f69.google.com [209.85.192.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A84F3203C5 for ; Tue, 12 Aug 2014 16:27:41 +0000 (UTC) Received: by mail-qg0-f69.google.com with SMTP id a108sf29020027qge.4 for ; Tue, 12 Aug 2014 09:27:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=miuM8FbKuc0i9lV3UVs+wnBl0ULbZseZ12/Du+5sbFM=; b=GzfuMlwWSmtyoOQYnmBCUAGdrCcuwD2g9ImPzBZ2lVhnbMbky4zTkrW6yT+FaCvC9Q p8lim+Rtw0IwGE0eNX7hutz488BR5HFJvvVq6zFL50fTSs2g/d6ludqMvuApI1R89ooy S2KkRJ/7E8AKttn7cxiNfw1jeznXs/shmBDk8s1m7Qwu8XrkEVOY0zyZNit62tBx+cOa XHL+F9ZwRlKpblx7vcvsPNBfT8XzgAbAkuI+gW8ocdH+u4lw3Py6dANaC+uz75amtQGY kSi48VK6vjQpKkPfjQba0Tiq7QYu5gXvrxRgp/fuFy0NGZfc4DN7CEjfTkmSm9Yh2EKo KU+g== X-Gm-Message-State: ALoCoQnBu01vbhg+CdsFOAAiKhu21bR/spgFxItMEiyMSWDkMbgxGeslKt/5tnQBFwm6mLe112+B X-Received: by 10.52.116.241 with SMTP id jz17mr970208vdb.9.1407860861511; Tue, 12 Aug 2014 09:27:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.40 with SMTP id y37ls204652qgd.2.gmail; Tue, 12 Aug 2014 09:27:41 -0700 (PDT) X-Received: by 10.220.182.1 with SMTP id ca1mr5058085vcb.21.1407860861416; Tue, 12 Aug 2014 09:27:41 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id u2si8514837vdx.74.2014.08.12.09.27.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Aug 2014 09:27:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lf12so13642046vcb.12 for ; Tue, 12 Aug 2014 09:27:41 -0700 (PDT) X-Received: by 10.221.26.10 with SMTP id rk10mr5064369vcb.0.1407860861332; Tue, 12 Aug 2014 09:27:41 -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.221.37.5 with SMTP id tc5csp262585vcb; Tue, 12 Aug 2014 09:27:40 -0700 (PDT) X-Received: by 10.66.66.133 with SMTP id f5mr5047901pat.81.1407860860406; Tue, 12 Aug 2014 09:27:40 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id te2si16394726pbc.38.2014.08.12.09.27.39 for ; Tue, 12 Aug 2014 09:27:40 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754095AbaHLQ1A (ORCPT + 26 others); Tue, 12 Aug 2014 12:27:00 -0400 Received: from fw-tnat.cambridge.arm.com ([217.140.96.21]:54726 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753291AbaHLQ0v (ORCPT ); Tue, 12 Aug 2014 12:26:51 -0400 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 s7CGPPgZ026280; Tue, 12 Aug 2014 17:25:27 +0100 From: Liviu Dudau To: Bjorn Helgaas , Catalin Marinas , Will Deacon , Benjamin Herrenschmidt , Arnd Bergmann , Russell King , Tanmay Inamdar , Grant Likely , Sinan Kaya , Jingoo Han , Kukjin Kim , Suravee Suthikulanit , linux-pci Cc: linux-arch , LKML , Device Tree ML , LAKML Subject: [PATCH v9 05/12] ARM: Define PCI_IOBASE as the base of virtual PCI IO space. Date: Tue, 12 Aug 2014 17:25:18 +0100 Message-Id: <1407860725-25202-6-git-send-email-Liviu.Dudau@arm.com> X-Mailer: git-send-email 2.0.4 In-Reply-To: <1407860725-25202-1-git-send-email-Liviu.Dudau@arm.com> References: <1407860725-25202-1-git-send-email-Liviu.Dudau@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.220.181 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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 be device trees. Cc: Russell King Cc: Catalin Marinas Cc: Arnd Bergmann Cc: Rob Herring Signed-off-by: Liviu Dudau --- 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..22b7529 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 PCI_IO_VIRT_BASE #if defined(CONFIG_PCI) void pci_ioremap_set_mem_type(int mem_type);