|
From: | Richard Henderson |
Subject: | Re: [PATCH] target/arm: Two fixes for secure ptw |
Date: | Sat, 5 Nov 2022 09:06:05 +1100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 |
On 11/4/22 21:58, Peter Maydell wrote:
OK. Do we ever do anything with the attrs for a phys tlb lookup except use them internally for details of the stage 2 tlb walk ? I guess they get used for the memory transaction to do the walk. That matches the old code that just had a local MemTxAttrs in arm_ldq_ptw() to do the walk which therefore implicitly got user == false.
Exactly.I can't think of any reason .user would be apply outside of the stage1 lookup, which is what records the setting for any future mmio.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |