Skip to content

Commit ec105ca

Browse files
committed
LoongArch: Increase MAX_IO_PICS up to 8
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>
1 parent be216cb commit ec105ca

File tree

1 file changed

+1
-1
lines changed
  • arch/loongarch/include/asm

1 file changed

+1
-1
lines changed

arch/loongarch/include/asm/irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void spurious_interrupt(void);
5353
#define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace
5454
void arch_trigger_cpumask_backtrace(const struct cpumask *mask, int exclude_cpu);
5555

56-
#define MAX_IO_PICS 2
56+
#define MAX_IO_PICS 8
5757
#define NR_IRQS (64 + NR_VECTORS * (NR_CPUS + MAX_IO_PICS))
5858

5959
struct acpi_vector_group {

0 commit comments

Comments
 (0)