Received: by 10.223.185.116 with SMTP id b49csp3676610wrg; Mon, 19 Feb 2018 04:14:14 -0800 (PST) X-Google-Smtp-Source: AH8x226MSF04Z5+4DOmBhcHtHMVBeQBCd+oW1wsHqgyJEHbCeX5QvggH0eeKEX+p5hSZiBsNvM0s X-Received: by 2002:a17:902:b707:: with SMTP id d7-v6mr14395224pls.119.1519042454267; Mon, 19 Feb 2018 04:14:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519042454; cv=none; d=google.com; s=arc-20160816; b=Bdc8ZJNRLh385A28RHXxa1r0Z0IrMDckhO46VbDZkBFGrbSHwT6KF7wiH4c/PXhFlK /JC6XA4WCsMMuuIuDiEMKkjAJQpUlKV4ypTQM6futfdjIq/+P1I9FkyMyx8RQwIRmsnH bdkLEsDWlyvZRbb/S0ThGV0Ki7h+i7XumnZKznyVr4Pj5O3eqZOolWR82O4Ownrw3uGC O/fR1mF6jmpvcdRHIU0Z4D6mi2O9z5og1TAst+TnsTlPrFG/XdpRfDWXL38LeoNG3Jel QTB2VFk1ladRIMl3fuNtZMlDeuwbOVJMT3VS0//PnzDiYoqDPYjvSkIuTW1hN/iFJGIo ykrA== 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:arc-authentication-results; bh=c94mu98qGIFf1GcIsNCI1ZfSps7g+5HMgEKWMVQ8og4=; b=EZpUv5/FZ78MEaPqQs4cuoi3iA2qJ/OZz8ZeVfe/Fm4sZ0DtB8The4T1M1o3jmDX/M CzCnBC8t1AaxOnuYNa9+/VaAZCMaz2ANIY0rKjG2cSmBgqEUAE8PckyKQBeF4Py7gysq u6ODdDP0CqQCu4h4vV3hwFMVgXaZYjNlbbXVVmRxFbIT8QkVRQ/+xM/lKa/Bq0fREE0e Z0hhzbL31FHv038F/t98GemUrrRcOTTrjItIPhJ7na+ye3M1HzvmJnAWb5hNaog4cEGY +LcyqH7gZXOrSIbelD6a8jW/JE31szkjks7tujYmPlxmgztKBIbjKK32Lx2RnKrsP793 rnLA== 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 w8si7898374pfk.17.2018.02.19.04.13.59; Mon, 19 Feb 2018 04:14:14 -0800 (PST) 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 S1752666AbeBSMNT (ORCPT + 99 others); Mon, 19 Feb 2018 07:13:19 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:58222 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752579AbeBSMNS (ORCPT ); Mon, 19 Feb 2018 07:13:18 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E37351435; Mon, 19 Feb 2018 04:13:17 -0800 (PST) Received: from armageddon.cambridge.arm.com (armageddon.cambridge.arm.com [10.1.206.84]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B0AB33F25C; Mon, 19 Feb 2018 04:13:16 -0800 (PST) Date: Mon, 19 Feb 2018 12:13:14 +0000 From: Catalin Marinas To: Will Deacon Cc: John Garry , Bhupesh Sharma , bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64: Fix compilation error while accessing MPIDR_HWID_BITMASK from .S files Message-ID: <20180219121313.lltye3g464zzt7z3@armageddon.cambridge.arm.com> References: <1519022394-11326-1-git-send-email-bhsharma@redhat.com> <36bd758c-dd49-edef-cc1a-20f5b43f5011@huawei.com> <20180219110238.GA30394@arm.com> <20180219111907.GB30394@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180219111907.GB30394@arm.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 19, 2018 at 11:19:07AM +0000, Will Deacon wrote: > > >>On 19/02/2018 06:39, Bhupesh Sharma wrote: > > >>>Since commit e1a50de37860b3a93a9d643b09638db5aff47650 (arm64: cputype: > > >>>Silence Sparse warnings), compilation of arm64 architecture is broken > > >>>with the following error messages: > > >>> > > >>> AR arch/arm64/kernel/built-in.o > > >>> arch/arm64/kernel/head.S: Assembler messages: > > >>> arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')' > > >>> arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')' > > >>> arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')' > > >>> arch/arm64/kernel/head.S:677: Error: junk at end of line, first > > >>> unrecognized character is `L' > > >>> arch/arm64/kernel/head.S:677: Error: unexpected characters following > > >>> instruction at operand 2 -- `movz x1,:abs_g1_s:0xff00ffffffUL' > > >>> arch/arm64/kernel/head.S:677: Error: unexpected characters following > > >>> instruction at operand 2 -- `movk x1,:abs_g0_nc:0xff00ffffffUL' > > >>> > > >>>This patch fixes the same by using the UL() macro correctly for > > >>>assigning the MPIDR_HWID_BITMASK macro value. > > >>> > > >>>Signed-off-by: Bhupesh Sharma [...] > Thanks for the clarification; Catalin -- can you pick this up for -rc3 please? Done. Strange that it builds fine with newer toolchains. -- Catalin