Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp447318lqb; Thu, 14 Mar 2024 16:38:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXfLxSRDIyDiyufe/REGjuwm6kKv2WsIwIdseTnBqJiNpXTURZzCeMFqG+PyOBdGJnnJWNkuwNK8y7cuG4oTAYm8ARQVE08efWx1RwJUw== X-Google-Smtp-Source: AGHT+IGJ/GWkh4H47HNQMw2wGLM3cDvFUQnJN6xFfD7xAMRob46uSrWUv2BnqAWzDExtYy0+9CMu X-Received: by 2002:a17:906:f894:b0:a46:3ce4:5acb with SMTP id lg20-20020a170906f89400b00a463ce45acbmr2259913ejb.75.1710459538450; Thu, 14 Mar 2024 16:38:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710459538; cv=pass; d=google.com; s=arc-20160816; b=IPO7hEj7fm5CMSRPhViKETHrT0KAtRDnjJg/eAIWqY54/BrmEUpHO73St04ZcIKlLj Qd8MUUciey7pwsbHGOSqJDAB6+u1S0xjOxAvAVKbYMS85V4VJV+uBAuTSS7StgEzPdVJ 5T2hAG1Wrdy1/a1Y/KFoEwVpen58bfchAqW0Owucq7XYIqVHxskuHKxu6Z3pnhceGwd2 1YyC5fBatYfQ+bY2KUjNiFSyCYphqbIQOPfAyVjhr9Mt8hRDE67pKz3OT3CqiPAW8bcs N668Vwf+QWsJWclCKvwNFPyIomFnBjjRAjndhGljlKVr5VoU8s7umR+Uj/ttniGWv6TK GTUQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:subject:cc:to:from:date:dkim-signature; bh=OsxHWr7icc+V61IambhZDA5GJm7mXenCqBWEO974Dxo=; fh=8X+Kf9l/R9Ox4ER4tmqkCtcsPfMijeeNbGjaIce7ZU0=; b=mREkVUkz942LuU/N4BA1PVieoUfKWCCTsOzIXNTXSO1UGqQJhESDHqd48bdMx5c97m skk7/0MULWCOwFVSRgqsNp0Hnx5ydLW6qOeO1gCvbkZHSt6OnMm6TVD5uMS08gGCceDJ L1lN5pRwRbJqV51c3G8lKGhoLEFZtQccZsou0OQ63em9Tn8BSoL3t3gdM9IM52mDVuc8 nSTcffV0C6aSXG80Thv70vLNGHOobQbRrXOX7RgFhpOLjAfpCLUpN5bN6yBBzY2ED5rD KEKgVPamM7crKYZ3UTm44IKbapI2KtczpOGwD4oNCboNCunaqVVz6jlsdRMevutnGpDF DqLw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=rj6V2IbB; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-103911-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103911-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r17-20020a170906351100b00a45fbbbcdddsi1167226eja.862.2024.03.14.16.38.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 16:38:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103911-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=rj6V2IbB; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-103911-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103911-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au 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 am.mirrors.kernel.org (Postfix) with ESMTPS id D89081F22D35 for ; Thu, 14 Mar 2024 23:37:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC1D412B77; Thu, 14 Mar 2024 23:32:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="rj6V2IbB" Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84100FC12; Thu, 14 Mar 2024 23:31:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710459119; cv=none; b=UlXvprpfMY56wRHfUhPMmR26p1SuHTVJXSTzmK3tIWaFgrEFKrMnhg1D/ykz+ePG/8ev1h70WIdJJt6e2cKBWMBKHb3vNwkQqrC0hgvaag0PNaV7WfZNxqLynS95TgCEqke8WX4GVYx6Cs65jxsF1XGt4ZaKRa5Ycvjem7IJbaQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710459119; c=relaxed/simple; bh=/Nxif6wGy3TdqcKi0V6sODJjV6iwo1AjewdOxFWtHpc=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=Bt8Fms0/qoyjboZ/rX6UGYJEyOIp8FnbRibHzquV+eV46FxU9MkOaJuU+cpgj/FEXDbWDbQ6uPmaD784AhMyxKYowB7SPhSkjkpC4lndMJa6TC6MzKYLfNo3I+2s+JzbJLErqGBIORItQJ9XxntqC7FRO1s+KANbY+ZrhXcVrVw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=rj6V2IbB; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1710459112; bh=OsxHWr7icc+V61IambhZDA5GJm7mXenCqBWEO974Dxo=; h=Date:From:To:Cc:Subject:From; b=rj6V2IbBsDcQiHd42yhkJDEHLzlDREQK+jDBvpuYifhvIzLeUs1XgLYEDyyRPjJ+k Mh/NBxRr/9pNErqSc2NC+rqMGsPe7bfYG8ChHn/tDIo1FafcjXAUbuqcN7LobMyAgi a0RbfRtkFMebBIFZ9kuImjUjglxG+6950Mv0Ucqmh15zoHvg/AAq6maoo59XMm8AT0 lSr96BFBb+w9KA8B/HFfYhA/2jUPPUtnUTDBGWkoMTrB6arykvayAx7/+aq2SNl0Bn 1EF4Jv68fsUuois0p9U/bIg4ugSHATZEEPC2E/yNo8bnv18QnRo7uvcPH4HqLrYveX koFjhYNYFAdvw== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4TwkDN3Mqkz4wcR; Fri, 15 Mar 2024 10:31:48 +1100 (AEDT) Date: Fri, 15 Mar 2024 10:31:46 +1100 From: Stephen Rothwell To: Palmer Dabbelt , Paul Walmsley , Catalin Marinas , Will Deacon Cc: Ji Sheng Teoh , Linux Kernel Mailing List , Linux Next Mailing List , Locus Wei-Han Chen , Palmer Dabbelt , Yu Chien Peter Lin Subject: linux-next: manual merge of the risc-v tree with the arm64 tree Message-ID: <20240315103146.225b653b@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/gIl4xHy/dJKTUfoTHBkA85/"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/gIl4xHy/dJKTUfoTHBkA85/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the risc-v tree got a conflict in: drivers/perf/Kconfig between commits: c2b24812f7bc ("perf: starfive: Add StarLink PMU support") f0dbc6d0de38 ("perf: starfive: Only allow COMPILE_TEST for 64-bit archite= ctures") from the arm64 tree and commit: bc969d6cc96a ("perf: RISC-V: Introduce Andes PMU to support perf event sa= mpling") from the risc-v tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc drivers/perf/Kconfig index 004d86230aa6,564e813d8c69..000000000000 --- a/drivers/perf/Kconfig +++ b/drivers/perf/Kconfig @@@ -86,15 -86,20 +86,29 @@@ config RISCV_PMU_SB full perf feature support i.e. counter overflow, privilege mode filtering, counter configuration. =20 +config STARFIVE_STARLINK_PMU + depends on ARCH_STARFIVE || (COMPILE_TEST && 64BIT) + bool "StarFive StarLink PMU" + help + Provide support for StarLink Performance Monitor Unit. + StarLink Performance Monitor Unit integrates one or more cores with + an L3 memory system. The L3 cache events are added into perf event + subsystem, allowing monitoring of various L3 cache perf events. + + config ANDES_CUSTOM_PMU + bool "Andes custom PMU support" + depends on ARCH_RENESAS && RISCV_ALTERNATIVE && RISCV_PMU_SBI + default y + help + The Andes cores implement the PMU overflow extension very + similar to the standard Sscofpmf and Smcntrpmf extension. +=20 + This will patch the overflow and pending CSRs and handle the + non-standard behaviour via the regular SBI PMU driver and + interface. +=20 + If you don't know what to do here, say "Y". +=20 config ARM_PMU_ACPI depends on ARM_PMU && ACPI def_bool y --Sig_/gIl4xHy/dJKTUfoTHBkA85/ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmXziOIACgkQAVBC80lX 0GzVjAgAn1ru/3poCYZFZ2tb7LNWXVfVrvHM1ggEk7g6NnxF8l7EzluWG8lrD5VZ jhlGWtzCR6lPG+c6o267JwZfhAtuQy2XKFq6NYV7RUZR+WVXOgBlF0hA8EtcBNj/ 2Jc1QVJk/xqhUoFfTvEZKqXahB3DKonlAEhs1moDi61TNP8w714B7UN66Wx+WP9l zhJwJEmxETxjQ4kHOCrQlNIKuK8Q48a7RDsnNKLki7PlRvw4kBDOFrjrxqvtuJdt xjBFkYGxxZdt3Win4gJXKdQ0aHjj1iEnBLH4xNBrFx4//et6aArU7GD0ooolog8g 2IOJifoq05RTTGNmVjbbwvqeNwIctw== =sbyV -----END PGP SIGNATURE----- --Sig_/gIl4xHy/dJKTUfoTHBkA85/--