Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3534172ybi; Tue, 2 Jul 2019 09:17:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZ7PuxBfE4bhjKWlgFfo/ejp2Ns0G9gSIvM1qrhz+VP9ci9AjOBNuEk9hrVuDrjKB9N7mf X-Received: by 2002:a17:902:4b:: with SMTP id 69mr35731296pla.89.1562084263839; Tue, 02 Jul 2019 09:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562084263; cv=none; d=google.com; s=arc-20160816; b=S6fpCkcbamNCc2MVMKHMidDgf1GJl1qoTYTJjEhzrXja5gBpBIF39x1xra2x/FhSCb +hraz0QzNEyib2mf/FvadOlog2cKgDEi1aF8YvIdhLB9l8G4Kn0U4OeyjRvhA4PkitSS xPqbERRb1FzfseDiBD4JZfW1ZqtICao3hshX26ZNOFHcgyJYYfOs/9MxjPdQ7F7JD+J3 ckf5d13zVcGxL/ZXoOGYncIr3JwlKIengMYMEl5SxbbiItsn+VQ0N3+icD1JhDY3XPzo lKjuEqD7CXSlixab5NAnmNFkpsILBdronRAs/OJkYsWbR4S/gfLIqsIOytn3UvAbB79c jBGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=pILG0K2vazlUpwmQnoKNOer103CekdIvOxoKEyVhhls=; b=JNFLairIoquynSNOsY4G390f4VWsbNTVjD6lrzv6lPx5AaxM9zN2CIp1f4DrRUBcDX k0n08ucGqk63T7BzFyFZGZjeBkVIAazIxWQIU7J+nOPLYUgOCj9ZDjVrjkBk0mTwLKPQ zA3lUQODgy2JCFU3R+ZT3sr0xOxM9MhDJNkN1pz7GtWoC8eCwLImdUgl1yADR+WxO/NC MIyxw/cu4JvCMw7hLVrqROAOHXGKuXaFrSPFVnXCtej95GdC40zG+3vCV7rRDHRCS4li fGYzMS5RAAqOmHOOvTrmMgeOXNunGPjYnrGYMB6LkBLR7/7FcW7UKI4++ZQRnT//lUu9 s8QA== 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 br18si2556985pjb.52.2019.07.02.09.17.27; Tue, 02 Jul 2019 09:17:43 -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 S1726430AbfGBQQ5 (ORCPT + 99 others); Tue, 2 Jul 2019 12:16:57 -0400 Received: from gate.crashing.org ([63.228.1.57]:43487 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725996AbfGBQQ4 (ORCPT ); Tue, 2 Jul 2019 12:16:56 -0400 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id x62GGb5p021977; Tue, 2 Jul 2019 11:16:37 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id x62GGZlU021976; Tue, 2 Jul 2019 11:16:35 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Tue, 2 Jul 2019 11:16:35 -0500 From: Segher Boessenkool To: Michael Ellerman 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 Message-ID: <20190702161635.GO18316@gate.crashing.org> References: <20190613180227.29558-1-leonardo@linux.ibm.com> <87imskihvd.fsf@concordia.ellerman.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87imskihvd.fsf@concordia.ellerman.id.au> User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=86b80085 https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=e140100a What is the minimum required (for powerpc) now? Segher