From owner-freebsd-mips@FreeBSD.ORG Mon Jan 27 07:06:06 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20962CB1; Mon, 27 Jan 2014 07:06:06 +0000 (UTC) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7270A17A1; Mon, 27 Jan 2014 07:06:05 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id w7so4223507lbi.27 for ; Sun, 26 Jan 2014 23:06:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7OxZaQm47vimu6MI01OAWjkuYbLtLheC/4UQjaAUhA8=; b=WGaI+psmuDOGtR1+1A+czyxU31DTSWbOpPZXJcVGJcoEusYMrPuFEBcN6M/qfezPGE P5oSBvc1NCykHSjtR3nD74XgAA25m/eLUu7EHkEEkMgw+ytVnlO7/NY4VqeynPmatrrI nCLRiDsYohMreaXyF7tWDuYc82K2LfhnGeZXkR286NY4sKTUKgG5l0bvc5RGrtfQPOOm g8kSqcDirWI+TNpiCzVg69M3RTyGyBzVYpa32FPjGU0lBoCf8Z5QTKUR0LXZt+kbhePq F7toWa24C8xA0yOSSM7CbA5410SkNB1lgF2xcUZ8eOyS/NRfnEf0f4eWuE2J70VBu+8h wggQ== MIME-Version: 1.0 X-Received: by 10.152.143.41 with SMTP id sb9mr1328637lab.21.1390806363433; Sun, 26 Jan 2014 23:06:03 -0800 (PST) Received: by 10.112.234.166 with HTTP; Sun, 26 Jan 2014 23:06:03 -0800 (PST) In-Reply-To: References: <52E42A1B.3040907@rewt.org.uk> Date: Mon, 27 Jan 2014 12:36:03 +0530 Message-ID: Subject: Re: More trapframe panics From: "Jayachandran C." To: Juli Mallett Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-mips@freebsd.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jan 2014 07:06:06 -0000 Hi Juli, On Sun, Jan 26, 2014 at 3:36 AM, Juli Mallett wrote: > > This happens easily on 64-bit MIPS because due to slightly-crummy design > on our part there's proportionally less room on the stack than on a 32-bit > system. Several people have nebulous plans to address the problem of the > stack being too small, but I don't know of anyone intending concrete action > going forward. I had not seen the issue so far. When I had done the pmap changes ealier, I had thought of adding the option to use a higher order page for kernel stack and using the KSEG0 address as the stack pointer, instead of using the wired entry as we do now. Is there any reason this will not work. JC.