Re: [Qemu-devel] [PATCH v2 09/11] target-arm: Use mmu_idx in get_phys_addr()

2015-01-30 Thread Greg Bellows
On Thu, Jan 29, 2015 at 12:55 PM, Peter Maydell wrote: > Now we have the mmu_idx in get_phys_addr(), use it correctly to > determine the behaviour of virtual to physical address translations, > rather than using just an is_user flag and the current CPU state. > > Some TODO comments have been adde

Re: [Qemu-devel] [PATCH v2 09/11] target-arm: Use mmu_idx in get_phys_addr()

2015-01-30 Thread Peter Maydell
On 30 January 2015 at 02:03, Edgar E. Iglesias wrote: > On Thu, Jan 29, 2015 at 06:55:15PM +, Peter Maydell wrote: >> Now we have the mmu_idx in get_phys_addr(), use it correctly to >> determine the behaviour of virtual to physical address translations, >> rather than using just an is_user fla

Re: [Qemu-devel] [PATCH v2 09/11] target-arm: Use mmu_idx in get_phys_addr()

2015-01-29 Thread Edgar E. Iglesias
On Thu, Jan 29, 2015 at 06:55:15PM +, Peter Maydell wrote: > Now we have the mmu_idx in get_phys_addr(), use it correctly to > determine the behaviour of virtual to physical address translations, > rather than using just an is_user flag and the current CPU state. > > Some TODO comments have be

[Qemu-devel] [PATCH v2 09/11] target-arm: Use mmu_idx in get_phys_addr()

2015-01-29 Thread Peter Maydell
Now we have the mmu_idx in get_phys_addr(), use it correctly to determine the behaviour of virtual to physical address translations, rather than using just an is_user flag and the current CPU state. Some TODO comments have been added to indicate where changes will need to be made to add EL2 and 64