Received: by 10.213.65.68 with SMTP id h4csp102801imn; Tue, 3 Apr 2018 16:28:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/N+U/ww/ruiS87TTkDygVhmOx/XA9M05IOJti3u7waOWl1cD8uwouhaVaUrXDduumUq6ZX X-Received: by 10.99.97.143 with SMTP id v137mr10215315pgb.175.1522798097794; Tue, 03 Apr 2018 16:28:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522798097; cv=none; d=google.com; s=arc-20160816; b=jO2Z+tOw4Fit6DFs3/OfBbdVjzkDgbwlbRs6oKyUDcl69X7BVynYToK2MYwD/4/9uo Y1yHEaDslBzy4phT6eE6lKHxvNzl8WCRh9+Z5nwWcfu1asSlMMvGmRR00djZ6gRNXm7p 10SE++6QEu0WuZj04l/U9/eV0pG2fitnGCgoPS/rshhALlVppPOkznBTkNV4xaCuCGG5 nWqaDQqWilC1O5TqzVWX9OKc5uqx5LipqQhs6wC4oAwbXysx4vld//gk+wn7OA5AlJGt weUjtCSMF0JCE2AKK94gHPhoAoqOMVf/GDAmkFuRnLk5xs8kPxoLl9hh2wUP2YKfg7FW WzZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature :arc-authentication-results; bh=e6TGHgGuhE2sDKEUuKy3I6reJj10e/WVDRy1rHnCDms=; b=OC1uyD0UXvA5RKM6VqmT9k8c36wvB6bIJw/LRZR+mRoRriaDAedJBnyJqV9bvxEdv0 v95tIrcmb6QXU8KmLNNbJQn0FKE1Zg/+DDZS2kE7h3jjsKMyjA4VDX8udu8qoqjjcD5d FpjMnweeZsV2NghxRmgnN2bJBxDQQ3858ZelXnP/BENLlxd6GFXsP1gxmLxHCNhDDceq z39JvkcQlrnKDyuvfL5uecjRU099IJA5WkZ6k2R6c+rf9FKOeySwXzvk8J4Crbyx8l38 clTsiwFz1F9cYrorwSfWzxhieAmKJrqCKulxXumFHFg6P9lGeqe8qCSdCpK8+ydxb0Sx Svhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=EHh1d3Fe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q9-v6si1594662plr.273.2018.04.03.16.28.03; Tue, 03 Apr 2018 16:28:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=EHh1d3Fe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756608AbeDCWjk (ORCPT + 99 others); Tue, 3 Apr 2018 18:39:40 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:34299 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754964AbeDCWjg (ORCPT ); Tue, 3 Apr 2018 18:39:36 -0400 Received: by mail-pl0-f68.google.com with SMTP id u11-v6so11139820plq.1 for ; Tue, 03 Apr 2018 15:39:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=e6TGHgGuhE2sDKEUuKy3I6reJj10e/WVDRy1rHnCDms=; b=EHh1d3FeAFHAGlucUTIc2snP80PkZlPoqDnD56e74jewVdHyDqXlOSKAoI5S3/So/E J1D+XBsePsIx94/nk5x6fPbfxY7u6lKGK2Eva4iXEKRYLcPkc2lgNJPbdTJQ9y1+q0HT 6Oic8ybBn3dId+nGSYqPthOuJRaGSljIcrxYyv1NDFgT5/L2Kp7i/UsjtQoH5FMEcjWi bY1ggcJpdQHCqFWSQIUvZaUT4+sty+/bpKSP3nVwN1EjgklV9Z8UBPa9x24XMqS5SEqo ngtKhU10cleIAuAhevMHqX89WvPh30ldpm0chCvPOLKkPpt9ILrxQNluwOBAU+sfPLNK jiAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=e6TGHgGuhE2sDKEUuKy3I6reJj10e/WVDRy1rHnCDms=; b=HV81irJ3jHjTH6Zf3Eivgx0iYegbziPL10jSHzpqCtV5I4XJ9EQnWZ8j1ntkXDdxp4 Cc9BRcCzLPVo6vpqJfpcJUzYfVY6NRvROaa5nbPDW9/33HHU/NK2+wBCi1VniawaJ2r/ lCVPCKPSZ31mUHloMq/Y71VrZhnFwEfT1SVHsNSiuR/+HW/DxA9azM9bughbO+U3THPM 7is2Z2kT7+drqjO6FylCoZRlorb4ovoraJF9qwG6AOuTWwsFv/SchOLth3BJm+ZIv1Da 0GneZ2Udr87DPzFd+p7egsr4taX5SYajGJJq4J+Qfeq7yhL+pjPZxky/Yd9zC/9KuBvZ 8BEQ== X-Gm-Message-State: AElRT7HqsWbn9eQ/uTB9PTljw2IpZY5nR4YuyLEHvIwwgZDuQ3kNxeqY zifz9A78l3i8rb0gWER5Eo0aBg== X-Received: by 10.99.97.138 with SMTP id v132mr10277312pgb.138.1522795175469; Tue, 03 Apr 2018 15:39:35 -0700 (PDT) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id i186sm7236028pfg.53.2018.04.03.15.39.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Apr 2018 15:39:34 -0700 (PDT) Date: Tue, 03 Apr 2018 15:39:34 -0700 (PDT) X-Google-Original-Date: Tue, 03 Apr 2018 15:35:04 PDT (-0700) Subject: Re: [PATCH v5 2/3] lib: Rename compiler intrinsic selects to GENERIC_LIB_* In-Reply-To: <1522747466-22081-2-git-send-email-matt.redfearn@mips.com> CC: antonynpavlov@gmail.com, jhogan@kernel.org, ralf@linux-mips.org, linux-mips@linux-mips.org, matt.redfearn@mips.com, mcgrof@kernel.org, robin.murphy@arm.com, geert@linux-m68k.org, linux-riscv@lists.infradead.org, clm@fb.com, ynorov@caviumnetworks.com, jk@ozlabs.org, f.fainelli@gmail.com, Greg KH , akpm@linux-foundation.org, bart.vanassche@wdc.com, robh@kernel.org, terrelln@fb.com, dan.j.williams@intel.com, albert@sifive.com, viro@zeniv.linux.org.uk, tom@quantonium.net, linux-kernel@vger.kernel.org, richard@nod.at, paulmck@linux.vnet.ibm.com From: Palmer Dabbelt To: matt.redfearn@mips.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 03 Apr 2018 02:24:25 PDT (-0700), matt.redfearn@mips.com wrote: > When these are included into arch Kconfig files, maintaining > alphabetical ordering of the selects means these get split up. To allow > for keeping things tidier and alphabetical, rename the selects to > GENERIC_LIB_* > > Signed-off-by: Matt Redfearn > Reviewed-by: Palmer Dabbelt > > --- > > Changes in v5: None > Changes in v4: > Rename Kconfig symbols GENERIC_* -> GENERIC_LIB_* > > Changes in v3: None > Changes in v2: None > > arch/riscv/Kconfig | 6 +++--- > lib/Kconfig | 12 ++++++------ > lib/Makefile | 12 ++++++------ > 3 files changed, 15 insertions(+), 15 deletions(-) > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index 04807c7f64cc..20185aaaf933 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -104,9 +104,9 @@ config ARCH_RV32I > bool "RV32I" > select CPU_SUPPORTS_32BIT_KERNEL > select 32BIT > - select GENERIC_ASHLDI3 > - select GENERIC_ASHRDI3 > - select GENERIC_LSHRDI3 > + select GENERIC_LIB_ASHLDI3 > + select GENERIC_LIB_ASHRDI3 > + select GENERIC_LIB_LSHRDI3 > > config ARCH_RV64I > bool "RV64I" > diff --git a/lib/Kconfig b/lib/Kconfig > index e96089499371..e54ebe00937e 100644 > --- a/lib/Kconfig > +++ b/lib/Kconfig > @@ -588,20 +588,20 @@ config STRING_SELFTEST > > endmenu > > -config GENERIC_ASHLDI3 > +config GENERIC_LIB_ASHLDI3 > bool > > -config GENERIC_ASHRDI3 > +config GENERIC_LIB_ASHRDI3 > bool > > -config GENERIC_LSHRDI3 > +config GENERIC_LIB_LSHRDI3 > bool > > -config GENERIC_MULDI3 > +config GENERIC_LIB_MULDI3 > bool > > -config GENERIC_CMPDI2 > +config GENERIC_LIB_CMPDI2 > bool > > -config GENERIC_UCMPDI2 > +config GENERIC_LIB_UCMPDI2 > bool > diff --git a/lib/Makefile b/lib/Makefile > index a90d4fcd748f..7425e177f08c 100644 > --- a/lib/Makefile > +++ b/lib/Makefile > @@ -253,9 +253,9 @@ obj-$(CONFIG_SBITMAP) += sbitmap.o > obj-$(CONFIG_PARMAN) += parman.o > > # GCC library routines > -obj-$(CONFIG_GENERIC_ASHLDI3) += ashldi3.o > -obj-$(CONFIG_GENERIC_ASHRDI3) += ashrdi3.o > -obj-$(CONFIG_GENERIC_LSHRDI3) += lshrdi3.o > -obj-$(CONFIG_GENERIC_MULDI3) += muldi3.o > -obj-$(CONFIG_GENERIC_CMPDI2) += cmpdi2.o > -obj-$(CONFIG_GENERIC_UCMPDI2) += ucmpdi2.o > +obj-$(CONFIG_GENERIC_LIB_ASHLDI3) += ashldi3.o > +obj-$(CONFIG_GENERIC_LIB_ASHRDI3) += ashrdi3.o > +obj-$(CONFIG_GENERIC_LIB_LSHRDI3) += lshrdi3.o > +obj-$(CONFIG_GENERIC_LIB_MULDI3) += muldi3.o > +obj-$(CONFIG_GENERIC_LIB_CMPDI2) += cmpdi2.o > +obj-$(CONFIG_GENERIC_LIB_UCMPDI2) += ucmpdi2.o Sorry, I'm not sure if this is the right patch -- someone suggested acking this, but it's already Review-By me and if I understand correctly it's going through your tree. I'm a bit new to this, but if it helps then here's a Acked-By: Palmer Dabbelt