Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5395069rdb; Wed, 13 Dec 2023 07:32:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IHy0OdGQVV7AeTXeduOsFytsvAKHSswIKoyFQASPk9+KoQu4AR6aq9nC49iO7I1egeumWOF X-Received: by 2002:a17:90a:ba8e:b0:286:9d31:1a10 with SMTP id t14-20020a17090aba8e00b002869d311a10mr6145583pjr.61.1702481547650; Wed, 13 Dec 2023 07:32:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702481547; cv=none; d=google.com; s=arc-20160816; b=nIj19MjzU9Yra0E57Srt/hXz4xUAoctsKZUqZpDCaT6H2/z5RIqDql6cmYXpA3pY6x LZRM3e8uqgZv7qPwqbaycYrq/mgX+1/PNYhKHbKzNWchhez+rXgxPqX/VOVsRdcOD/8V q7HKJTDJQXesIzs+4zFa4zrfTrNqZBjqfvFQY2Ix12/xxGxSgHneZxXo/onzMDQbBTWg 5bhw6hcKZ7rSY9On2IUWy/WfJcB51T0xfimK3OYzdfjeZqo2ZMbV1AZ9QP4ymJ4ka3Ni xtrqk97uHaWTwH+FrVSMdn16TzEvC8w2U+liH6Ss53HJwrz2CEpP9eV1wk2Hrd+k0Ett 5brA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=65SVUk0OBoc/RbTUxalOpmJXslFSLEML1p5+kcOc+To=; fh=GR5iy87qPRWGLyLYSvIrQ+GFyZtBwu21RaOGsbz5nHA=; b=OAvp5ATDT4HZ21S34C7qZ+hYjVIP5YeXZCY8z/8pJJnUQwx4BUt20LbonBXl8Hd2Kl a/RualUC5v6r6MFpOEwz1+HOMRl7B/yNf4o61CzsW2IfF5myKxvNm0thJUGaNHSNQS2n ZgSXfwilZ4K/fq50jaGMjbtgK7Ap7tVocPV1pBZx4L020CyHOBUxIMjj80wdo4sm7Eln pBPe4jGuCjq9qQPu51XfFmB75MC1UNWwja35jNmBC1H/3xl4BdSZU5nZxMO8VmJ+Dwvr u0hF4DEklDgY5i6p2pqGCh2RIQeKjpO/1WOrbdgetb1RXebgH+auHfBAVSrfGBWv9b1f 1GSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pB1wmD1H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id q24-20020a17090aa01800b0028aea7a9f5csi888296pjp.68.2023.12.13.07.32.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 07:32:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pB1wmD1H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 3DDEF8275361; Wed, 13 Dec 2023 07:32:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442201AbjLMPbv (ORCPT + 99 others); Wed, 13 Dec 2023 10:31:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442184AbjLMPbb (ORCPT ); Wed, 13 Dec 2023 10:31:31 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55CBE358B for ; Wed, 13 Dec 2023 07:27:37 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1AF6CC433C7; Wed, 13 Dec 2023 15:27:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702481256; bh=GwC9beP1ZtHS6nJCGyO7jEKsu1mwjiMJgVNMTsy1Ks0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pB1wmD1H5k4eUMa3eMWOpaiXH2CEzZbEGWVtAw8BWDZslmG4E31qLvtQ+Aj9fAgaN Em8i13DUbC/Y5UiOVi8WMmEHynRSF6uKag1V0bVdlB1c4em9HW4rPtnqmt8W0UaGu1 rGFLFLK/BDA4PGAxkH9ZDy32YKiRy6b8adWSXZeYofHoXYylvDiEEnXu7w9cDf4r/r Rsq6ZvDWbV+KmsTgI4SQrsDHQo0vqvDyrP067y19dWebJEacztjqjFxLPfBKJaRylL wuWOpmsNLO78Tg2rWtZfGB003DrP9+6xTmdwC5O2Nj9OT5qX897/VEogfhdLgMRB5d ol3p8E8sQOW6A== Date: Wed, 13 Dec 2023 15:27:25 +0000 From: Conor Dooley To: Yu Chien Peter Lin Cc: acme@kernel.org, adrian.hunter@intel.com, ajones@ventanamicro.com, alexander.shishkin@linux.intel.com, andre.przywara@arm.com, anup@brainfault.org, aou@eecs.berkeley.edu, atishp@atishpatra.org, conor+dt@kernel.org, conor.dooley@microchip.com, devicetree@vger.kernel.org, dminus@andestech.com, evan@rivosinc.com, geert+renesas@glider.be, guoren@kernel.org, heiko@sntech.de, irogers@google.com, jernej.skrabec@gmail.com, jolsa@kernel.org, jszhang@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-sunxi@lists.linux.dev, locus84@andestech.com, magnus.damm@gmail.com, mark.rutland@arm.com, mingo@redhat.com, n.shubin@yadro.com, namhyung@kernel.org, palmer@dabbelt.com, paul.walmsley@sifive.com, peterz@infradead.org, prabhakar.mahadev-lad.rj@bp.renesas.com, rdunlap@infradead.org, robh+dt@kernel.org, samuel@sholland.org, sunilvl@ventanamicro.com, tglx@linutronix.de, tim609@andestech.com, uwu@icenowy.me, wens@csie.org, will@kernel.org, ycliang@andestech.com, inochiama@outlook.com Subject: Re: [PATCH v5 07/16] RISC-V: Move T-Head PMU to CPU feature alternative framework Message-ID: <20231213-prewar-poison-f2781b4a6e84@spud> References: <20231213070301.1684751-1-peterlin@andestech.com> <20231213070301.1684751-8-peterlin@andestech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6EDO+odeQnJiNPoS" Content-Disposition: inline In-Reply-To: <20231213070301.1684751-8-peterlin@andestech.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 13 Dec 2023 07:32:12 -0800 (PST) --6EDO+odeQnJiNPoS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 13, 2023 at 03:02:52PM +0800, Yu Chien Peter Lin wrote: > The custom PMU extension aims to support perf event sampling prior > to the ratification of Sscofpmf. Instead of diverting the bits and > register reserved for future standard, a set of custom registers is > added. Hence, we may consider it as a CPU feature rather than an > erratum. >=20 > T-Head cores need to append "xtheadpmu" to the riscv,isa-extensions > for each cpu node in device tree, and enable CONFIG_THEAD_CUSTOM_PMU > for proper functioning as of this commit. >=20 > Signed-off-by: Yu Chien Peter Lin > Reviewed-by: Guo Ren Reviewed-by: Conor Dooley Cheers, Conor. --6EDO+odeQnJiNPoS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZXnNXQAKCRB4tDGHoIJi 0owVAQCDfvO17i3JMSLu4ZZtfXLzMJWq4FB1/1qravLNyzJJvgEAi3b0Zqg0JhQ4 v8v858Iyqz0gSua8loF9qO9ppCpUpgQ= =cK86 -----END PGP SIGNATURE----- --6EDO+odeQnJiNPoS--