From patchwork Wed Aug 13 19:40:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 4720541 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 42FD89F377 for ; Wed, 13 Aug 2014 19:43:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6DE69201DC for ; Wed, 13 Aug 2014 19:43:43 +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 5DA72201D5 for ; Wed, 13 Aug 2014 19:43:42 +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 1XHeQE-0006rX-K5; Wed, 13 Aug 2014 19:41:22 +0000 Received: from mail-pd0-x22e.google.com ([2607:f8b0:400e:c02::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XHeQC-0006pb-RS for linux-arm-kernel@lists.infradead.org; Wed, 13 Aug 2014 19:41:21 +0000 Received: by mail-pd0-f174.google.com with SMTP id fp1so233403pdb.5 for ; Wed, 13 Aug 2014 12:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=ftpGyS56tXZO7dRvydcHQBbl16VCp9NNFXZbHua/Ock=; b=BonWirvuxGRScg+rcK1I/mL3iNbyCdq3lkx1bl+pzkZjsF7RaOEbWhikCbRmZFQnGx bZnPX7UihQfL2CLjUH4q5+4oIpnvFTxuX2zGS5oKNU2aVJxos69BsdsilE6IKQJd4Gpu VDcUiLVa26ZsRIjMstSEMU5cdI5TE8WTE/7PZmhFYdUzk1D4M4HiYzklO0f2bzRBHIbL oV0fkrmP7EYmwcBz+bIXcHiPhz4d/KWOgXD1BbOh7FsrGB0sy3sMdnx7VaVjXgf2Q0SQ 8267wun/8FRwrsEwrgmo8NQ4c4ppSz/YzmynUFD8ddeZFrNe0tVXFRtz1Mpn24aos244 ZhrQ== X-Received: by 10.70.127.163 with SMTP id nh3mr5710716pdb.139.1407958858903; Wed, 13 Aug 2014 12:40:58 -0700 (PDT) Received: from ld-irv-0074 (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by mx.google.com with ESMTPSA id lq4sm9612174pab.48.2014.08.13.12.40.57 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 13 Aug 2014 12:40:58 -0700 (PDT) Date: Wed, 13 Aug 2014 12:40:47 -0700 From: Brian Norris To: Gregory Fong Subject: [PATCH] ARM: drop ISAR0 workaround for B15 Message-ID: <20140813194047.GA18411@ld-irv-0074> References: <1407797053-12544-1-git-send-email-gregory.0xf0@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1407797053-12544-1-git-send-email-gregory.0xf0@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140813_124120_907863_A820B97E X-CRM114-Status: GOOD ( 12.69 ) X-Spam-Score: -0.8 (/) Cc: Mark Rutland , Florian Fainelli , Russell King , Kevin Cernekee , Christian Daudt , Will Deacon , Linux Kernel , Matt Porter , Marc Carino , 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 The Brahma-B15's ISAR0 correcty advertises UDIV/SDIV support in both ARM and Thumb2 modes (CPUID_EXT_ISAR0=02101110), so we don't need to manually apply this hwcap. The code in question actually predates the following commit, which made our hwcaps unnecessary: commit 8164f7af88d9ad3a757bd14f634b23997ee77f6b Author: Stephen Boyd Date: Mon Mar 18 19:44:15 2013 +0100 ARM: 7680/1: Detect support for SDIV/UDIV from ISAR0 register Signed-off-by: Brian Norris Cc: Will Deacon Cc: Mark Rutland --- Supersedes Gregory's previous patch. This addresses some very old review comments from Mark and Will: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-January/225895.html http://lists.infradead.org/pipermail/linux-arm-kernel/2014-January/227916.html arch/arm/mm/proc-v7.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S index b5d67db20897..b3a947863ac7 100644 --- a/arch/arm/mm/proc-v7.S +++ b/arch/arm/mm/proc-v7.S @@ -570,7 +570,7 @@ __v7_ca15mp_proc_info: __v7_b15mp_proc_info: .long 0x420f00f0 .long 0xff0ffff0 - __v7_proc __v7_b15mp_setup, hwcaps = HWCAP_IDIV + __v7_proc __v7_b15mp_setup .size __v7_b15mp_proc_info, . - __v7_b15mp_proc_info /*