|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 1/2] target/ppc: fix address translation bug for radix mmus |
Date: | Mon, 14 Jun 2021 20:20:13 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 6/14/21 6:41 PM, David Gibson wrote:
I think move these to mmu-book3s-v3.h, since they're correct for both the radix and hash sides of the modern book3s mmu.
They're also correct for all non-booke mmus, e.g. hash32 and 6xx, which is why I recommended internal.h (or some new mmu-internal.h).
While neither hash32 nor 6xx have HV, and thus there is no second tlb bug, it would still be More Correct to use mmu_idx instead of direct references to msr_pr et al.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |