[kernel][acpi] Increase max IRQs from 64 to 224.
On the threadripper 2970wx the kernel sees over 64 IRQs and panics.
Increase to 224 which is the max supported by LAPICS.
Test: ran on 2970wx, ran 'k ut all' on qemu x86.
Change-Id: I393b999ef7495fef868c1b4a49e11fe9cb6600d0
diff --git a/system/public/zircon/syscalls/pci.h b/system/public/zircon/syscalls/pci.h
index b97f1c3..3068a56 100644
--- a/system/public/zircon/syscalls/pci.h
+++ b/system/public/zircon/syscalls/pci.h
@@ -84,6 +84,10 @@
[ZX_PCI_MAX_FUNCTIONS_PER_DEVICE]
[ZX_PCI_MAX_LEGACY_IRQ_PINS];
+// We support up to 224 IRQs on a system, this is the maximum supported by
+// LAPICs (today) so this should be a safe number.
+#define ZX_PCI_MAX_IRQS 224
+
typedef struct zx_pci_init_arg {
zx_pci_irq_swizzle_lut_t dev_pin_to_global_irq;
@@ -92,7 +96,7 @@
uint32_t global_irq;
bool level_triggered;
bool active_high;
- } irqs[64];
+ } irqs[ZX_PCI_MAX_IRQS];
uint32_t addr_window_count;
struct {