Re: [U-Boot] [PATCH v5 09/11] armv8: ls2080a: Drop early MMU for SPL build

2017-03-09 Thread Marek Vasut
On 03/07/2017 05:45 PM, york sun wrote: > On 03/06/2017 10:36 PM, Marek Vasut wrote: >> On 03/07/2017 05:31 AM, york sun wrote: >>> On 03/06/2017 07:59 PM, Marek Vasut wrote: On 03/06/2017 06:02 PM, York Sun wrote: > Early MMU improves performance especially on emulators. However, the

Re: [U-Boot] [PATCH v5 09/11] armv8: ls2080a: Drop early MMU for SPL build

2017-03-07 Thread york sun
On 03/06/2017 10:36 PM, Marek Vasut wrote: > On 03/07/2017 05:31 AM, york sun wrote: >> On 03/06/2017 07:59 PM, Marek Vasut wrote: >>> On 03/06/2017 06:02 PM, York Sun wrote: Early MMU improves performance especially on emulators. However, the early MMU is left enabled after the first

Re: [U-Boot] [PATCH v5 09/11] armv8: ls2080a: Drop early MMU for SPL build

2017-03-06 Thread Marek Vasut
On 03/07/2017 05:31 AM, york sun wrote: On 03/06/2017 07:59 PM, Marek Vasut wrote: On 03/06/2017 06:02 PM, York Sun wrote: Early MMU improves performance especially on emulators. However, the early MMU is left enabled after the first stage of SPL boot. Instead of flushing D-cache and dealing

Re: [U-Boot] [PATCH v5 09/11] armv8: ls2080a: Drop early MMU for SPL build

2017-03-06 Thread york sun
On 03/06/2017 07:59 PM, Marek Vasut wrote: > On 03/06/2017 06:02 PM, York Sun wrote: >> Early MMU improves performance especially on emulators. However, the >> early MMU is left enabled after the first stage of SPL boot. Instead >> of flushing D-cache and dealing with re-enabling MMU for the

Re: [U-Boot] [PATCH v5 09/11] armv8: ls2080a: Drop early MMU for SPL build

2017-03-06 Thread Marek Vasut
On 03/06/2017 06:02 PM, York Sun wrote: Early MMU improves performance especially on emulators. However, the early MMU is left enabled after the first stage of SPL boot. Instead of flushing D-cache and dealing with re-enabling MMU for the second stage U-Boot, disabling it for SPL build

[U-Boot] [PATCH v5 09/11] armv8: ls2080a: Drop early MMU for SPL build

2017-03-06 Thread York Sun
Early MMU improves performance especially on emulators. However, the early MMU is left enabled after the first stage of SPL boot. Instead of flushing D-cache and dealing with re-enabling MMU for the second stage U-Boot, disabling it for SPL build simplifies the process. The performance penalty is