From patchwork Tue Jan 31 13:07:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: afzal mohammed X-Patchwork-Id: 9547177 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 B260560425 for ; Tue, 31 Jan 2017 13:08:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A315B2841B for ; Tue, 31 Jan 2017 13:08:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9413F2841F; Tue, 31 Jan 2017 13:08:01 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,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 24A9428334 for ; Tue, 31 Jan 2017 13:08:01 +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 1cYYA9-0008Mj-Fg; Tue, 31 Jan 2017 13:07:57 +0000 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cYYA1-00088X-Ee for linux-arm-kernel@lists.infradead.org; Tue, 31 Jan 2017 13:07:51 +0000 Received: by mail-pf0-x241.google.com with SMTP id y143so27816681pfb.1 for ; Tue, 31 Jan 2017 05:07:29 -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=cN7OLlT2Mozc7bDL8QJfQCy8WPinXfKw6ZzeSwUEz/g=; b=t2Zpn9VHheJy2EjhYpN8DyQw4wfYADMW3k6I5R189VwBQuFGTmppM5xAHgCCP7Jl4s 8hr4/p5w/qDK0GeOXihL0zMiwDKAUNOVOdEqP4Gvkw94NAk7bWWNjcJz444HBWL9eis5 9r83XLIXVAq6ScrGWQ848+oDkiswB5bFsMd1eA7u5sDTAZKCIzSd0mviAOkt8ZRFsfhI az7xa8HxdG81UUScYNOsrEq8n4bVcrhoNQQHrcVWjReAbf7vBBB7z0h09ALpKMD1VTAZ /fLI4iSxhglXUfZf7WJ+3qhxTxFln3g3t75HXEeUp911UPzRs/g2wd1yUWT+/yAHA+Op Dwyg== 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=cN7OLlT2Mozc7bDL8QJfQCy8WPinXfKw6ZzeSwUEz/g=; b=PgRchPugPpz9aVLuJqnRi3M5E9zTx68vkuj426wh1ZbzNM48k/F0of0g2Lts/V/Srm ybs1xAUMnyiM4hD10NYvExg17sHYMBk1Ow8iX/BrjjZt7NZtq6croPcZgTTs9u3JQjZ2 I5nbY5at2RMFLSSasCCvE+Y09DYFtPKe5GKyOQQ6mWeb8utVFccMACaz5Vks8mx+7CTo ARNd7mlxeYuWrBIecAOT3VbNQ5Wy6ilwLQ0A3u/nVSnF5CcXuMVRHSOKLjx0h1L9qhbb rKxSxa2wgIU9i4+NGghPKkEhP8HrBLi1HGo6J9reN8ReLi/oZ+y5Xp/RV/okcvanr5j/ q62A== X-Gm-Message-State: AIkVDXK+CgafVrgQNYtgocG7pjJKa1u7B5cV/pKxXTq1l3IjA5V4X3klzRZpfBLqI59ZAA== X-Received: by 10.99.102.70 with SMTP id a67mr30625954pgc.222.1485868048768; Tue, 31 Jan 2017 05:07:28 -0800 (PST) Received: from localhost.localdomain ([14.194.191.81]) by smtp.gmail.com with ESMTPSA id d69sm41128411pfd.11.2017.01.31.05.07.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 Jan 2017 05:07:28 -0800 (PST) From: afzal mohammed To: Russell King - ARM Linux Subject: [PATCH v3 3/3] ARM: nommu: remove Hivecs configuration is asm Date: Tue, 31 Jan 2017 18:37:01 +0530 Message-Id: <20170131130701.6042-1-afzal.mohd.ma@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170131130446.5829-1-afzal.mohd.ma@gmail.com> References: <20170131130446.5829-1-afzal.mohd.ma@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170131_050749_595032_20352755 X-CRM114-Status: UNSURE ( 9.67 ) 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 Tested-by: Vladimir Murzin --- v3: Vladimir's Tested-by 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 */