[PATCH] Revert "irqchip/riscv-imsic: Embed the vector array in lpriv"

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Mon Jan 19 06:21:28 PST 2026


Hello:

This patch was applied to riscv/linux.git (fixes)
by Thomas Gleixner <tglx at kernel.org>:

On Tue, 23 Dec 2025 20:05:44 +0530 you wrote:
> The __alloc_percpu() fails when the number of IDs are greater than 959
> because size parameter of __alloc_percpu() must be less than 32768 (aka
> PCPU_MIN_UNIT_SIZE). This failure is observed with KVMTOOL when AIA is
> trap-n-emulated by in-kernel KVM because in this case KVM guest has 2047
> interrupt IDs.
> 
> To address this issue, don't embed vector array in struct imsic_local_priv
> until __alloc_percpu() support size parameter greater than 32768.
> 
> [...]

Here is the summary with links:
  - Revert "irqchip/riscv-imsic: Embed the vector array in lpriv"
    https://git.kernel.org/riscv/c/a33d16dc874a

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-riscv mailing list