From owner-freebsd-mips@FreeBSD.ORG Mon Apr 19 13:57:56 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B7A11065670; Mon, 19 Apr 2010 13:57:56 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 249048FC1D; Mon, 19 Apr 2010 13:57:55 +0000 (UTC) Received: by pwi9 with SMTP id 9so3449190pwi.13 for ; Mon, 19 Apr 2010 06:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=X0+Nktfte2nGnutTBr1AJ2Y9uF945Q8ycUrzKJa3+yg=; b=YRWsiYJnsWmbPPV5wxoqs7ODVg+6ncLQ8dfX/KBWlUGOpM5/BdJQt2Rhe54NWjEn2y AuDZYfBUB/CODMrtB2WuDhj2DTKjECqHbdzP0Xljt7qr5TILSBJRXcDRL0/tEwPPbqD/ hLMsJ/Iku3FX+rLqELQmTPFodl7OLzQFbZr6U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hOSZkItKmq3rdvVa19xNhpGldyczQjrjLwKvhHq/va4dVRSw3kVOwQeyMvdxazh60u /dYmD5j+ytiFgyek/IqFLeun7ijP96wtX8Pw/bsE/6UasR6HoNtMumbW4v+Wcq1RqekS FHwk8rj3t5eLs4G4jsJKbGBxdoerrYvttJ3nQ= MIME-Version: 1.0 Received: by 10.141.29.15 with HTTP; Mon, 19 Apr 2010 06:57:54 -0700 (PDT) In-Reply-To: <6BDB3874-D779-45A6-ABAE-4C331D78A189@lakerest.net> References: <544BD79C-24C0-4015-AE04-F7F8D70CF537@freebsd.org> <3BCD65EB-B997-449D-864C-CA24C7B19026@freebsd.org> <6BDB3874-D779-45A6-ABAE-4C331D78A189@lakerest.net> Date: Mon, 19 Apr 2010 19:27:54 +0530 Received: by 10.140.56.1 with SMTP id e1mr3987472rva.136.1271685474794; Mon, 19 Apr 2010 06:57:54 -0700 (PDT) Message-ID: From: "C. Jayachandran" To: Randall Stewart Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-mips@freebsd.org Subject: Re: SMP support for XLR processors. X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2010 13:57:56 -0000 On Mon, Apr 19, 2010 at 6:43 PM, Randall Stewart wrote: > JC I will give it a whirl.. > > There are other issues though... > > I tried with only 16 processors and a LOT of erratic things occur. > > I will apply your patch and then I am going to start > working on being able to bring up only 1 thread on each > core... > > I think some of the problems I am seeing are coming from threads > getting a bit cross with each other.. but I can't prove that > unless I can set the mask up > > 0x11111111 > > and right now when I try that we panic :-) I have a possible cause for the panic with invariants - we should not schedule the msgring threads unless the smp is completely up. I guess we start getting message ring interrupts on before the message ring threads can be scheduled. I am trying out some changes for this - will send you a patch if this fixes it. Thanks, JC.