From patchwork Thu Sep 18 01:30: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: 37568 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f200.google.com (mail-we0-f200.google.com [74.125.82.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 026822054D for ; Thu, 18 Sep 2014 01:32:26 +0000 (UTC) Received: by mail-we0-f200.google.com with SMTP id u57sf82471wes.7 for ; Wed, 17 Sep 2014 18:32:26 -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=fk43QTuBN5vr9UQumMo4TFJgKpba3mvho8rbbXDUJtw=; b=jaG8EA24RZtBLbYuIDYNB0xq6FXu8vR4LrPPwYSnbRrIrKD1kgLpqh2aOj9DRaO1Cc VH0WrUtJZgd0U/t9J/3PYFLaIxSIGG3g2MjociGJG/laV5FtN6lbl+Nlx/rDrP0rcS4r iWAQbE0FsdAQG9dJenp5D03ZBf+TpQzotzgHyhe23K/ZahDYJQjsqC9Qk3v33uR05iXT uyjcRC4EP5L6TQ/UZ7vzN8C2F7bKJg+V2+31jN1Ek0gmLKjYD/h9NXzuNZmD63Ezgnj0 B2vmhTSwRQ2JKSdEGmI1py4dER++md3/wgHLlEedvDAdZwpQaWA42PvTh2y3tNmRYmnV AdiQ== X-Gm-Message-State: ALoCoQlI2rb36ie1+QsCeEq9/3GovT4dX8Qo2yfoMmitqINw4WwtnHbTw9YWAexO2+DEKpQ6COI3 X-Received: by 10.112.167.165 with SMTP id zp5mr26588lbb.9.1411003945964; Wed, 17 Sep 2014 18:32:25 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.45.66 with SMTP id k2ls167137lam.30.gmail; Wed, 17 Sep 2014 18:32:25 -0700 (PDT) X-Received: by 10.112.76.6 with SMTP id g6mr958076lbw.22.1411003945825; Wed, 17 Sep 2014 18:32:25 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by mx.google.com with ESMTPS id 8si30635132las.83.2014.09.17.18.32.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Sep 2014 18:32:25 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by mail-lb0-f169.google.com with SMTP id b12so200709lbj.28 for ; Wed, 17 Sep 2014 18:32:25 -0700 (PDT) X-Received: by 10.152.116.80 with SMTP id ju16mr1157784lab.73.1411003945491; Wed, 17 Sep 2014 18:32:25 -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 of9csp679576lbb; Wed, 17 Sep 2014 18:32:24 -0700 (PDT) X-Received: by 10.67.23.164 with SMTP id ib4mr1135995pad.31.1411003943800; Wed, 17 Sep 2014 18:32:23 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i8si37152244pdn.209.2014.09.17.18.32.23 for ; Wed, 17 Sep 2014 18:32:23 -0700 (PDT) Received-SPF: none (google.com: devicetree-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 S1756421AbaIRBcE (ORCPT + 5 others); Wed, 17 Sep 2014 21:32:04 -0400 Received: from fw-tnat.cambridge.arm.com ([217.140.96.21]:54509 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754154AbaIRBcC (ORCPT ); Wed, 17 Sep 2014 21:32:02 -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 s8I1UPl7003595; Thu, 18 Sep 2014 02:30:29 +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 Cc: Tanmay Inamdar , Grant Likely , Sinan Kaya , Jingoo Han , Kukjin Kim , Suravee Suthikulanit , linux-arch , LKML , Device Tree ML , LAKML Subject: [PATCH v11 03/10] ARM: Define PCI_IOBASE as the base of virtual PCI IO space. Date: Thu, 18 Sep 2014 02:30:18 +0100 Message-Id: <1411003825-21521-4-git-send-email-Liviu.Dudau@arm.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1411003825-21521-1-git-send-email-Liviu.Dudau@arm.com> References: <1411003825-21521-1-git-send-email-Liviu.Dudau@arm.com> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.217.169 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: Arnd Bergmann Cc: Rob Herring Reviewed-by: Catalin Marinas Signed-off-by: Liviu Dudau Acked-by: Arnd Bergmann --- 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);