Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1755259rwb; Wed, 5 Oct 2022 04:27:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4lIxsyot9wGd4R4xzlukassHKO+QgBm6Q70F1LP3Hmaki5qdaKIWY6LzIye7XGGnFX8wrO X-Received: by 2002:a63:3143:0:b0:44a:b2e:1690 with SMTP id x64-20020a633143000000b0044a0b2e1690mr16464453pgx.422.1664969246676; Wed, 05 Oct 2022 04:27:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664969246; cv=none; d=google.com; s=arc-20160816; b=Y+U+xGy6sOjjAzV9JYtSYbP363vk7RBzbFVrLe6u1N2u+XZfP45P3HjwucLFkKvbq8 r1+7xqAM/qh5gwPOurjMkA/Gkw9VQXIwuvmBqjnuBb8/Xjzyhb6QC5l12KbUKiJxrYdZ yVJgcGzW4TifCPlxKkTuTk83qYlJvII5X9yOd5QbgDU7sH2XMmKaRf3o0pBMw61/NIpu oI+62Qb0/wVVTd378pf3GfikPYwPRNMTdgLXfI1ENGI6yqrbzHA0zF/aUDaON5FCU3Sf NRuHGlq3Wq37MeIrZkrxK1c8MAjPgP46FbjohFgJklyjnvZKlFkG4TQZSDUF8lz/JCFU 8Mag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=YD4EMJfXUhTIKB/BohvTsFLaxhA/RHXky4lDjm0VpJI=; b=RvTieGRJmxhMeTkarccu4GXxYH2ajUzD3UNCQaVTJHKW+bX4x9knXpEvmyxjWF9ngM Vx4LJRnfmT9s3qnQxMsDP7LVjQPBncFngn6fzlBy3nZwPJCa0fjlpa67Ig1PdQpcNq2G tlVVUs4F9sHneUgpXKsdShQC79Po/yHnnhD8yYWUT6l8lsAfgN/1377FJoYEu7cyUx82 Ojb2rfN85FQUkkkHsAbsV7OkgFuRvbx6V05cDx1vFEJjAcRWpjtI8LvGh0WYn5CdP+R0 Ld0ubbhF7/rYvbPhTQnwv3z3n4ujmBagp1z7ejFy4I228gZOEZH2w6M6QfZA3HfvPpbZ ez2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y17-20020a17090322d100b0017f5dfeb82dsi8872501plg.201.2022.10.05.04.27.14; Wed, 05 Oct 2022 04:27:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229588AbiJEKwJ (ORCPT + 99 others); Wed, 5 Oct 2022 06:52:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbiJEKwI (ORCPT ); Wed, 5 Oct 2022 06:52:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71B1E2BB3B for ; Wed, 5 Oct 2022 03:52:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1065461632 for ; Wed, 5 Oct 2022 10:52:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E75DDC433C1; Wed, 5 Oct 2022 10:52:04 +0000 (UTC) From: Catalin Marinas To: Nathan Chancellor , Mark Rutland , Will Deacon Cc: patches@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH -next] arm64: alternatives: Use vdso/bits.h instead of linux/bits.h Date: Wed, 5 Oct 2022 11:52:02 +0100 Message-Id: <166496711025.2001365.13537270365184186055.b4-ty@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221003193759.1141709-1-nathan@kernel.org> References: <20221003193759.1141709-1-nathan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 3 Oct 2022 12:37:59 -0700, Nathan Chancellor wrote: > When building with CONFIG_LTO after commit ba00c2a04fa5 ("arm64: fix the > build with binutils 2.27"), the following build error occurs: > > In file included from arch/arm64/kernel/module-plts.c:6: > In file included from include/linux/elf.h:6: > In file included from arch/arm64/include/asm/elf.h:8: > In file included from arch/arm64/include/asm/hwcap.h:9: > In file included from arch/arm64/include/asm/cpufeature.h:9: > In file included from arch/arm64/include/asm/alternative-macros.h:5: > In file included from include/linux/bits.h:22: > In file included from include/linux/build_bug.h:5: > In file included from include/linux/compiler.h:248: > In file included from arch/arm64/include/asm/rwonce.h:71: > include/asm-generic/rwonce.h:67:9: error: expected string literal in 'asm' > return __READ_ONCE(*(unsigned long *)addr); > ^ > arch/arm64/include/asm/rwonce.h:43:16: note: expanded from macro '__READ_ONCE' > asm volatile(__LOAD_RCPC(b, %w0, %1) \ > ^ > arch/arm64/include/asm/rwonce.h:17:2: note: expanded from macro '__LOAD_RCPC' > ALTERNATIVE( \ > ^ > > [...] Applied to arm64 (for-next/core), thanks! [1/1] arm64: alternatives: Use vdso/bits.h instead of linux/bits.h https://git.kernel.org/arm64/c/d2995249a2f7 -- Catalin