Re: [Qemu-devel] [PATCH v3 6/7] target-arm: Make page size a runtime setting

2016-10-13 Thread Andrew Jones
On Wed, Oct 12, 2016 at 02:40:30PM +0100, Peter Maydell wrote: > On 12 October 2016 at 14:33, Andrew Jones wrote: > > On Tue, Oct 11, 2016 at 06:08:18PM +0100, Peter Maydell wrote: > >> Rather than defining TARGET_PAGE_BITS to always be 10, > >> switch to using a value picked

Re: [Qemu-devel] [PATCH v3 6/7] target-arm: Make page size a runtime setting

2016-10-12 Thread Andrew Jones
On Tue, Oct 11, 2016 at 06:08:18PM +0100, Peter Maydell wrote: > Rather than defining TARGET_PAGE_BITS to always be 10, > switch to using a value picked at runtime. This allows us > to use 4K pages for modern ARM CPUs (and in particular all > 64-bit CPUs) without having to drop support for the old

Re: [Qemu-devel] [PATCH v3 6/7] target-arm: Make page size a runtime setting

2016-10-12 Thread Peter Maydell
On 12 October 2016 at 14:33, Andrew Jones wrote: > On Tue, Oct 11, 2016 at 06:08:18PM +0100, Peter Maydell wrote: >> Rather than defining TARGET_PAGE_BITS to always be 10, >> switch to using a value picked at runtime. This allows us >> to use 4K pages for modern ARM CPUs (and

[Qemu-devel] [PATCH v3 6/7] target-arm: Make page size a runtime setting

2016-10-11 Thread Peter Maydell
Rather than defining TARGET_PAGE_BITS to always be 10, switch to using a value picked at runtime. This allows us to use 4K pages for modern ARM CPUs (and in particular all 64-bit CPUs) without having to drop support for the old ARMv5 CPUs which had 1K pages. Signed-off-by: Peter Maydell