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

2016-02-24 Thread Alexander Graf
On 02/24/2016 06:01 PM, Stephen Warren wrote: On 02/24/2016 03:55 AM, Alexander Graf wrote: On 23.02.16 14:17, Simon Glass wrote: Hi Alex, On 21 February 2016 at 18:57, Alexander Graf wrote: The idea to generate our pages tables from an array of memory ranges is very sound. However, instea

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

2016-02-24 Thread Stephen Warren
On 02/24/2016 03:55 AM, Alexander Graf wrote: On 23.02.16 14:17, Simon Glass wrote: Hi Alex, On 21 February 2016 at 18:57, 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 lev

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

2016-02-24 Thread Stephen Warren
On 02/23/2016 09:42 PM, Simon Glass wrote: Hi Stephen, On 23 February 2016 at 13:33, Stephen Warren wrote: On 02/23/2016 01:00 PM, Simon Glass wrote: Hi Stephen, On 23 February 2016 at 10:40, Stephen Warren wrote: On 02/23/2016 10:30 AM, Simon Glass wrote: Hi Stephen, On 23 February

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

2016-02-24 Thread Alexander Graf
On 23.02.16 14:17, Simon Glass wrote: > Hi Alex, > > On 21 February 2016 at 18:57, 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

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

2016-02-24 Thread Alexander Graf
On 22.02.16 19:45, Stephen Warren wrote: > On 02/22/2016 11:37 AM, Alexander Graf wrote: >> >> On Feb 22, 2016, at 7:18 PM, Stephen Warren >> wrote: >> >>> On 02/21/2016 06:57 PM, Alexander Graf wrote: The idea to generate our pages tables from an array of memory ranges is very sound.

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

2016-02-23 Thread Simon Glass
Hi Stephen, On 23 February 2016 at 13:33, Stephen Warren wrote: > On 02/23/2016 01:00 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 23 February 2016 at 10:40, Stephen Warren >> wrote: >>> >>> On 02/23/2016 10:30 AM, Simon Glass wrote: Hi Stephen, On 23 February 2016

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

2016-02-23 Thread Stephen Warren
On 02/23/2016 01:00 PM, Simon Glass wrote: Hi Stephen, On 23 February 2016 at 10:40, Stephen Warren wrote: On 02/23/2016 10:30 AM, Simon Glass wrote: Hi Stephen, On 23 February 2016 at 10:21, Stephen Warren wrote: On 02/23/2016 06:17 AM, Simon Glass wrote: Hi Alex, On 21 February 201

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

2016-02-23 Thread Simon Glass
Hi Stephen, On 23 February 2016 at 10:40, Stephen Warren wrote: > On 02/23/2016 10:30 AM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 23 February 2016 at 10:21, Stephen Warren >> wrote: >>> >>> On 02/23/2016 06:17 AM, Simon Glass wrote: Hi Alex, On 21 February 2016 at

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

2016-02-23 Thread Stephen Warren
On 02/23/2016 10:30 AM, Simon Glass wrote: Hi Stephen, On 23 February 2016 at 10:21, Stephen Warren wrote: On 02/23/2016 06:17 AM, Simon Glass wrote: Hi Alex, On 21 February 2016 at 18:57, Alexander Graf wrote: The idea to generate our pages tables from an array of memory ranges is very

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

2016-02-23 Thread Simon Glass
Hi Stephen, On 23 February 2016 at 10:21, Stephen Warren wrote: > On 02/23/2016 06:17 AM, Simon Glass wrote: >> >> Hi Alex, >> >> On 21 February 2016 at 18:57, Alexander Graf wrote: >>> >>> The idea to generate our pages tables from an array of memory ranges >>> is very sound. However, instead o

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

2016-02-23 Thread Stephen Warren
On 02/23/2016 06:17 AM, Simon Glass wrote: Hi Alex, On 21 February 2016 at 18:57, 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 sh

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

2016-02-23 Thread Simon Glass
Hi Alex, On 21 February 2016 at 18:57, 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

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

2016-02-22 Thread Stephen Warren
On 02/22/2016 11:37 AM, Alexander Graf wrote: On Feb 22, 2016, at 7:18 PM, Stephen Warren wrote: On 02/21/2016 06:57 PM, 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

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

2016-02-22 Thread Stephen Warren
On 02/21/2016 06:57 PM, 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 2/9] arm64: Make full va map code more dynamic

2016-02-22 Thread Alexander Graf
On Feb 22, 2016, at 7:18 PM, Stephen Warren wrote: > On 02/21/2016 06:57 PM, 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

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

2016-02-22 Thread Stephen Warren
On 02/21/2016 06:57 PM, 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

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

2016-02-21 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