Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6856097rdb; Fri, 15 Dec 2023 10:02:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLQGiV0EFporkWWGHtj/WnsvB4RS9/7nJFsDdNQB0KMgWxYONdbeOv2SfQgVJcdPJD3yJZ X-Received: by 2002:a05:6a21:3298:b0:18f:97c:926b with SMTP id yt24-20020a056a21329800b0018f097c926bmr8115921pzb.80.1702663320800; Fri, 15 Dec 2023 10:02:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702663320; cv=none; d=google.com; s=arc-20160816; b=Y3l+V73jNsSDWgsPTvVhu9QtgtafRkOkeKaYWCWipJEL8QHf+rbeFOvOZKJW5nzPuF Benhq4GdQXd6+2GhUUoqKgbzb4oLJOpULHETiFXN7l00MU3gbZtFMkvcoLOLpxORgT33 iARosy75GZqsNjdvzurdZC/pizAxPMyRyTvwJLyDnLPdMloqpCEofS/OzuczraWVWLMV yeZIBULBa2+Ss7kmb2uyMbEkUcWXhDhLkVFWivN1TnNmfXsMRb47T85yFewMZxoLv+Us sgiE/r5Rvixtp4dYkSSbodlHwMp93IM9nRIlEnMBj7lRaDeWZHQIRvVtSFAjDP5EZalQ 07FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=3EY7t+VpIFRNB7vae25DDKYUJUpMjopaGMny8HDyb8Y=; fh=Uk9/QblkifFOcPBhjn5pysGXVvPcxN944ob1zG+1DxM=; b=XXbQx55lggOXXyNuZySRAjiHOsJDNCK02X5J6Y8okl8mstAkTONht8lJ5AMMPMJGw5 vnICjmyPYGvbnPC2A1qjrjZH2gPqK85Z4GPutgplyBnP9HH+ADaSVOfgqIXqTHL/3ZOH ZzLA+D/FAzyXzhZy6qVbfYZDr4Qc58uE6L06/uVoh+tmM9JKDCP7FHVaR/YegdAzpamq nDREErS70dnbtKDlYjYHENSRc3XJ0EH1NWodtQUe922IYoXgUmG3NBx64D1oCOJ/7U/d aeylqCmWGeGkB4FmiupwjwUdxITdJYEcJAApNwq6f3626TGoywXDJPtoZXqHVpRBv9IZ NBww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-1494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1494-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id t13-20020a056a00138d00b006b7560385efsi13707020pfg.203.2023.12.15.10.02.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 10:02:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-1494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1494-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4EAC6B23287 for ; Fri, 15 Dec 2023 17:59:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 481D53C6AC; Fri, 15 Dec 2023 17:57:15 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3717545BFE; Fri, 15 Dec 2023 17:57:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ECCDFC15; Fri, 15 Dec 2023 09:57:57 -0800 (PST) Received: from e127643.broadband (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B182E3F738; Fri, 15 Dec 2023 09:57:10 -0800 (PST) From: James Clark To: linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-next@vger.kernel.org, will@kernel.org, u.kleine-koenig@pengutronix.de, mark.rutland@arm.com Cc: James Clark , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Suzuki K Poulose , Anshuman Khandual , linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: [PATCH v2 0/1] arm: perf: Fix ARCH=arm build with GCC Date: Fri, 15 Dec 2023 17:56:47 +0000 Message-Id: <20231215175648.3397170-1-james.clark@arm.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changes since V1: * Instead of wrapping everything in #if, just use GENMASK_ULL instead which fixes both issues in one commit. A fix for the broken build with GCC currently in linux-next (next-20231214) James Clark (1): arm: perf: Fix ARCH=arm build with GCC include/linux/perf/arm_pmuv3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.34.1