From patchwork Tue Jun 25 23:05:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 2781411 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 126F4C0AB1 for ; Tue, 25 Jun 2013 23:06:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 304AD20226 for ; Tue, 25 Jun 2013 23:06:19 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 105E42021E for ; Tue, 25 Jun 2013 23:06:18 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UrcJT-0005O0-Dw; Tue, 25 Jun 2013 23:06:15 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UrcJQ-0007Gt-T0; Tue, 25 Jun 2013 23:06:12 +0000 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UrcJO-0007Fe-3O for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2013 23:06:11 +0000 Received: by mail-la0-f42.google.com with SMTP id eb20so12915097lab.1 for ; Tue, 25 Jun 2013 16:05:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=4gc2dhI41JYFYQAMo/zmVSUtXO55LvCU+NYdjlDfzJY=; b=MACRLk5FPiL83N5WUBnjcQURxJt1k2EBmnCw9Dtf2FUSqZu21+z4KbMXwiOYD+7sxd aPiuNMaXzfHX8K1Yu/dp8gv6/Vx2s/0SzgbwYaaU+X4PRQarVDBbfGyWbwHGBrPLgBMY So/RF+wccEtDpjVWOiSLn2qwQF91GarKENpFTEYX6zz64FmveG8lyGGw/DevnmXSYoFp LClJDbDNjpbJ7l/DQUeKQs6y8W5+Z0vTGfuGRzMr46FQeKtiuYZ6vKmZR/56CuZf8cBH fvxUwpztMctj8yAysizYUi78H4V1kN4LTfDe9liDXsz2sMlBhASNi0wNVwd01vn/g1FP TecQ== X-Received: by 10.152.44.170 with SMTP id f10mr542311lam.68.1372201547412; Tue, 25 Jun 2013 16:05:47 -0700 (PDT) Received: from localhost.localdomain (c83-249-208-144.bredband.comhem.se. [83.249.208.144]) by mx.google.com with ESMTPSA id a3sm9546146lbg.2.2013.06.25.16.05.45 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 25 Jun 2013 16:05:46 -0700 (PDT) From: Linus Walleij To: arm@kernel.org Subject: [PATCH 1/3] ARM: integrator: set local side PCI addresses right Date: Wed, 26 Jun 2013 01:05:38 +0200 Message-Id: <1372201538-25946-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.1.4 X-Gm-Message-State: ALoCoQlG9uExKipTxyCwkjbx7yxdi4Mb6UQnVgvIimKrQQc4P/OsWrVD2KWukgZEbJzXhv+pOzw7 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130625_190610_317325_E7B51F02 X-CRM114-Status: UNSURE ( 9.65 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: Linus Walleij , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This alters the local side address of the iospace to zero, non prefetchable memory local side address to 0x00000000 and prefetchable memory local side address to 0x10000000, so as to match the values actually poked in by the driver. Reported-by: Arnd Bergmann Signed-off-by: Linus Walleij --- arch/arm/boot/dts/integratorap.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/integratorap.dts b/arch/arm/boot/dts/integratorap.dts index 03f23b7..b6b82ec 100644 --- a/arch/arm/boot/dts/integratorap.dts +++ b/arch/arm/boot/dts/integratorap.dts @@ -49,11 +49,11 @@ interrupts = <17>; /* Bus error IRQ */ ranges = <0x00000000 0 0x61000000 /* config space */ 0x61000000 0 0x00100000 /* 16 MiB @ 61000000 */ - 0x01000000 0 0x60000000 /* I/O space */ + 0x01000000 0 0x0 /* I/O space */ 0x60000000 0 0x00100000 /* 16 MiB @ 60000000 */ - 0x02000000 0 0x40000000 /* non-prefectable memory */ + 0x02000000 0 0x00000000 /* non-prefectable memory */ 0x40000000 0 0x10000000 /* 256 MiB @ 40000000 */ - 0x42000000 0 0x50000000 /* prefetchable memory */ + 0x42000000 0 0x10000000 /* prefetchable memory */ 0x50000000 0 0x10000000>; /* 256 MiB @ 50000000 */ interrupt-map-mask = <0xf800 0 0 0x7>; interrupt-map = <