Patchwork [v7,01/10] hw/sysbus.h: Increase maximum number of device IRQs.

login
register
mail settings
Submitter Evgeny Voevodin
Date Jan. 16, 2012, 6:48 a.m.
Message ID <1326696515-6747-2-git-send-email-e.voevodin@samsung.com>
Download mbox | patch
Permalink /patch/136232/
State New
Headers show

Comments

Evgeny Voevodin - Jan. 16, 2012, 6:48 a.m.
Samsung exynos4210 Interrupt Combiner needs 512 IRQ sources.

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
---
 hw/sysbus.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
andrzej zaborowski - Jan. 17, 2012, 1:15 a.m.
On 16 January 2012 07:48, Evgeny Voevodin <e.voevodin@samsung.com> wrote:
> Samsung exynos4210 Interrupt Combiner needs 512 IRQ sources.

Thanks, I applied this patch and the second one reviewed by Peter
Maydell.  I haven't look at the other patches but on quick glance the
code formatting is still a little off in places.

Cheers

Patch

diff --git a/hw/sysbus.h b/hw/sysbus.h
index 899756b..7b8ca23 100644
--- a/hw/sysbus.h
+++ b/hw/sysbus.h
@@ -8,7 +8,7 @@ 
 
 #define QDEV_MAX_MMIO 32
 #define QDEV_MAX_PIO 32
-#define QDEV_MAX_IRQ 256
+#define QDEV_MAX_IRQ 512
 
 typedef struct SysBusDevice SysBusDevice;