From patchwork Sun Aug 18 00:12:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 2846064 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 E2502BF546 for ; Sun, 18 Aug 2013 00:13:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F2387201D5 for ; Sun, 18 Aug 2013 00:13:39 +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 91D23201BA for ; Sun, 18 Aug 2013 00:13:38 +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 1VAqcU-0004me-W3; Sun, 18 Aug 2013 00:13:23 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VAqcS-0004VO-FI; Sun, 18 Aug 2013 00:13:20 +0000 Received: from mail-oa0-x231.google.com ([2607:f8b0:4003:c02::231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VAqcN-0004Ur-Vl for linux-arm-kernel@lists.infradead.org; Sun, 18 Aug 2013 00:13:16 +0000 Received: by mail-oa0-f49.google.com with SMTP id n10so728185oag.22 for ; Sat, 17 Aug 2013 17:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=Z2fNGO+ou7YwN/uF8QSOWyovVNDGQCO0PEcCk+Gw26U=; b=MFn+9sR3GTX41LGe7yc/plj8XOASZmgxWzUYKomLaCAWMXH2pXBz/+1RLVb9gcRW3U 0fPspHokZlbv9U+T5cwve6tnLUVk9CCEIHlQLeP6YyP+qu5zlZZcatDEVMTDukBW+N0/ EL4EolSxP+PUo2ZQIqZEG8Nm0OfA28yu4rWY+Ro8QlVqxmCfs3dvopgzAr2JzN7R4KE0 d0TjDVUoZ72zzXpL0lxUkovuxu/WjFNahTCm6W6mz2nQRoiDQUw+yGVtmLUtiopzZllF 8wMHhoqfNaoqwx/gnMqb3KbUjZ+9LgKS4emoMnndVFD2FnfWr7Nhzxwvqp130fXE/8tu J0CA== X-Received: by 10.60.63.68 with SMTP id e4mr5216276oes.23.1376784772102; Sat, 17 Aug 2013 17:12:52 -0700 (PDT) Received: from rob-laptop.grandenetworks.net (65-36-73-129.dyn.grandenetworks.net. [65.36.73.129]) by mx.google.com with ESMTPSA id uz16sm4692328obc.5.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 17 Aug 2013 17:12:51 -0700 (PDT) From: Rob Herring To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2] ARM: highbank: fix debug uart virtual address for LPAE Date: Sat, 17 Aug 2013 19:12:28 -0500 Message-Id: <1376784748-31914-1-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 1.8.1.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130817_201316_245234_B34CF103 X-CRM114-Status: GOOD ( 10.59 ) X-Spam-Score: -1.8 (-) Cc: Russell King , Rob Herring 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=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 From: Rob Herring Section entries are 2MB on LPAE, so the DEBUG_LL virtual address must have the same offset in the 2MB section as the physical address. This fixes async external aborts when DEBUG_LL is enabled on Midway. Signed-off-by: Rob Herring --- v2: Rebase on Russell's DEBUG_LL clean-up arch/arm/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 2d57da3..2a88a4d 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1005,7 +1005,7 @@ config DEBUG_UART_VIRT default 0xfee003f8 if FOOTBRIDGE default 0xfee08300 if DEBUG_DAVINCI_TNETV107X_UART1 default 0xfee20000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART - default 0xfee36000 if DEBUG_HIGHBANK_UART + default 0xfef36000 if DEBUG_HIGHBANK_UART default 0xfee82340 if ARCH_IOP13XX default 0xfef00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN default 0xfef00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN