From patchwork Mon Sep 8 13:54:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liviu Dudau X-Patchwork-Id: 36987 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f200.google.com (mail-ob0-f200.google.com [209.85.214.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1D8652054D for ; Mon, 8 Sep 2014 14:06:13 +0000 (UTC) Received: by mail-ob0-f200.google.com with SMTP id va2sf76149772obc.3 for ; Mon, 08 Sep 2014 07:06:12 -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=MhA7iSLbABZtsxZ1sk0hJxYEYkUrzcjCa9l3lONbLm0=; b=EKMFYN99zkt93QVVObJmXh+QbfRjLIXtBw8xE5PNIC+Nq0CY7dwa5nLFNLpzWnhPVH +bmxN3h2FsvX/VkHZtnLCtdOqayCmwPssFah3SQJfsFQJlWmphKdKoETZYg04W/RdpWJ A6F3vAIryP7JzOEf3iDvYjEkXOKHzITXGAg7q4fv8GvncJmw48B/cMs1Yr51PRGHqQnS mHzZTdVOJ8DPIpUF5jmHkd0goxFk2egsjRwjAqNhHm9RQhoOMoTzMyR6Dbkru1tDFLEu tIYPbLRIfK5ifWusz4f3UJ3Wlhe7uTPEV6Xo1GCw+p1yJ8nJMMJuw/7n99v/AaJErKP5 v76w== X-Gm-Message-State: ALoCoQklnrbp0XJ05P82s24tEm0ku8bkabGNVqHRzdUt/XaFWQVZSoql5XZkh9qU/YPESIK76mW+ X-Received: by 10.42.207.146 with SMTP id fy18mr17858952icb.12.1410185172429; Mon, 08 Sep 2014 07:06:12 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.109.35 with SMTP id k32ls678235qgf.75.gmail; Mon, 08 Sep 2014 07:06:12 -0700 (PDT) X-Received: by 10.52.33.231 with SMTP id u7mr726958vdi.54.1410185172239; Mon, 08 Sep 2014 07:06:12 -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 sq9si4500397vdb.90.2014.09.08.07.06.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 07:06:12 -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 ij19so1786004vcb.12 for ; Mon, 08 Sep 2014 07:06:12 -0700 (PDT) X-Received: by 10.221.29.5 with SMTP id rw5mr845734vcb.49.1410185172152; Mon, 08 Sep 2014 07:06:12 -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.45.67 with SMTP id uj3csp139169vcb; Mon, 8 Sep 2014 07:06:11 -0700 (PDT) X-Received: by 10.66.66.163 with SMTP id g3mr5320494pat.150.1410185171356; Mon, 08 Sep 2014 07:06:11 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hl5si18221487pbb.20.2014.09.08.07.06.10 for ; Mon, 08 Sep 2014 07:06:11 -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 S1754140AbaIHOGI (ORCPT + 26 others); Mon, 8 Sep 2014 10:06:08 -0400 Received: from fw-tnat.cambridge.arm.com ([217.140.96.21]:54115 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753124AbaIHOGG (ORCPT ); Mon, 8 Sep 2014 10:06:06 -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 s88DsW8G017520; Mon, 8 Sep 2014 14:54: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 Cc: Tanmay Inamdar , Grant Likely , Sinan Kaya , Jingoo Han , Kukjin Kim , Suravee Suthikulanit , linux-arch , LKML , Device Tree ML , LAKML Subject: [PATCH v10 03/10] ARM: Define PCI_IOBASE as the base of virtual PCI IO space. Date: Mon, 8 Sep 2014 14:54:25 +0100 Message-Id: <1410184472-17630-4-git-send-email-Liviu.Dudau@arm.com> X-Mailer: git-send-email 2.0.4 In-Reply-To: <1410184472-17630-1-git-send-email-Liviu.Dudau@arm.com> References: <1410184472-17630-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: Arnd Bergmann Cc: Rob Herring Reviewed-by: Catalin Marinas 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);