[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-ia64-devel] [PATCH] fix access rights in VHPT whenitr.ar!=dtr.ar


  • To: "Kouya SHIMURA" <kouya@xxxxxxxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
  • Date: Thu, 22 Mar 2007 09:24:11 +0800
  • Delivery-date: Wed, 21 Mar 2007 18:23:05 -0700
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: AcdqyoCs+89wrR76QCmLjpZpyjan5ABVeF/g
  • Thread-topic: [Xen-ia64-devel] [PATCH] fix access rights in VHPT whenitr.ar!=dtr.ar

Hi kouya,

Another solution is to set dtr[1].ar=3(RWX) too,
This will not incur any impact.
Because itr[1].ar=3(RWX). There are same mapping for data and instruction.

The upside is there is no impossible INST_ACCESS_RIGHTS.

- Anthony 

-----Original Message-----
From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Kouya SHIMURA
Sent: 2007年3月20日 16:33
To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] fix access rights in VHPT whenitr.ar!=dtr.ar

Hi,

This is a workaround patch for Windows 2003 Server.
Windows (vcpu>=2) set itr[1].ar=3(RWX) but dtr[1].ar=2(RW).
It causes a impossible INST_ACCESS_RIGHTS interruption via VHPT
which is used for emulating TR.

Surprisingly, windows ordinarily accepts this interruption. 
But windows sometimes crashes with the message 'PANIC_STACK_SWITCH'
owing to this interruption.

Thanks,
Kouya

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.