]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
LoongArch: Increase MAX_IO_PICS up to 8
authorHuacai Chen <chenhuacai@loongson.cn>
Sun, 30 Mar 2025 08:31:09 +0000 (16:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:36 +0000 (14:39 +0200)
commit0aa5d4370b5b667bb2d9f7224da46dfdb76a396f
treedbac4f2d1885049ec84773c19df0c3ae6ab79474
parent1d0def2d1658666ec1f32c9495df60e7411e3c82
LoongArch: Increase MAX_IO_PICS up to 8

commit ec105cadff5d8c0a029a3dc1084cae46cf3f799d upstream.

Begin with Loongson-3C6000, the number of PCI host can be as many as
8 for multi-chip machines, and this number should be the same for I/O
interrupt controllers. To support these machines we also increase the
MAX_IO_PICS up to 8.

Cc: stable@vger.kernel.org
Tested-by: Mingcong Bai <baimingcong@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/loongarch/include/asm/irq.h