Re: [PATCH v3 1/1] perf: RISC-V: Limit the number of counters returned from SBI

From: patchwork-bot+linux-riscv
Date: Sun Jun 25 2023 - 19:20:34 EST


Hello:

This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:

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 <v.v.mitrofanov@xxxxxxxxx>
> Reviewed-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>
> Reviewed-by: Atish Patra <atishp@xxxxxxxxxxxx>
>
> [...]

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