Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Subject: Re: [PATCH] DEC/SNI: O32 wrapper stack switching fixes
Date: Tue, 8 Apr 2014 08:53:06 +0200	[thread overview]
Message-ID: <20140408065306.GA23935@alpha.franken.de> (raw)
In-Reply-To: <alpine.LFD.2.11.1404072347230.26128@eddie.linux-mips.org>

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 ]

  reply	other threads:[~2014-04-08  6:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-31 23:14 [PATCH] DEC/SNI: O32 wrapper stack switching fixes Maciej W. Rozycki
2014-04-07 22:19 ` Thomas Bogendoerfer
2014-04-07 23:05   ` Maciej W. Rozycki
2014-04-08  6:53     ` Thomas Bogendoerfer [this message]
2014-04-08 11:25       ` Maciej W. Rozycki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140408065306.GA23935@alpha.franken.de \
    --to=tsbogend@alpha.franken.de \
    --cc=linux-mips@linux-mips.org \
    --cc=macro@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox