Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2014 11:41:04 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r267389 - head/sys/arm/arm
Message-ID:  <201406121141.s5CBf474096950@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: br
Date: Thu Jun 12 11:41:04 2014
New Revision: 267389
URL: http://svnweb.freebsd.org/changeset/base/267389

Log:
  Activate IRQ 30 (non-secure private timer IRQ) for case we are running
  in non-secure state.

Modified:
  head/sys/arm/arm/gic.c

Modified: head/sys/arm/arm/gic.c
==============================================================================
--- head/sys/arm/arm/gic.c	Thu Jun 12 11:37:38 2014	(r267388)
+++ head/sys/arm/arm/gic.c	Thu Jun 12 11:41:04 2014	(r267389)
@@ -166,8 +166,9 @@ gic_init_secondary(void)
 	/* Enable interrupt distribution */
 	gic_d_write_4(GICD_CTLR, 0x01);
 
-	/* Activate IRQ 29, ie private timer IRQ*/
+	/* Activate IRQ 29-30, ie private timer (secure & non-secure) IRQs */
 	gic_d_write_4(GICD_ISENABLER(29 >> 5), (1UL << (29 & 0x1F)));
+	gic_d_write_4(GICD_ISENABLER(30 >> 5), (1UL << (30 & 0x1F)));
 }
 
 static int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406121141.s5CBf474096950>