Re: [PATCH 2/2] target/xtensa: tidy TLB way variability logic

2024-01-22 Thread Max Filippov
On Mon, Jan 22, 2024 at 10:42 AM Peter Maydell wrote: > > On Fri, 19 Jan 2024 at 20:47, Max Filippov wrote: > > > > Whether TLB ways 5 and 6 are variable is not a property of the TLB > > instance or a TLB entry instance, it's a property of the xtensa core > > configuration. > > Remove 'varway56'

Re: [PATCH 2/2] target/xtensa: tidy TLB way variability logic

2024-01-22 Thread Peter Maydell
On Fri, 19 Jan 2024 at 20:47, Max Filippov wrote: > > Whether TLB ways 5 and 6 are variable is not a property of the TLB > instance or a TLB entry instance, it's a property of the xtensa core > configuration. > Remove 'varway56' field from the xtensa_tlb structure and remove > 'variable' field fro

[PATCH 2/2] target/xtensa: tidy TLB way variability logic

2024-01-19 Thread Max Filippov
Whether TLB ways 5 and 6 are variable is not a property of the TLB instance or a TLB entry instance, it's a property of the xtensa core configuration. Remove 'varway56' field from the xtensa_tlb structure and remove 'variable' field from the xtensa_tlb_entry structure. Add 'tlb_variable_way' array