WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

RE: [Xen-ia64-devel] [Patch] Speculative Load/Store to IO memory

To: "Akio Takebe" <takebe_akio@xxxxxxxxxxxxxx>, "xen-ia64-devel" <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] [Patch] Speculative Load/Store to IO memory
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Fri, 18 May 2007 11:16:32 +0800
Delivery-date: Thu, 17 May 2007 20:14:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <DAC79881C4E673takebe_akio@xxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceYgaZBP0KB/tIUSN+Q+a/M9csg7gAeGeSQ
Thread-topic: [Xen-ia64-devel] [Patch] Speculative Load/Store to IO memory
Good finding!

One question
>From the patch, guest executes ld.s on physical mode.
Is this a cacheable address(region 0) or un-cacheable address(region 4)?

If it is a un-cacheable address, 
According to spec, the behavior of ld.s on un-cacheable page is undefined.
We can set psr.ed directly.

If it is a cacheable address and it is IO address.
I don't know the real behavior on native machine.
So we need to get the real behavior first, then decide how to emulate it.
I'm asking some exports, hope I can get the answer.

Thanks,
Anthony


>-----Original Message-----
>From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
>[mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Akio Takebe
>Sent: 2007年5月17日 20:49
>To: xen-ia64-devel
>Subject: [Xen-ia64-devel] [Patch] Speculative Load/Store to IO memory
>
>Hi,
>
>We met a panic_domain(NULL, "Undefined IPI-LHF read!\n"),
>when we run test on Windows guest.
>When the issue was occurred, the guest did "ld4.s r49=[r27]".
>Reading IO memory by using "lds" is wrong.
>But if the instruction is speculative,
>Xen should set psr.ed then return to guest.
>
>Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
>Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
>
>Best Regards,
>
>Akio Takebe

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel