[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 7/7] PPC64: Don't fault at lwsync
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [PATCH 7/7] PPC64: Don't fault at lwsync |
Date: |
Thu, 5 Mar 2009 16:44:30 +0000 |
User-agent: |
KMail/1.9.9 |
> If anyone knows how to really fix this, please step forward and do
> so. This only makes things work at all for me :-).
I bet lwsync being a nop is a clue.
When an MMU exception occurs, qemu figures out the guest location from the
location of the MMU access in guest code (see cpu_restore_state). My guess is
that this breaks when two guest instructions have the same location. I'm not
entirely sure what the correct fix is, or where the bug lies
(cpu_restore_state, gen_intermediate_code_pc, or tcg_gen_code_search_pc) but
hopefully this will point you in the right direction.
One thing to try (to confirm this theory) is make lwsync do domething (write
to a dummy register or call a helper function) and see if the problem goes
away.
Paul
- [Qemu-devel] [PATCH 2/7] PPC64: Implement large pages, (continued)
- [Qemu-devel] [PATCH 2/7] PPC64: Implement large pages, Alexander Graf, 2009/03/05
- [Qemu-devel] [PATCH 3/7] PPC64: Implment tlbiel, Alexander Graf, 2009/03/05
- [Qemu-devel] [PATCH 4/7] Activate uninorth AGP bridge, Alexander Graf, 2009/03/05
- [Qemu-devel] [PATCH 5/7] PPC64: Nop some SPRs on 970fx, Alexander Graf, 2009/03/05
- [Qemu-devel] [PATCH 6/7] PPC64: Enable 64bit mode on interrupts, Alexander Graf, 2009/03/05
- [Qemu-devel] [PATCH 7/7] PPC64: Don't fault at lwsync, Alexander Graf, 2009/03/05
- Re: [Qemu-devel] [PATCH 7/7] PPC64: Don't fault at lwsync, Paul Brook, 2009/03/05
- Re: [Qemu-devel] [PATCH 7/7] PPC64: Don't fault at lwsync, Alexander Graf, 2009/03/05
- Re: [Qemu-devel] [PATCH 7/7] PPC64: Don't fault at lwsync, Alexander Graf, 2009/03/05
- Re: [Qemu-devel] [PATCH 7/7] PPC64: Don't fault at lwsync, Paul Brook, 2009/03/05
- Re: [Qemu-devel] [PATCH 7/7] PPC64: Don't fault at lwsync,
Paul Brook <=
- Re: [Qemu-devel] [PATCH 7/7] PPC64: Don't fault at lwsync, Daniel Jacobowitz, 2009/03/05
- Re: [Qemu-devel] [PATCH 7/7] PPC64: Don't fault at lwsync, Paul Brook, 2009/03/05
- Re: [Qemu-devel] [PATCH 7/7] PPC64: Don't fault at lwsync, Alexander Graf, 2009/03/05