Re: [PATCH v5] irqchip/riscv-imsic: Adjust the number of available guest irq files
From: patchwork-bot+linux-riscv
Date: Thu Feb 19 2026 - 23:14:40 EST
Hello:
This patch was applied to riscv/linux.git (fixes)
by Anup Patel <anup@xxxxxxxxxxxxxx>:
On Sun, 4 Jan 2026 21:34:57 +0800 you wrote:
> Currently, KVM assumes the minimum of implemented HGEIE bits and
> "BIT(gc->guest_index_bits) - 1" as the number of guest files available
> across all CPUs. This will not work when CPUs have different number
> of guest files because KVM may incorrectly allocate a guest file on a
> CPU with fewer guest files.
>
> To address above, during initialization, calculate the number of
> available guest interrupt files according to MMIO resources and
> constrain the number of guest interrupt files that can be allocated
> by KVM.
>
> [...]
Here is the summary with links:
- [v5] irqchip/riscv-imsic: Adjust the number of available guest irq files
https://git.kernel.org/riscv/c/376e2f8cca28
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html