1
From 9ed345079d30adb7bd5964e91eb9542f6514c8de Mon Sep 17 00:00:00 2001
2
From: Peter Maydell <peter.maydell@linaro.org>
3
Date: Mon, 18 Feb 2013 16:58:34 +0000
4
Subject: [PATCH 62/70] hw/omap_intc.c: Don't complain about nonexistent
7
The Linux omap kernel now deliberately reads from the nonexistent register
8
at 0xf8, which only exists on ti816x, because it knows that on omap2 and
9
omap3 this will read as zero. Handle it that way (ie suppress qemu's
10
complaint about read of a bad register), since otherwise the omap3
11
model has so many warnings it is unusable.
13
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
15
hw/intc/omap_intc.c | 6 +++++-
16
1 file changed, 5 insertions(+), 1 deletion(-)
18
diff --git a/hw/intc/omap_intc.c b/hw/intc/omap_intc.c
19
index 7dd63da..6cbb259 100644
20
--- a/hw/intc/omap_intc.c
21
+++ b/hw/intc/omap_intc.c
22
@@ -414,7 +414,11 @@ static uint64_t omap2_inth_read(void *opaque, hwaddr addr,
24
bank = &s->bank[bank_no];
27
+ /* Linux reads the nonexistent interrupt status register at 0xf8
28
+ * every time through its interrupt handler, so don't actually
29
+ * warn about it because it swamps the console with output.
31
+ /* OMAP_BAD_REG(addr); */