Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp636688pxb; Fri, 16 Apr 2021 14:23:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6LEP0fCRCH8gUmF9FfZhZ3l6EjWFVCg6I3Myx0+A+g/M5M2v2Umot9bRJg2RG7Jqhqnw1 X-Received: by 2002:a17:90b:120b:: with SMTP id gl11mr11761605pjb.143.1618608207782; Fri, 16 Apr 2021 14:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618608207; cv=none; d=google.com; s=arc-20160816; b=gr7pp9NWooss3aEi0JgC+JzXa34C63svLljiYS9MbHtlTovIrjxbGyzD7O+s9LHjC3 X2yFzRNEjfgMCWTyQ3fGAEzQbrIHx1y3Jrt/dNnVZTuNNXtRitw1/vdESXe7J6H1TUAI 7M84IQLqiv2padZtAH+Q57IOmzL8BboZL6diKZ/pLAjrjjiVaq+5GXOoTEZ0/rhARGsq /Zj8fbNjCJ/IQXQ2YL27ys5U7gw+CIfpdB7jcgbVlCgDlTax0rEjSxAf9hJwxl3INv7A I5w6egzu0FZESRCuXaRTK8LQu61BqQLz5mqkWhwbzEZU/VNDKheSMai1C3thV2Q5iR5d KIew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:cc:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=NGL2DZ81iiy8zZ9X98sR3lExSRtmhzsEE2kmMo2vY6Y=; b=uqsh+5xJ8kGIkRDEJpIQW9J5M/Hev+M7+Nbm+8rfhU9hevOgtd07TjvUdN/z4S1MVf JZwjwneYnSbVYB4/ac5xJEuRdFvNDWLeJdglJ+LolWpWFJ5x2WNukLuEPATfo6EN4dwt oS60RyliMIfoUbs7E0qbr0u4slz+S8MvCVE0u1en4zMUrNCudrhk7bX1j+5Gjf4otmxR v59ezWCbqOW2kVK/AYK07/A4ByEd1+pXLKZ3a03DHNhcmeTPhLPpIGuTP2+PyFrxcmFd JbNKuU+rIsJWL6NwNiaU0Z2YlKyi92P1f9evOcj6nbugFh6Yk5LhCuWYEUUmlM1oae4U Fphg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=qRxg1AQV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w23si6807394pfi.181.2021.04.16.14.23.16; Fri, 16 Apr 2021 14:23:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=qRxg1AQV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235776AbhDPSYb (ORCPT + 99 others); Fri, 16 Apr 2021 14:24:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234312AbhDPSYb (ORCPT ); Fri, 16 Apr 2021 14:24:31 -0400 Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7380C061756 for ; Fri, 16 Apr 2021 11:24:05 -0700 (PDT) Received: by mail-ot1-x335.google.com with SMTP id 101-20020a9d0d6e0000b02902816815ff62so20659202oti.9 for ; Fri, 16 Apr 2021 11:24:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:cc; bh=NGL2DZ81iiy8zZ9X98sR3lExSRtmhzsEE2kmMo2vY6Y=; b=qRxg1AQVpABQRxRIqNU5TKPRxviJzaAJJQvMgYRNOw77gh3Yu7WQSV0s+T33hqXGiZ YBFdsywjmDeOsHpxDxYDsyBhOUeP377VvaPhkfyg1tqcZdAk8HxXX3LG3j/0I+oOX4Yr ggCsVdEKnxJGiqAcoWSC1Eg4vrEBC8ZnMNIH93EITdtCdb3PHD2BnenltnN05fYQ2WMi gm48T9giGwX9vwYFGU0RAs+fLMtWFJ5iGTQJSlvpbPpgFGkXLK1+hmGMSI1W4ilk9T+O 8ruuAxK28VWV0B/hOOHgqrB69eysFrQkUM91ZAAW/yMAz7cEA/VNS3cd9pYTDqiN3rQw S2sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:cc; bh=NGL2DZ81iiy8zZ9X98sR3lExSRtmhzsEE2kmMo2vY6Y=; b=iAqqE4QDEcpSQUNa3O5+lg1/SgrwOLnUsElCcnuskKpOOaDm9x+p/ehG7xt/jbcY8j iYca0qjXQ5Ie3AdxI9Pq+DBgRcKxgUNavOGOvbTbliZqjS6lVGACm6Vqe0srWH9m/LU+ HVIcU4YeodAktQ8O5+E5EvVmRBUpINLVdGlY0K4dJFSvMY3yLaPA2zTI48OfjNml7OuX zX/mhGPJD+icdkkXiNHDzXuYr3dnStxewkhRfQ+h8S3BlWXsMOh5MsaZQVmyhziKqCDq 101vkYxqvM36fa+xPMdSy7MqsKu5BM+pKzQoazIwHh2aF385B9x3nPW5aNJvRQnE6AK6 cTuw== X-Gm-Message-State: AOAM531FE5sRI19mGl5WjzO5lXbVN/mdQJp1hauLzOW/ueGz9+IaKXY7 tC/DwwymivK5tsHLC4h9c2h69annVGNJxPyIADSkrQ== X-Received: by 2002:a05:6830:200e:: with SMTP id e14mt4156138otp.111.1618597444844; Fri, 16 Apr 2021 11:24:04 -0700 (PDT) MIME-Version: 1.0 References: <20210416181421.2374588-1-jiancai@google.com> In-Reply-To: <20210416181421.2374588-1-jiancai@google.com> From: Jian Cai Date: Fri, 16 Apr 2021 11:23:53 -0700 Message-ID: Subject: Re: [PATCH] arm64: vdso: remove commas between macro name and arguments Cc: "# 3.4.x" , Greg KH , Sasha Levin , Nick Desaulniers , Nathan Chancellor , Manoj Gupta , Luis Lozano , clang-built-linux , Catalin Marinas , Will Deacon , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I should've mentioned this patch is for 4.19 only as the code has been rewritten in later versions, but requires a large amount of backports (https://github.com/ClangBuiltLinux/linux/issues/1349). This is the only blocker for 4.19 migration to LLVM's integrated assembler on CrOS that I am aware of. Thanks, Jian On Fri, Apr 16, 2021 at 11:14 AM Jian Cai wrote: > > LLVM's integrated assembler does not support using commas separating > the name and arguments in .macro. However, only spaces are used in the > manual page. This replaces commas between macro names and the subsequent > arguments with space in calls to clock_gettime_return to make it > compatible with IAS. > > Link: > https://sourceware.org/binutils/docs/as/Macro.html#Macro > Signed-off-by: Jian Cai > --- > arch/arm64/kernel/vdso/gettimeofday.S | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/kernel/vdso/gettimeofday.S b/arch/arm64/kernel/vdso/gettimeofday.S > index 856fee6d3512..7ee685d9adfc 100644 > --- a/arch/arm64/kernel/vdso/gettimeofday.S > +++ b/arch/arm64/kernel/vdso/gettimeofday.S > @@ -122,7 +122,7 @@ x_tmp .req x8 > 9998: > .endm > > - .macro clock_gettime_return, shift=0 > + .macro clock_gettime_return shift=0 > .if \shift == 1 > lsr x11, x11, x12 > .endif > @@ -227,7 +227,7 @@ realtime: > seqcnt_check fail=realtime > get_ts_realtime res_sec=x10, res_nsec=x11, \ > clock_nsec=x15, xtime_sec=x13, xtime_nsec=x14, nsec_to_sec=x9 > - clock_gettime_return, shift=1 > + clock_gettime_return shift=1 > > ALIGN > monotonic: > @@ -250,7 +250,7 @@ monotonic: > clock_nsec=x15, xtime_sec=x13, xtime_nsec=x14, nsec_to_sec=x9 > > add_ts sec=x10, nsec=x11, ts_sec=x3, ts_nsec=x4, nsec_to_sec=x9 > - clock_gettime_return, shift=1 > + clock_gettime_return shift=1 > > ALIGN > monotonic_raw: > @@ -271,7 +271,7 @@ monotonic_raw: > clock_nsec=x15, nsec_to_sec=x9 > > add_ts sec=x10, nsec=x11, ts_sec=x13, ts_nsec=x14, nsec_to_sec=x9 > - clock_gettime_return, shift=1 > + clock_gettime_return shift=1 > > ALIGN > realtime_coarse: > -- > 2.31.1.368.gbe11c130af-goog >