From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 08 Apr 2014 08:58:19 +0200 (CEST) Received: from elvis.franken.de ([193.175.24.41]:51930 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6822096AbaDHG6LhPes1 (ORCPT ); Tue, 8 Apr 2014 08:58:11 +0200 Received: from uucp (helo=solo.franken.de) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1WXPz1-0007XY-00; Tue, 08 Apr 2014 08:58:11 +0200 Received: by solo.franken.de (Postfix, from userid 1000) id 5E74C1BB731; Tue, 8 Apr 2014 08:53:06 +0200 (CEST) Date: Tue, 8 Apr 2014 08:53:06 +0200 From: Thomas Bogendoerfer To: "Maciej W. Rozycki" Cc: Ralf Baechle , linux-mips@linux-mips.org Subject: Re: [PATCH] DEC/SNI: O32 wrapper stack switching fixes Message-ID: <20140408065306.GA23935@alpha.franken.de> References: <20140407221920.GA9418@alpha.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 39694 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: tsbogend@alpha.franken.de Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On Tue, Apr 08, 2014 at 12:05:06AM +0100, Maciej W. Rozycki wrote: > That is rather dangerous, if you do not dare debugging this yourself, can > you build arch/mips/mm/page.c with -DDEBUG somehow so that it dumps the I didn't get that to work :-( > machine code generated by these two helpers and we can see what's going on > here and maybe where the overflow is? but adding more info to the debug message showed it's a simm field overflow. It didn't like uasm_i_lui(&buf, AT, 0xa000); which is only created for R4600 rev 2.0 CPUs. Will send a fix for that. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]