Re: [U-Boot] [PATCH 02/10] arm64: Make full va map code more dynamic

2016-02-29 Thread Alexander Graf
On 29.02.16 17:52, Stephen Warren wrote: > On 02/27/2016 05:09 AM, Alexander Graf wrote: >> >> >> On 26.02.16 20:25, Stephen Warren wrote: >>> On 02/25/2016 09:36 AM, Alexander Graf wrote: On 24.02.16 19:14, Stephen Warren wrote: > On 02/24/2016 05:11 AM, Alexander Graf wrote:

Re: [U-Boot] [PATCH 02/10] arm64: Make full va map code more dynamic

2016-02-29 Thread Stephen Warren
On 02/27/2016 05:09 AM, Alexander Graf wrote: On 26.02.16 20:25, Stephen Warren wrote: On 02/25/2016 09:36 AM, Alexander Graf wrote: On 24.02.16 19:14, Stephen Warren wrote: On 02/24/2016 05:11 AM, Alexander Graf wrote: The idea to generate our pages tables from an array of memory ranges

Re: [U-Boot] [PATCH 02/10] arm64: Make full va map code more dynamic

2016-02-27 Thread Alexander Graf
On 26.02.16 20:25, Stephen Warren wrote: > On 02/25/2016 09:36 AM, Alexander Graf wrote: >> >> >> On 24.02.16 19:14, Stephen Warren wrote: >>> On 02/24/2016 05:11 AM, Alexander Graf wrote: The idea to generate our pages tables from an array of memory ranges is very sound. However, inste

Re: [U-Boot] [PATCH 02/10] arm64: Make full va map code more dynamic

2016-02-26 Thread Stephen Warren
On 02/25/2016 09:36 AM, Alexander Graf wrote: On 24.02.16 19:14, Stephen Warren wrote: On 02/24/2016 05:11 AM, Alexander Graf wrote: The idea to generate our pages tables from an array of memory ranges is very sound. However, instead of hard coding the code to create up to 2 levels of 64k gra

Re: [U-Boot] [PATCH 02/10] arm64: Make full va map code more dynamic

2016-02-25 Thread Alexander Graf
On 24.02.16 19:14, Stephen Warren wrote: > On 02/24/2016 05:11 AM, Alexander Graf wrote: >> The idea to generate our pages tables from an array of memory ranges >> is very sound. However, instead of hard coding the code to create up >> to 2 levels of 64k granule page tables, we really should just

Re: [U-Boot] [PATCH 02/10] arm64: Make full va map code more dynamic

2016-02-24 Thread Stephen Warren
On 02/24/2016 05:11 AM, Alexander Graf wrote: The idea to generate our pages tables from an array of memory ranges is very sound. However, instead of hard coding the code to create up to 2 levels of 64k granule page tables, we really should just create normal 4k page tables that allow us to set c

Re: [U-Boot] [PATCH 02/10] arm64: Make full va map code more dynamic

2016-02-24 Thread Mark Rutland
Hi, This is a good cleanup! On Wed, Feb 24, 2016 at 01:11:36PM +0100, Alexander Graf wrote: > The idea to generate our pages tables from an array of memory ranges > is very sound. However, instead of hard coding the code to create up > to 2 levels of 64k granule page tables, we really should just

[U-Boot] [PATCH 02/10] arm64: Make full va map code more dynamic

2016-02-24 Thread Alexander Graf
The idea to generate our pages tables from an array of memory ranges is very sound. However, instead of hard coding the code to create up to 2 levels of 64k granule page tables, we really should just create normal 4k page tables that allow us to set caching attributes on 2M or 4k level later on. S