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~