From patchwork Sun Jan 22 03:22:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: afzal mohammed X-Patchwork-Id: 9530751 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 936A9601D4 for ; Sun, 22 Jan 2017 03:25:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8213528383 for ; Sun, 22 Jan 2017 03:25:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 732D52839B; Sun, 22 Jan 2017 03:25:07 +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=-1.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0AF1228383 for ; Sun, 22 Jan 2017 03:25:07 +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 1cV8m3-0008EX-Jm; Sun, 22 Jan 2017 03:24:59 +0000 Received: from mail-pg0-f65.google.com ([74.125.83.65]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cV8lc-000772-8l for linux-arm-kernel@lists.infradead.org; Sun, 22 Jan 2017 03:24:33 +0000 Received: by mail-pg0-f65.google.com with SMTP id 204so10415943pge.2 for ; Sat, 21 Jan 2017 19:24:11 -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=xio5l1CS3Sla0inWoJp1Wvz8b3URTdendFFpKZqqfzc=; b=oKdhO2ypIH79rbkrdssb2WBmGmONJ9BoC6PKtGtY2A1rFDNKeSWX3diz75s6yL6bzp rVevqxuT6fjqoC7FXECMiqLo4cO/ZuMHp0n4eDGvPCfG8GtjqXwmHXJQAyxptyUX/1Zz b+3l+VVODPpV5MrbmpTdbMFpXwsiZIiCxQ9GTUO2ZpUjhdZNTIKZDLHvIsginiOZ8nQz QLvs5MMpi6/Y9Q0VoTAYEJB7NOZz2aPYoltWuI5tGMqlyIw4TKzT3x1FFVlLuBslmQyB +QlYEecRV+msGHJE3FVJlCYy1gvaBlDcGGD6aR/UgTbP5TY8nzOPLfjZGqzDei71jOMq N2Pw== 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=xio5l1CS3Sla0inWoJp1Wvz8b3URTdendFFpKZqqfzc=; b=Wal3hMT45jA+ZODY+Lu9F9t+y2TSHSZeqeP94FdimgqI65Pot2FGqNWFXVrWlrk/4x 7P/2MYeQxMvTd7DHXpN4TDZIZytoNoqJziIJTejU05NkM+4zNM+8LLfwBtIptoyNQy/k rKuvC3z0tRTI6OR4Eo1bYoBLGhw3obkF9euHwr/5mCghHuxx4CPhFg0v07uarv4GXnM3 +Pjp6QurOe3RBtopVqLUt1Y7yn8yndNLIyT9TZ1qPd3K3fz6d7OtGzX3VxsRYPJibtst vqq9PVRl9JPEfohXc9MhLkWParD/9ld7hj2YKNI43JdQGlHtsA0LScad+YPFHOm/iGTL DiVg== X-Gm-Message-State: AIkVDXJtJVVbzIn3A3B0yc9QHzWUO3X1xY/aa7KLWtwvKVFjbuVU5f6IGmNT9sf3Qm/ziQ== X-Received: by 10.84.224.133 with SMTP id s5mr33689082plj.130.1485055390934; Sat, 21 Jan 2017 19:23:10 -0800 (PST) Received: from localhost.localdomain ([223.227.141.101]) by smtp.gmail.com with ESMTPSA id w76sm26780013pfd.74.2017.01.21.19.23.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 21 Jan 2017 19:23:10 -0800 (PST) From: afzal mohammed To: Russell King - ARM Linux Subject: [PATCH v2 4/4] ARM: nommu: remove Hivecs configuration is asm Date: Sun, 22 Jan 2017 08:52:59 +0530 Message-Id: <20170122032259.13512-1-afzal.mohd.ma@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170122031652.13074-1-afzal.mohd.ma@gmail.com> References: <20170122031652.13074-1-afzal.mohd.ma@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170121_192432_408491_72AB406E X-CRM114-Status: UNSURE ( 9.17 ) 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 Now that exception based address is handled dynamically for processors with CP15, remove Hivecs configuration in assembly. Signed-off-by: afzal mohammed --- arch/arm/kernel/head-nommu.S | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/kernel/head-nommu.S b/arch/arm/kernel/head-nommu.S index 6b4eb27b8758..2e21e08de747 100644 --- a/arch/arm/kernel/head-nommu.S +++ b/arch/arm/kernel/head-nommu.S @@ -152,11 +152,6 @@ __after_proc_init: #ifdef CONFIG_CPU_ICACHE_DISABLE bic r0, r0, #CR_I #endif -#ifdef CONFIG_CPU_HIGH_VECTOR - orr r0, r0, #CR_V -#else - bic r0, r0, #CR_V -#endif mcr p15, 0, r0, c1, c0, 0 @ write control reg #elif defined (CONFIG_CPU_V7M) /* For V7M systems we want to modify the CCR similarly to the SCTLR */