[PATCH] arm64: gic: increase the number of IRQ descriptors

Shanker Donthineni sdonthineni at nvidia.com
Tue Jan 3 18:35:06 PST 2023


Hi,

On 1/3/23 19:22, Shanker Donthineni wrote:
> The default value of NR_IRQS is not sufficient to support GICv4.1
> features and ~64K LPIs. This parameter would be too small for certain
> server platforms where it has many IO devices and is capable of
> direct injection of vSGI and vLPI features.
> 
> Currently, maximum of 64 + 8192 (IRQ_BITMAP_BITS) IRQ descriptors
> are allowed. The vCPU creation fails after reaching count ~400 with
> kvm-arm.vgic_v4_enable=1.
> 
> This patch increases NR_IRQS to 1^19  to cover 64K LPIs and 262144
> vSGIs (16K vPEs x 16).

Sorry, created a patch from the wrong kernel branch.
Please review v2 patch.



More information about the linux-arm-kernel mailing list