[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [OpenBIOS] FreeBSD powerpc issue
From: |
Alexander Graf |
Subject: |
Re: [Qemu-ppc] [OpenBIOS] FreeBSD powerpc issue |
Date: |
Mon, 27 Aug 2012 14:51:43 -0700 |
On 27.08.2012, at 13:43, Segher Boessenkool <address@hidden> wrote:
>>>> How do I flush the TLB?
>>>
>>> tlbie, and perhaps tlbsync.
>>
>> The QEMU TLB only caches existing translations, never misses.
>
> I'm not sure what you mean here? No PowerPC hardware that I know of
> stores a "this address doesn't go anywhere" tag in the TLB, either
> (I don't think the architecture allows that even).
>
> I also don't see what it has to do with the problem. The scenario
> what we think is happening: the CPU has translations for the OF code
> space in its TLB, because it has run it before. The kernel removes
> the translations but doesn't do TLBIE on those. On real hardware,
> the TLB entries are still used. What does QEMU do?
Ah, I see. It depends. QEMU doesn't provide any guarantees that the TLB
survives basically. We don't flush it often for book3s, but it can still
happen. Maybe try to put a printf into the tlb flush handler function?
Alex
>
>
> Segher
>
- Re: [Qemu-ppc] FreeBSD powerpc issue, (continued)
- Re: [Qemu-ppc] FreeBSD powerpc issue, Andreas Tobler, 2012/08/25
- Re: [Qemu-ppc] FreeBSD powerpc issue, Alexander Graf, 2012/08/26
- Re: [Qemu-ppc] FreeBSD powerpc issue, Andreas Tobler, 2012/08/26
- Re: [Qemu-ppc] FreeBSD powerpc issue, Alexander Graf, 2012/08/26
- Re: [Qemu-ppc] FreeBSD powerpc issue, Andreas Tobler, 2012/08/26
- Re: [Qemu-ppc] [OpenBIOS] FreeBSD powerpc issue, Segher Boessenkool, 2012/08/26
- Re: [Qemu-ppc] [OpenBIOS] FreeBSD powerpc issue, Andreas Tobler, 2012/08/26
- Re: [Qemu-ppc] [OpenBIOS] FreeBSD powerpc issue, Segher Boessenkool, 2012/08/26
- Re: [Qemu-ppc] [OpenBIOS] FreeBSD powerpc issue, Alexander Graf, 2012/08/27
- Re: [Qemu-ppc] [OpenBIOS] FreeBSD powerpc issue, Segher Boessenkool, 2012/08/27
- Re: [Qemu-ppc] [OpenBIOS] FreeBSD powerpc issue,
Alexander Graf <=
- Re: [Qemu-ppc] [OpenBIOS] FreeBSD powerpc issue, Andreas Tobler, 2012/08/31