Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-19 Thread Simon Glass
Hi Tom, On 19 October 2016 at 09:39, Tom Rini wrote: > > On Wed, Oct 19, 2016 at 09:36:52AM -0600, Stephen Warren wrote: > > On 10/18/2016 08:41 PM, Simon Glass wrote: > > >Hi Stephen, > > > > > >On 18 October 2016 at 17:33, Stephen Warren wrote: > > >>On 10/18/2016 05:08 PM, Simon Glass wrote:

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-19 Thread Stephen Warren
On 10/19/2016 09:39 AM, Tom Rini wrote: On Wed, Oct 19, 2016 at 09:36:52AM -0600, Stephen Warren wrote: On 10/18/2016 08:41 PM, Simon Glass wrote: Hi Stephen, On 18 October 2016 at 17:33, Stephen Warren wrote: On 10/18/2016 05:08 PM, Simon Glass wrote: Hi Stephen, On 18 October 2016 at 16

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-19 Thread Tom Rini
On Wed, Oct 19, 2016 at 09:36:52AM -0600, Stephen Warren wrote: > On 10/18/2016 08:41 PM, Simon Glass wrote: > >Hi Stephen, > > > >On 18 October 2016 at 17:33, Stephen Warren wrote: > >>On 10/18/2016 05:08 PM, Simon Glass wrote: > >>> > >>>Hi Stephen, > >>> > >>>On 18 October 2016 at 16:54, Stephe

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-19 Thread Stephen Warren
On 10/18/2016 08:41 PM, Simon Glass wrote: Hi Stephen, On 18 October 2016 at 17:33, Stephen Warren wrote: On 10/18/2016 05:08 PM, Simon Glass wrote: Hi Stephen, On 18 October 2016 at 16:54, Stephen Warren wrote: On 10/18/2016 01:56 PM, Simon Glass wrote: Hi Stephen, On 18 October 201

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-19 Thread Tom Rini
On Wed, Oct 19, 2016 at 09:59:02AM -0600, Simon Glass wrote: > Hi Tom, > > On 19 October 2016 at 09:39, Tom Rini wrote: > > > > On Wed, Oct 19, 2016 at 09:36:52AM -0600, Stephen Warren wrote: > > > On 10/18/2016 08:41 PM, Simon Glass wrote: > > > >Hi Stephen, > > > > > > > >On 18 October 2016 at

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread Simon Glass
Hi Stephen, On 18 October 2016 at 17:33, Stephen Warren wrote: > On 10/18/2016 05:08 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 18 October 2016 at 16:54, Stephen Warren wrote: >>> >>> On 10/18/2016 01:56 PM, Simon Glass wrote: Hi Stephen, On 18 October 2016 at 13:

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread Stephen Warren
On 10/18/2016 05:08 PM, Simon Glass wrote: Hi Stephen, On 18 October 2016 at 16:54, Stephen Warren wrote: On 10/18/2016 01:56 PM, Simon Glass wrote: Hi Stephen, On 18 October 2016 at 13:10, Stephen Warren wrote: On 10/18/2016 01:03 PM, Simon Glass wrote: Hi Stephen, On 18 October 201

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread Simon Glass
Hi Stephen, On 18 October 2016 at 16:54, Stephen Warren wrote: > On 10/18/2016 01:56 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 18 October 2016 at 13:10, Stephen Warren wrote: >>> >>> On 10/18/2016 01:03 PM, Simon Glass wrote: Hi Stephen, On 18 October 2016 at 12:

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread york sun
On 10/17/2016 04:35 PM, Stephen Warren wrote: > From: Stephen Warren > > SoC-specific logic may be required for all forms of cache-wide > operations; invalidate and flush of both dcache and icache (note that > only 3 of the 4 possible combinations make sense, since the icache never > contains dirt

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread Stephen Warren
On 10/18/2016 01:56 PM, Simon Glass wrote: Hi Stephen, On 18 October 2016 at 13:10, Stephen Warren wrote: On 10/18/2016 01:03 PM, Simon Glass wrote: Hi Stephen, On 18 October 2016 at 12:58, Stephen Warren wrote: On 10/18/2016 10:23 AM, Simon Glass wrote: Hi Stephen, On 17 October 201

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread Stephen Warren
On 10/18/2016 03:28 PM, york sun wrote: On 10/18/2016 02:01 PM, Stephen Warren wrote: On 10/18/2016 12:40 PM, york sun wrote: On 10/18/2016 11:14 AM, Stephen Warren wrote: On 10/18/2016 09:28 AM, york sun wrote: On 10/17/2016 04:35 PM, Stephen Warren wrote: From: Stephen Warren SoC-specifi

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread york sun
On 10/18/2016 02:01 PM, Stephen Warren wrote: > On 10/18/2016 12:40 PM, york sun wrote: >> On 10/18/2016 11:14 AM, Stephen Warren wrote: >>> On 10/18/2016 09:28 AM, york sun wrote: On 10/17/2016 04:35 PM, Stephen Warren wrote: > From: Stephen Warren > > SoC-specific logic may be r

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread Simon Glass
Hi Stephen, On 18 October 2016 at 13:10, Stephen Warren wrote: > On 10/18/2016 01:03 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 18 October 2016 at 12:58, Stephen Warren wrote: >>> >>> On 10/18/2016 10:23 AM, Simon Glass wrote: Hi Stephen, On 17 October 2016 at 15:

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread Stephen Warren
On 10/18/2016 01:03 PM, Simon Glass wrote: Hi Stephen, On 18 October 2016 at 12:58, Stephen Warren wrote: On 10/18/2016 10:23 AM, Simon Glass wrote: Hi Stephen, On 17 October 2016 at 15:35, Stephen Warren wrote: From: Stephen Warren SoC-specific logic may be required for all forms of c

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread Simon Glass
Hi Stephen, On 18 October 2016 at 12:58, Stephen Warren wrote: > On 10/18/2016 10:23 AM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 17 October 2016 at 15:35, Stephen Warren wrote: >>> >>> From: Stephen Warren >>> >>> SoC-specific logic may be required for all forms of cache-wide >>> operatio

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread Stephen Warren
On 10/18/2016 12:40 PM, york sun wrote: On 10/18/2016 11:14 AM, Stephen Warren wrote: On 10/18/2016 09:28 AM, york sun wrote: On 10/17/2016 04:35 PM, Stephen Warren wrote: From: Stephen Warren SoC-specific logic may be required for all forms of cache-wide operations; invalidate and flush of

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread Stephen Warren
On 10/18/2016 10:23 AM, Simon Glass wrote: Hi Stephen, On 17 October 2016 at 15:35, Stephen Warren wrote: From: Stephen Warren SoC-specific logic may be required for all forms of cache-wide operations; invalidate and flush of both dcache and icache (note that only 3 of the 4 possible combina

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread york sun
On 10/18/2016 11:14 AM, Stephen Warren wrote: > On 10/18/2016 09:28 AM, york sun wrote: >> On 10/17/2016 04:35 PM, Stephen Warren wrote: >>> From: Stephen Warren >>> >>> SoC-specific logic may be required for all forms of cache-wide >>> operations; invalidate and flush of both dcache and icache (n

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread Simon Glass
Hi Stephen, On 17 October 2016 at 15:35, Stephen Warren wrote: > From: Stephen Warren > > SoC-specific logic may be required for all forms of cache-wide > operations; invalidate and flush of both dcache and icache (note that > only 3 of the 4 possible combinations make sense, since the icache ne

Re: [U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-18 Thread Stephen Warren
On 10/18/2016 09:28 AM, york sun wrote: On 10/17/2016 04:35 PM, Stephen Warren wrote: From: Stephen Warren SoC-specific logic may be required for all forms of cache-wide operations; invalidate and flush of both dcache and icache (note that only 3 of the 4 possible combinations make sense, sinc

[U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-17 Thread Stephen Warren
From: Stephen Warren SoC-specific logic may be required for all forms of cache-wide operations; invalidate and flush of both dcache and icache (note that only 3 of the 4 possible combinations make sense, since the icache never contains dirty lines). This patch adds an optional hook for all implem