qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] [PATCH 2/2] PPC: Fix TLB invalidation bug within the PPC


From: Scott Wood
Subject: Re: [Qemu-ppc] [PATCH 2/2] PPC: Fix TLB invalidation bug within the PPC interrupt handler.
Date: Fri, 23 Mar 2012 11:34:43 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0

On 03/22/2012 09:20 PM, David Gibson wrote:
> On Thu, Mar 22, 2012 at 03:37:49PM -0500, Scott Wood wrote:
>> I wonder why this is done again at the end of the function for booke
>> (without regard to MSR bits).  It seems like the above flush should
>> handle booke as well as classic -- though the comment should be
>> "changed/deactivated" rather than "disactivated", since on booke those
>> bits just switch from one translation to another.
> 
> Right, which means I don't think this test will work as is for BookE.
> There, we'd need to check for any change in the IS/DS bits instead of
> just testing presence of IR/DR bits.

IS/DS always clear on exceptions, just like IR/DR on classic, so it's
the same thing.

-Scott




reply via email to

[Prev in Thread] Current Thread [Next in Thread]