From patchwork Sun May 17 06:42:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tarek Dakhran X-Patchwork-Id: 6422531 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 70CBEC0432 for ; Sun, 17 May 2015 06:46:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A806320498 for ; Sun, 17 May 2015 06:46:40 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DFAEB203C1 for ; Sun, 17 May 2015 06:46:39 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YtsHo-0005nI-83; Sun, 17 May 2015 06:42:56 +0000 Received: from mail-la0-x242.google.com ([2a00:1450:4010:c03::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YtsHc-0005kQ-8e for linux-arm-kernel@lists.infradead.org; Sun, 17 May 2015 06:42:44 +0000 Received: by labgd6 with SMTP id gd6so3669635lab.3 for ; Sat, 16 May 2015 23:42:21 -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:in-reply-to:references; bh=I0fGabPkRdaXmS1h6bdfDq/qHuv2xEjupD01q9jPFUY=; b=ZPYpZ3C7aAZpaOyBs34qqmU9u87ME/nVmLDII3H02rYCnAZmF/tvtmVIfejHSqhRhS Y2C/fPI1qu6PV4hG6kYjY3vMRK9mH9orCV0333StDSmAlKgBsxg5Z2nLEmvUCLbeyzIK Qx2B+sBeenLofilJ9i3kHPm7Rw3Y6BxMSxztDFtGx+kMuf3OzmoWNT4HYi6LKz8wnZa9 5TOFi9Wk+mpz7tM9BuSBeyfs5LBuYrKkPDjaj4IaqvFAasHzfuUmUD6lI8vA+XQ8k7Nc /JL2c7TNrC4D18xeIOVSqcJLnon59Edi5g0ofSoQZyTmyZtY2bALTeIt+dLo8fe9TxGH AapA== X-Received: by 10.152.36.227 with SMTP id t3mr13472864laj.12.1431844941877; Sat, 16 May 2015 23:42:21 -0700 (PDT) Received: from localhost.localdomain ([176.195.149.165]) by mx.google.com with ESMTPSA id z1sm1654833laz.48.2015.05.16.23.42.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 16 May 2015 23:42:20 -0700 (PDT) From: Tarek Dakhran To: kgene@kernel.org Subject: [PATCH v1 1/1] ARM: EXYNOS: fix DEBUG_LL on Cortex-A7. Date: Sun, 17 May 2015 09:42:03 +0300 Message-Id: <1431844923-4654-2-git-send-email-t.dakhran@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431844923-4654-1-git-send-email-t.dakhran@gmail.com> References: <1431844923-4654-1-git-send-email-t.dakhran@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150516_234244_479618_6A0B6373 X-CRM114-Status: UNSURE ( 8.25 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: t.dakhran@gmail.com, k.kozlowski@samsung.com, linux-samsung-soc@vger.kernel.org, linux@arm.linux.org.uk, t.figa@samsung.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_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 Cortex-A7 has EXYNOS5_PA_UART base address for UART. If system boots from Cortex-A7 CPU addruart loads wrong address. This patch fixex this. Signed-off-by: Tarek Dakhran --- arch/arm/include/debug/exynos.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/debug/exynos.S b/arch/arm/include/debug/exynos.S index b17fdb7..a61b3ea 100644 --- a/arch/arm/include/debug/exynos.S +++ b/arch/arm/include/debug/exynos.S @@ -24,6 +24,7 @@ mrc p15, 0, \tmp, c0, c0, 0 and \tmp, \tmp, #0xf0 teq \tmp, #0xf0 @@ A15 + teqne \tmp, #0x70 @@ A7 ldreq \rp, =EXYNOS5_PA_UART movne \rp, #EXYNOS4_PA_UART @@ EXYNOS4 ldr \rv, =S3C_VA_UART