All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Richard Henderson <rth@twiddle.net>
Cc: "Vassili Karpov (malc)" <av1474@comtv.ru>,
	qemu-devel@nongnu.org, aurelien@aurel32.net
Subject: Re: [Qemu-devel] [PATCH 3/4] tcg-ppc: Convert to helper_ret_ld/st_mmu
Date: Mon, 09 Sep 2013 19:49:05 +0200	[thread overview]
Message-ID: <522E0A11.1090109@redhat.com> (raw)
In-Reply-To: <522E088F.30607@twiddle.net>

Il 09/09/2013 19:42, Richard Henderson ha scritto:
> On 08/19/2013 12:42 PM, Paolo Bonzini wrote:
>> Bad news... with this patch, either with or without patch 2, trying to execute
>> sieve.flat from kvm-unit-tests (it doesn't matter if it is compiled as 32-bit
>> or 64-bit, and with both i386-softmmu and x86_64-softmmu targets) fails as
>> follows on my PowerBook:
>>
>> qemu: fatal: Trying to execute code outside RAM or ROM at 0x70360000
> 
> Hum.  Are you sure it's anything related to the ppc backend at all?  This
> test doesn't work with an x86_64 host either.
> 
> qemu: fatal: Trying to execute code outside RAM or ROM at 0x004001ba
> 
> EAX=80000011 EBX=00009500 ECX=c0000080 EDX=00000000
> ESI=00000000 EDI=00542000 EBP=00000000 ESP=0044abbc
> EIP=004001ba EFL=00000046 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
> ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
> CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-]
> SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
> DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
> FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
> GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
> LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT
> TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy
> GDT=     0040800a 00000447
> IDT=     00000000 000003ff
> CR0=80000011 CR2=00000000 CR3=00407000 CR4=00000020
> DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000
> DR6=ffff0ff0 DR7=00000400
> CCS=00000000 CCD=00000000 CCO=SARL
> EFER=0000000000000000
> FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
> FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
> FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
> FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
> FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
> XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
> XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
> XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
> XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
> Aborted (core dumped)
> 
> This happens after one of the writes to %cr0.  Of course, the test works with
> kvm enabled, so I don't blame the test so much as the target-i386 front end...
> 
> This is not new breakage, either.  I've checked back through 1.4.0 and I can't
> make it work with any version of TCG.

Strange... works here with 1.6.0 from Fedora

$ time qemu-system-x86_64 -device isa-debug-exit,iobase=0xf4 -serial
stdio -kernel sieve64.flat
enabling apic
starting sieve
static:78498 out of 1000000
paging enabled
cr0 = 80010011
cr3 = 7fff000
cr4 = 20
mapped:78498 out of 1000000
virtual:5761455 out of 100000000
virtual:5761455 out of 100000000
virtual:5761455 out of 100000000

real	0m50.056s
user	0m49.467s
sys	0m0.415s

I sent you my binaries offlist.

Paolo

  reply	other threads:[~2013-09-09 17:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-01 16:07 [Qemu-devel] [PATCH 0/4] tcg-ppc ldst improvements Richard Henderson
2013-09-01 16:07 ` [Qemu-devel] [PATCH 1/4] configure: Allow command-line configure for ppc32 Richard Henderson
2013-09-01 16:07 ` [Qemu-devel] [PATCH 2/4] tcg-ppc: Avoid code for nop move Richard Henderson
2013-09-01 16:07 ` [Qemu-devel] [PATCH 3/4] tcg-ppc: Convert to helper_ret_ld/st_mmu Richard Henderson
2013-09-07  9:46   ` Paolo Bonzini
2013-09-09 17:42     ` Richard Henderson
2013-09-09 17:49       ` Paolo Bonzini [this message]
2013-09-09 18:20         ` Richard Henderson
2013-09-01 16:07 ` [Qemu-devel] [PATCH 4/4] tcg-ppc: Fix and cleanup tcg_out_tlb_check Richard Henderson

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=522E0A11.1090109@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=aurelien@aurel32.net \
    --cc=av1474@comtv.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.