All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: r8a7795: Increase the size of GIC-400 mapped registers
@ 2016-04-19  6:29 ` Dirk Behme
  0 siblings, 0 replies; 26+ messages in thread
From: Dirk Behme @ 2016-04-19  6:29 UTC (permalink / raw)
  To: geert+renesas, linux-renesas-soc
  Cc: devicetree, julien.grall, Pooya Keshavarzi, Dirk Behme

From: Pooya Keshavarzi <Pooya.Keshavarzi@de.bosch.com>

There are some requirements about the GIC-400 memory layout and its
mapping if using 64k aligned base addresses like on r8a7795.

See e.g.

http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=21550029f709072aacf3b9

Map the whole memory range instead of only 0x2000. This will fix
the issue that some hypervisors, e.g. Xen, fail to handle the
interrupts correctly.

Signed-off-by: Pooya Keshavarzi <Pooya.Keshavarzi@de.bosch.com>
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
---
Note: This patch is against renesas-drivers-2016-04-12-v4.6-rc3

 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 8be9424..d880fd4 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -160,9 +160,9 @@
 			#address-cells = <0>;
 			interrupt-controller;
 			reg = <0x0 0xf1010000 0 0x1000>,
-			      <0x0 0xf1020000 0 0x2000>,
+			      <0x0 0xf1020000 0 0x20000>,
 			      <0x0 0xf1040000 0 0x20000>,
-			      <0x0 0xf1060000 0 0x2000>;
+			      <0x0 0xf1060000 0 0x20000>;
 			interrupts = <GIC_PPI 9
 					(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
 		};
-- 
2.8.0

^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2016-05-19  5:02 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-19  6:29 [PATCH] arm64: dts: r8a7795: Increase the size of GIC-400 mapped registers Dirk Behme
2016-04-19  6:29 ` Dirk Behme
2016-04-27 23:30 ` Simon Horman
2016-04-28  5:41   ` Dirk Behme
2016-04-28  5:41     ` Dirk Behme
2016-04-28 23:43     ` Simon Horman
2016-04-28 23:43       ` Simon Horman
2016-04-29 10:35       ` Marc Zyngier
2016-04-29 10:35         ` Marc Zyngier
2016-05-03 17:48         ` Dirk Behme
2016-05-03 17:48           ` Dirk Behme
2016-05-16  8:12           ` Simon Horman
2016-05-16  8:12             ` Simon Horman
2016-05-18  8:00             ` Dirk Behme
2016-05-18  8:04               ` Geert Uytterhoeven
2016-05-19  2:16               ` Simon Horman
2016-05-19  5:02                 ` Dirk Behme
     [not found] ` <1461047395-6532-1-git-send-email-dirk.behme-V5te9oGctAVWk0Htik3J/w@public.gmane.org>
2016-05-10 13:33   ` Geert Uytterhoeven
2016-05-10 13:33     ` Geert Uytterhoeven
2016-05-10 13:33     ` Geert Uytterhoeven
2016-05-10 14:17     ` Marc Zyngier
2016-05-10 14:17       ` Marc Zyngier
2016-05-10 15:29       ` Dirk Behme
2016-05-10 15:29         ` Dirk Behme
2016-05-10 16:03         ` Marc Zyngier
2016-05-10 16:03           ` Marc Zyngier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.