hw/core/or-irq: Increase limit of or-lines to 48
authorGuenter Roeck <linux@roeck-us.net>
Thu, 23 Jan 2020 15:22:41 +0000 (15:22 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 23 Jan 2020 16:34:15 +0000 (16:34 +0000)
Exynos DMA requires up to 33 interrupt lines (32 event interrupts
plus abort interrupt), which all need to be wired together. Increase
the maximum number of or-irq lines to 48 to support this configuration.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Message-id: 20200123052540.6132-3-linux@roeck-us.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
include/hw/or-irq.h

index 3a3230dd844f4e90106dda36ff971a2d51e2c943..0038bfbe3d643bee26837500a42fd9d02b9140e1 100644 (file)
@@ -33,7 +33,7 @@
 /* This can safely be increased if necessary without breaking
  * migration compatibility (as long as it remains greater than 15).
  */
-#define MAX_OR_LINES      32
+#define MAX_OR_LINES      48
 
 typedef struct OrIRQState qemu_or_irq;