From: Alexander Graf <agraf@suse.de>
To: kvm-ppc@vger.kernel.org
Subject: Re: Does KVM support the P.A. Semi PA6T cpu?
Date: Fri, 30 May 2014 12:47:01 +0000 [thread overview]
Message-ID: <53887DC5.9080908@suse.de> (raw)
In-Reply-To: <53511C7B.5010208@xenosoft.de>
On 30.05.14 14:42, Christian Zigotzky wrote:
> Am 30.05.14 14:21, schrieb Alexander Graf:
>>
>> On 30.05.14 13:39, Christian Zigotzky wrote:
>>> Hi Alex,
>>>
>>> Thank you for your answer. Here are the traces:
>>>
>>> http://www.xenosoft.de/trace_mol_mac_os_x_tiger.txt.tar.gz
>>> http://www.xenosoft.de/trace_mol_mac_os_x_jaguar.txt.tar.gz
>>
>> Looking at the Jaguar log, the guest seems to be stuck trying to map
>> a page:
>>
>> mol-4087 [001] .... 252.368002: kvm_exit:
>> exitÚTA_STORAGE | pc=0x900074c4 | msr=0x4000d030 | dar=0xa000a434 |
>> srr1=0x100000000000d032 | last_inst=0x912b0
>> 000
>>
>> If you look at the trace, you will see that this PC with the exact
>> same DAR happens over and over again - every time the guest thinks
>> it's mapped the page.
>>
>> I don't know why that's happening. Try to enable the debug prints (or
>> convert them to trace points ;)) in the book3s_32 guest and book3s_64
>> host emulation. Maybe that tells us something.
>>
>>
>> Alex
> Thanks Alex for your effort. How can I enable the debug prints?
This should do the trick. Output will be in dmesg:
diff --git a/arch/powerpc/kvm/book3s_32_mmu.c
b/arch/powerpc/kvm/book3s_32_mmu.c
index 93503bb..939b14f 100644
--- a/arch/powerpc/kvm/book3s_32_mmu.c
+++ b/arch/powerpc/kvm/book3s_32_mmu.c
@@ -27,8 +27,8 @@
#include <asm/kvm_ppc.h>
#include <asm/kvm_book3s.h>
-/* #define DEBUG_MMU */
-/* #define DEBUG_MMU_PTE */
+#define DEBUG_MMU
+#define DEBUG_MMU_PTE
/* #define DEBUG_MMU_PTE_IP 0xfff14c40 */
#ifdef DEBUG_MMU
There's also always the chance that split real mode is the real culprit
for breakage here. Have you verified that the same kernel source (KVM
code) works on a PPC32 host with MOL?
Alex
next prev parent reply other threads:[~2014-05-30 12:47 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
2014-04-18 15:35 ` Alexander Graf
2014-04-18 22:10 ` Christian Zigotzky
2014-04-18 22:46 ` Alexander Graf
2014-04-19 11:40 ` Christian Zigotzky
2014-04-19 12:36 ` Christian Zigotzky
2014-04-19 15:08 ` Christian Zigotzky
2014-04-19 19:56 ` Christian Zigotzky
2014-04-21 15:45 ` Christian Zigotzky
2014-04-26 22:11 ` Christian Zigotzky
2014-04-27 17:41 ` Christian Zigotzky
2014-04-27 17:47 ` Alexander Graf
2014-04-28 14:19 ` Christian Zigotzky
2014-04-28 19:03 ` Christian Zigotzky
2014-04-29 9:14 ` Alexander Graf
2014-05-29 23:50 ` Christian Zigotzky
2014-05-30 7:49 ` Alexander Graf
2014-05-30 11:39 ` Christian Zigotzky
2014-05-30 12:21 ` Alexander Graf
2014-05-30 12:42 ` Christian Zigotzky
2014-05-30 12:47 ` Alexander Graf [this message]
2014-05-30 15:44 ` Christian Zigotzky
2014-05-30 17:38 ` Christian Zigotzky
2014-06-10 10:39 ` Christian Zigotzky
2014-06-10 13:56 ` Alexander Graf
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=53887DC5.9080908@suse.de \
--to=agraf@suse.de \
--cc=kvm-ppc@vger.kernel.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 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.