From patchwork Sat Jan 7 17:22:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: afzal mohammed X-Patchwork-Id: 9503229 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5F253606E0 for ; Sat, 7 Jan 2017 17:23:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4EEC4284C5 for ; Sat, 7 Jan 2017 17:23:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 41655284C0; Sat, 7 Jan 2017 17:23:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D81A4284C0 for ; Sat, 7 Jan 2017 17:23:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cPui8-0004DT-TO; Sat, 07 Jan 2017 17:23:20 +0000 Received: from mail-pf0-f193.google.com ([209.85.192.193]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cPui2-0003sS-Ll for linux-arm-kernel@lists.infradead.org; Sat, 07 Jan 2017 17:23:16 +0000 Received: by mail-pf0-f193.google.com with SMTP id y143so618574pfb.1 for ; Sat, 07 Jan 2017 09:22:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8zNpEzMcOL2qKZ37VmzaIdrPp8FNmye3zavNXtEDxZM=; b=CQktmjg19cXTvNVDd2bnZBIJhLKV18yVml+MQRKTEL86QzKbJjENSoZWuCU5HPOd7E g9/ZOHvrAYkb9BKNq046bYe2b5XQwJmc4ERC6mTtzghRZSW730k30fm9ivpE3UWOMs2r AYIWaH7VANnc0ZLgO/+zyk2h3xgbbiqsYQjzV4RKyzzJMu/3RHclpUBVbp3CTOnSiJA1 xwjzXSjTG9kw8mM9lnK+gLMYFqszzh9qYNZCf0wwxhYgAbeBgKtzH3IUHo8ebdEhJNNd dNRY1kYThf5p9c23JllBrXgUacSon6ozqs3j9oJ9ZjyfEp0pPktvSs7e3KC+Gkfp0uSB RtSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8zNpEzMcOL2qKZ37VmzaIdrPp8FNmye3zavNXtEDxZM=; b=VwdI8E7n9+z5VJLPoeS/XXt3XwZ9F/qkYvk6sBzB0P5M9ag9uHB/g2cBWjY1QO362K hpuczNVmfTpWqyyjduAySvNHtrSNn3MsFWmxJFrhDl8bLm3KGcT0Kwyy903bwDyZKqb5 OC9YDKcjEITT7oQSzmHGhiU9Ay2kD54W5imTzTWvCDMYBFnegY8XSljUy8jdcDYfXhWf teSSlYbuahvec6HQUxGi2rw/PIlIeLZdwl5MVpOPajkSI/d+7+bgmxKEVvZ9yKahRXHt rLYMS7WhgnqqJp99Ztatd0gDqcNb9LqgvlzPFcpkruguRL7XDZOyWN6833qOPCL/YCzp jX0Q== X-Gm-Message-State: AIkVDXIVSWwaDQ+8rvAUGw7JMCVkLkvE61kLrIZJvb4KOcVQbKL7thThKMqmItGaAjBQFQ== X-Received: by 10.98.130.11 with SMTP id w11mr75325977pfd.172.1483809773694; Sat, 07 Jan 2017 09:22:53 -0800 (PST) Received: from localhost.localdomain ([49.203.213.27]) by smtp.gmail.com with ESMTPSA id s4sm167030110pfb.55.2017.01.07.09.22.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 07 Jan 2017 09:22:53 -0800 (PST) From: afzal mohammed To: Russell King - ARM Linux Subject: [PATCH WIP 4/4] ARM: remove compile time vector base for CP15 case Date: Sat, 7 Jan 2017 22:52:28 +0530 Message-Id: <20170107172228.6451-1-afzal.mohd.ma@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170107171339.GA5044@afzalpc> References: <20170107171339.GA5044@afzalpc> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170107_092314_791080_69FC9428 X-CRM114-Status: UNSURE ( 9.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vladimir Murzin , afzal mohammed , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP vectors base is now dynamically updated for Hivecs as well as for REMAP_VECTORS_TO_RAM case to DRAM_START. Hence remove these CP15 cases. TODO: Kill off VECTORS_BASE completely - this would require to handle MMU case as well as ARM_MPU scenario dynamically. Signed-off-by: afzal mohammed --- arch/arm/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index bc6f4065840e..720ee62b4955 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -232,8 +232,7 @@ config ARCH_MTD_XIP config VECTORS_BASE hex - default 0xffff0000 if MMU || CPU_HIGH_VECTOR - default DRAM_BASE if REMAP_VECTORS_TO_RAM + default 0xffff0000 if MMU default 0x00000000 help The base address of exception vectors. This must be two pages