From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755899AbdKOF1J (ORCPT ); Wed, 15 Nov 2017 00:27:09 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:53138 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755176AbdKOF1G (ORCPT ); Wed, 15 Nov 2017 00:27:06 -0500 Date: Wed, 15 Nov 2017 14:27:02 +0900 (KST) Message-Id: <20171115.142702.1110571070818989446.davem@davemloft.net> To: vijay.ac.kumar@oracle.com Cc: linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org, babu.moger@oracle.com, rob.gardner@oracle.com, sam@ravnborg.org, anthony.yznaga@oracle.com Subject: Re: [PATCH v4 0/5] sparc64: Optimize fls and __fls From: David Miller In-Reply-To: <1507747806-10251-1-git-send-email-vijay.ac.kumar@oracle.com> References: <1507747806-10251-1-git-send-email-vijay.ac.kumar@oracle.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 14 Nov 2017 21:27:06 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vijay Kumar Date: Wed, 11 Oct 2017 12:50:01 -0600 > SPARC provides lzcnt instruction (with VIS3) which can be used to > optimize fls, __fls and fls64 functions. For the systems that supports > lzcnt instruction, we now do boot time patching to use sparc > optimized fls, __fls and fls64 functions. > > v3->v4: > - Fixed a typo. > v2->v3: > - Using ENTRY(), ENDPROC() for assembler functions. > - Removed BITS_PER_LONG from __fls. > - Using generic fls64(). > - Replaced lzcnt instruction with .word directive. > v1->v2: > - Fixed delay slot issue. Series applied, thank you. From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Date: Wed, 15 Nov 2017 05:27:02 +0000 Subject: Re: [PATCH v4 0/5] sparc64: Optimize fls and __fls Message-Id: <20171115.142702.1110571070818989446.davem@davemloft.net> List-Id: References: <1507747806-10251-1-git-send-email-vijay.ac.kumar@oracle.com> In-Reply-To: <1507747806-10251-1-git-send-email-vijay.ac.kumar@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: vijay.ac.kumar@oracle.com Cc: linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org, babu.moger@oracle.com, rob.gardner@oracle.com, sam@ravnborg.org, anthony.yznaga@oracle.com From: Vijay Kumar Date: Wed, 11 Oct 2017 12:50:01 -0600 > SPARC provides lzcnt instruction (with VIS3) which can be used to > optimize fls, __fls and fls64 functions. For the systems that supports > lzcnt instruction, we now do boot time patching to use sparc > optimized fls, __fls and fls64 functions. > > v3->v4: > - Fixed a typo. > v2->v3: > - Using ENTRY(), ENDPROC() for assembler functions. > - Removed BITS_PER_LONG from __fls. > - Using generic fls64(). > - Replaced lzcnt instruction with .word directive. > v1->v2: > - Fixed delay slot issue. Series applied, thank you.