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] access_reflection fix

To: "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>, "xen-ia64-devel" <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH] access_reflection fix
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Thu, 30 Mar 2006 09:25:09 +0800
Delivery-date: Thu, 30 Mar 2006 01:26:34 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcZTT7lX/rwT2iDaRI2kEAyIgbwjUQAEOsXAAAbfG7AABvPCYA==
Thread-topic: [Xen-ia64-devel] [PATCH] access_reflection fix
Hi Dan,

You are right; the low two bits of cr.itir are NOT reserved.
But when tlb happens, the hardware action is,
itir.ps=rr.ps
itir.key=rr.rid
All other fields are set to 0. 


Thanks,
-Anthony 

>-----Original Message-----
>From: Magenheimer, Dan (HP Labs Fort Collins)
[mailto:dan.magenheimer@xxxxxx]
>Sent: 2006?3?30? 6:01
>To: Xu, Anthony; xen-ia64-devel
>Subject: RE: [Xen-ia64-devel] [PATCH] access_reflection fix
>
>Ah but with further examination, I see that setting
>the bits to zero will avoid problems, so I agree
>now that the patch is good.
>
>> -----Original Message-----
>> From: Magenheimer, Dan (HP Labs Fort Collins)
>> Sent: Wednesday, March 29, 2006 11:45 AM
>> To: 'Xu, Anthony'; xen-ia64-devel
>> Subject: RE: [Xen-ia64-devel] [PATCH] access_reflection fix
>>
>> I am reading from an old SDM so this may have changed,
>> but I think the low two bits of cr.itir are NOT reserved,
>> so it is not necessary to write zero to them.
>>
>> See SDM Vol2 3.3.5.5
>>
>> > -----Original Message-----
>> > From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
>> > [mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf
>> > Of Xu, Anthony
>> > Sent: Wednesday, March 29, 2006 9:42 AM
>> > To: xen-ia64-devel
>> > Subject: [Xen-ia64-devel] [PATCH] access_reflection fix
>> >
>> > Before injecting fault to guest, VMM need to setup
>> > guest itir by using guest region register.
>> > But the lowest two bits of itir are reserved. VMM need
>> > to reset these two bits.
>> >
>> > Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
>> >
>> > Thanks,
>> > -Anthony
>> >
>> >
>>

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