qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Blue Swirl" <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] sparc64 reverse cas and casx arguments
Date: Mon, 22 Sep 2008 19:20:07 +0300	[thread overview]
Message-ID: <f43fc5580809220920x5838a7d9y92f646d707b7df67@mail.gmail.com> (raw)
In-Reply-To: <b2fa41d60809211359n71475d07q97bf9ff4518f7eff@mail.gmail.com>

On 9/21/08, Igor Kovalenko <igor.v.kovalenko@gmail.com> wrote:
> Hi!
>
>  The following patch should fix a problem with sparc64 cas and casx
>  emulation where value to be stored and value to be compared are passed
>  in reverse order to helper function.
>
>  This also fixes a problem with booting linux iso where kernel tries to
>  clear memory bitmap bit with casx but fails to find any cleared bit
>  later.
>
>  Please apply.

Thanks for spotting. I think a cleaner solution would be to rearrange
the code so that the argument names match the instruction field names.

>  PS: if anyone can send me a patch for gdb to load and use System.map
>  file while doing remote debugging that would be great :)

I have usually compiled the kernel with -g flag and then used the
vmlinux file when debugging.

  reply	other threads:[~2008-09-22 16:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-21 20:59 [Qemu-devel] [PATCH] sparc64 reverse cas and casx arguments Igor Kovalenko
2008-09-22 16:20 ` Blue Swirl [this message]
2008-09-22 20:13   ` Igor Kovalenko

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=f43fc5580809220920x5838a7d9y92f646d707b7df67@mail.gmail.com \
    --to=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).