Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Changelog
[xen-unstable] arm: Add a comment explaining the GICD writes in the GICC init function
 

Index | Next | Previous | View Flat


patchbot at xen

Mar 14, 2012, 5:33 AM


Views: 43
Permalink
[xen-unstable] arm: Add a comment explaining the GICD writes in the GICC init function

# HG changeset patch
# User Tim Deegan <tim [at] xen>
# Date 1331651453 0
# Node ID 0cc21e35cbdd66a2b16dccb7f51612fa20b0c79f
# Parent cc1225c9690c89fae4622dcaf0fc01ce89546a32
arm: Add a comment explaining the GICD writes in the GICC init function

Signed-off-by: Tim Deegan <tim [at] xen>
Committed-by: Ian Campbell <ian.campbell [at] citrix>
---


diff -r cc1225c9690c -r 0cc21e35cbdd xen/arch/arm/gic.c
--- a/xen/arch/arm/gic.c Tue Mar 13 15:10:52 2012 +0000
+++ b/xen/arch/arm/gic.c Tue Mar 13 15:10:53 2012 +0000
@@ -224,7 +224,9 @@
{
int i;

- /* Disable all PPI and enable all SGI */
+ /* The first 32 interrupts (PPI and SGI) are banked per-cpu, so
+ * even though they are controlled with GICD registers, they must
+ * be set up here with the other per-cpu state. */
GICD[GICD_ICENABLER] = 0xffff0000; /* Disable all PPI */
GICD[GICD_ISENABLER] = 0x0000ffff; /* Enable all SGI */
/* Set PPI and SGI priorities */

_______________________________________________
Xen-changelog mailing list
Xen-changelog [at] lists
http://lists.xensource.com/xen-changelog

Subject User Time
[xen-unstable] arm: Add a comment explaining the GICD writes in the GICC init function patchbot at xen Mar 14, 2012, 5:33 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.