qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] SPARC64: immediate segfault on startup with git mastervery
Date: Sun, 18 Mar 2012 12:31:32 +0200	[thread overview]
Message-ID: <4F65B984.9040501@redhat.com> (raw)
In-Reply-To: <CAAu8pHt6DjdtumFDT2+SoyEnDhyMJcnjV8ouAFhO4M17=J1_iA@mail.gmail.com>

On 03/18/2012 11:51 AM, Blue Swirl wrote:
> On Sun, Mar 18, 2012 at 09:44, Avi Kivity <avi@redhat.com> wrote:
> > On 03/18/2012 04:01 AM, Mark Cave-Ayland wrote:
> >> Hi Avi/Blue,
> >>
> >> I've just updated to git master and found that SPARC64 is broken
> >> again; a git bisect shows the following commit causes this:
> >>
> >>
> >> commit f3705d53296d78b14f5823472ae2add16a25a0a5
> >> Author: Avi Kivity <avi@redhat.com>
> >> Date:   Thu Mar 8 16:16:34 2012 +0200
> >>
> >>     memory: make phys_page_find() return an unadjusted section
> >>
> >>     We'd like to store the section index in the iotlb, so we can't
> >>     adjust it before returning.  Return an unadjusted section and
> >>     instead introduce section_addr(), which does the adjustment later.
> >>
> >>     Signed-off-by: Avi Kivity <avi@redhat.com>
> >>
> >>
> >> The symptom is that qemu-system-sparc64 segfaults immediately on
> >> startup (note this is with an OpenBIOS image built from SVN r1048).
> >> I've included a couple of backtraces below:
> >>
> >
> > Please try the attached patch.
>
> I tried this approach instead, seems to work 

IMO, my patch is better.  tlb_set_page() should not deal with offsets
within a page.

If you prefer your approach, I suggest masking the address up front in
the beginning of tlb_set_page() instead.

> (except Sparc32, Sparc64
> and PPC displays are still not refreshed correctly).

Details about this please.


-- 
error compiling committee.c: too many arguments to function

  reply	other threads:[~2012-03-18 10:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-18  2:01 [Qemu-devel] SPARC64: immediate segfault on startup with git mastervery Mark Cave-Ayland
2012-03-18  9:44 ` Avi Kivity
2012-03-18  9:51   ` Blue Swirl
2012-03-18 10:31     ` Avi Kivity [this message]
2012-03-18 10:51       ` Blue Swirl
2012-03-18 11:03         ` Mark Cave-Ayland
2012-03-18 11:28           ` Blue Swirl
2012-03-18 12:08         ` Avi Kivity
2012-03-18 12:10           ` Blue Swirl
2012-03-18 12:13             ` Avi Kivity
2012-03-18 12:15               ` Blue Swirl
2012-03-18 15:36           ` Avi Kivity
2012-03-18  9:57   ` Blue Swirl
2012-03-18 10:29   ` Mark Cave-Ayland

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=4F65B984.9040501@redhat.com \
    --to=avi@redhat.com \
    --cc=blauwirbel@gmail.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --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).