From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6445CC001DC for ; Sun, 25 Jun 2023 23:20:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229770AbjFYXUc (ORCPT ); Sun, 25 Jun 2023 19:20:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229636AbjFYXU1 (ORCPT ); Sun, 25 Jun 2023 19:20:27 -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 1F1F8E4E for ; Sun, 25 Jun 2023 16:20:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 88C9760C56 for ; Sun, 25 Jun 2023 23:20:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id E3217C433CD; Sun, 25 Jun 2023 23:20:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687735224; bh=i5xRLAe5dg791RInG06iVVdKNk+C04r6Q3jjBplkE7g=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=KqZV83V7MkY57HGYdKzKvFoB7+9DQ011FaJH5XFY6q/Xa9t69E5EUX//3vmNPnnbK SywtzZnLthOoWD+rpUFLVi4vE1nqAOf6TMeZ9i0QD7XinCMeVHD38xv2dLQrb6W2zX I0tAE8jdg6qH2iAh5+TQJw+MKVvf5r/oSSyLaJZueT+G3PiA5eVYS/Hw/1MbG7JjqS UhqWnPv+pDjP8tD9WLrksPRaaCVUJvVMNs770xmGVDP2WN0m4bsHYbFBy1XfMycNka Qr0n3SYJtq9tMrGnN+zz3nuhGRrRCBIBxqSeL0QJq7BE69PksXGphOkYTeEihneedT 4w0Qj3I7XgTfg== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id CA37CC43157; Sun, 25 Jun 2023 23:20:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v3 1/1] perf: RISC-V: Limit the number of counters returned from SBI From: patchwork-bot+linux-riscv@kernel.org Message-Id: <168773522382.24181.12828652442172753351.git-patchwork-notify@kernel.org> Date: Sun, 25 Jun 2023 23:20:23 +0000 References: <20230505072058.1049732-1-v.v.mitrofanov@yadro.com> In-Reply-To: <20230505072058.1049732-1-v.v.mitrofanov@yadro.com> To: Viacheslav Mitrofanov Cc: linux-riscv@lists.infradead.org, linux@yadro.com, ajones@ventanamicro.com, atishp@rivosinc.com, atishp@atishpatra.org, anup@brainfault.org, will@kernel.org, mark.rutland@arm.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Fri, 5 May 2023 07:20:57 +0000 you wrote: > Perf gets the number of supported counters from SBI. If it happens that > the number of returned counters more than RISCV_MAX_COUNTERS the code > trusts it. It does not lead to an immediate problem but can potentially > lead to it. Prevent getting more than RISCV_MAX_COUNTERS from SBI. > > Signed-off-by: Viacheslav Mitrofanov > Reviewed-by: Andrew Jones > Reviewed-by: Atish Patra > > [...] Here is the summary with links: - [v3,1/1] perf: RISC-V: Limit the number of counters returned from SBI https://git.kernel.org/riscv/c/ee95b88d71b9 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html