[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/2] target/ppc: fix address translation bug for radix mmu
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 1/2] target/ppc: fix address translation bug for radix mmus |
Date: |
Tue, 15 Jun 2021 16:14:11 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
On 6/15/21 3:57 PM, Cédric Le Goater wrote:
> On 6/14/21 9:16 PM, Bruno Larsen (billionai) wrote:
>> Based-on: <20210518201146.794854-1-richard.henderson@linaro.org>
>>
>> This commit attempts to fix the first bug mentioned by Richard Henderson in
>> https://lists.nongnu.org/archive/html/qemu-devel/2021-05/msg06247.html
>>
>> To sumarize the bug here, when radix-style mmus are translating an
>> address, they might need to call a second level of translation, with
>> hypvervisor priviledges. However, the way it was being done up until
>> this point meant that the second level translation had the same
>> priviledges as the first level. This would only happen when a TCG guest
>> was emulating KVM, which is why it hasn't been discovered yet.
>
> What do you mean ? The QEMU PowerNV machine emulates baremetal and
> can run KVM pseries guests.
>
> It has some issues under load but not related to memory translation.
> This patch is certainly improving the model and it is worth testing
> but this version does not apply on ppc-6.1.
Unfortunately this series misses a cover letter.
The base series is mentioned in the first patch:
Based-on: <20210518201146.794854-1-richard.henderson@linaro.org>
- Re: [RFC PATCH v2 2/2] target/ppc: make gdb able to translate priviledged addresses, (continued)