WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] mpic reset

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] mpic reset
From: Amos Waterland <apw@xxxxxxxxxx>
Date: Tue, 10 Oct 2006 19:16:32 -0400
Cc: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>, Hollis Blanchard <hollisb@xxxxxxxxxx>
Delivery-date: Tue, 10 Oct 2006 16:16:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061010230100.GA8637@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20061010230100.GA8637@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
I don't see a definitive statement in the mpic spec.  Is it ok to reset
the mpic an arbitrary number of times, or even more than once, after
power on?  We are allowing dom0 to reset it at the moment ...


> diff -r b9e38b262f64 arch/powerpc/sysdev/mpic.c
> --- a/arch/powerpc/sysdev/mpic.c      Sun Oct 08 14:22:12 2006 -0400
> +++ b/arch/powerpc/sysdev/mpic.c      Tue Oct 10 18:10:53 2006 -0400
> @@ -619,6 +619,7 @@ struct mpic * __init mpic_alloc(unsigned
>       mpic->tmregs = mpic->gregs + ((MPIC_TIMER_BASE - MPIC_GREG_BASE) >> 2);
>       BUG_ON(mpic->gregs == NULL);
>  
> +#if 0
>       /* Reset */
>       if (flags & MPIC_WANTS_RESET) {
>               mpic_write(mpic->gregs, MPIC_GREG_GLOBAL_CONF_0,
> @@ -628,6 +629,7 @@ struct mpic * __init mpic_alloc(unsigned
>                      & MPIC_GREG_GCONF_RESET)
>                       mb();
>       }
> +#endif

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel

<Prev in Thread] Current Thread [Next in Thread>