Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5508263ybi; Sun, 7 Jul 2019 06:32:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxIU7J+VAdU3bFuH79lRI1jJrLTKi6LfgLpaa9KzKS3sevWuCH8T0iIXhho1LZ6gFL4Y/cu X-Received: by 2002:a65:6281:: with SMTP id f1mr15850403pgv.400.1562506320377; Sun, 07 Jul 2019 06:32:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562506320; cv=none; d=google.com; s=arc-20160816; b=unkS6ZfOVgm1DkpPRmW7jqlT9OrlGXIK+1kU+HVdGz1cTwJ9uvwjOiAifVK6kqPpdh ZKfqwzc1aavPrVJ52mhqVmMaVU2K7oxJUaUVEM20++C+Joah+in1kbutzwDcg3C0joPa iHEbaUPbM5/bswoy1JhZXJjZvCuDKJCu9BFSUzTQQ7UdoQzykSjtQMRM5GAh1VkeZfUb 3PcBZg9KJoM11pZssblzXM58aPXnLwcMaJwKR3dYvsYy4/6lugLG07ZXzQyb7aDWQMIr QNSfHOCmh/ILQsN9qLzs8ey9oJClp4nueTmT8RsWgz3z1weWNXi0C8VE82Rx0GPLelc0 c9rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=rzs8R29lB+JHwuMTOOUJgzAyVJzcy2IS0Jzc/vdrQEI=; b=EbziVeYX9+Xk8TtGKoNPdXkPoBMfkAYyz81y28uO3Rg8SvyhNfsMNoo2PSsUKbtylF 1UWjmGDARhaD4oDLEHW1zZ6Vy331WXHP92W0LxszL4i6Ozn/bJIPoM0WKr2ek0K3SJw6 UogF4jghPbXbgvPI5iJpqMcgo22pexZj56DGApCvzvSrAUDM9w884wy5M524+VbJPKYn 57lq5ekEUeB+sl6YJSuJPKWUh8klO4v2OCeRVmWQ6YfNvIjabPXbP70nUA/BvcxiVzhd gOH4uoIjy/axNc561PgNl5Okp/UIQP/m5J1/mtljdL2hqIjw8ptygmJhV7PEbfB57Wgd 2adQ== ARC-Authentication-Results: i=1; mx.google.com; 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 w9si14580227plp.118.2019.07.07.06.31.45; Sun, 07 Jul 2019 06:32:00 -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; 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 S1726401AbfGGNPi (ORCPT + 99 others); Sun, 7 Jul 2019 09:15:38 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:32865 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726302AbfGGNPh (ORCPT ); Sun, 7 Jul 2019 09:15:37 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 45hTbV4SGMz9s4Y; Sun, 7 Jul 2019 23:15:34 +1000 (AEST) From: Michael Ellerman To: Segher Boessenkool Cc: Leonardo Bras , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] Replaces long number representation by BIT() macro In-Reply-To: <20190702164850.GP18316@gate.crashing.org> References: <20190613180227.29558-1-leonardo@linux.ibm.com> <87imskihvd.fsf@concordia.ellerman.id.au> <20190702161635.GO18316@gate.crashing.org> <20190702164850.GP18316@gate.crashing.org> Date: Sun, 07 Jul 2019 23:15:34 +1000 Message-ID: <87d0imhtop.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Segher Boessenkool writes: > On Tue, Jul 02, 2019 at 11:16:35AM -0500, Segher Boessenkool wrote: >> On Wed, Jul 03, 2019 at 01:19:34AM +1000, Michael Ellerman wrote: >> > What we could do is switch to the `UL` macro from include/linux/const.h, >> > rather than using our own ASM_CONST. >> >> You need gas 2.28 or later for that though. > > Oh, but apparently I cannot read. That macro should work fine. :) Yeah one day we'll be able to drop them entirely, but not yet. The official minimum is 2.20: https://www.kernel.org/doc/html/latest/process/changes.html But my "old" toolchain is binutils 2.22, so that's effectively the minimum for anything I test. I'm not sure many people are actually testing with 2.20. cheers