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

Re: [XenPPC] [PATCH] SMP/IPI/ERAT/MB combined


On Nov 9, 2006, at 8:04 PM, Amos Waterland wrote:

This patch rolls up and rebases the following patches for submission
against current tip of tree:

 * Memory barrier after sp store
 * Flush the ERAT early for secondary CPUs
 * SMP and IPI support

Signed-off-by: Amos Waterland <apw@xxxxxxxxxx>

So I applied this patch to the merge of:
  changeset:   12997:4589b3dec1fd
  tag:         tip

And it applied with one small reject that was easy to solve.

I also applied it to:
  changeset:   12469:b30cb72ed5e2

Which was the rev before Fridays big merge.

Good News:
On both I can run several domains, many more that I have physical CPUs with all sorts of VIO combos.

Bad News:
Testing on my JS21 with 4 CPUs, when I try to dump the registers for the xen console (after a ^A*3) I get:

(XEN) 'd' pressed -> dumping registers
(XEN)
(XEN) *** Dumping CPU0 state: ***
(XEN) ----[ Xen-3.0-unstable     ]----
(XEN) CPU: 00000000   DOMID: 00007fff
(XEN) pc 0000000000000000 msr 0000000000000000
(XEN) lr 0000000000000000 ctr 0000000000000000
(XEN) srr0 0000000000000000 srr1 0000000000000000
(XEN) r00: 0000000000000000 0000000000000000 000000000043c660 0000000000000000 (XEN) r04: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) r08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) r12: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) r16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) r20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) r24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) r28: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)
---> HANG for 3 minutes (wall clock)
(XEN) *** Dumping CPU1 state: ***
(XEN) IPI start stall: 0 ACKS to 1 SYNS
(XEN) IPI start stall: 0 ACKS to 1 SYNS
(XEN) IPI start stall: 0 ACKS to 1 SYNS

Oddly enough, If I boot with "sync_console" there is no HANG of any time.

Does this work for you?

Anyways, I cannot accept this patch if '^A*3 d' does not work, it is too important for development.

-JX


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

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