Re: [PATCH v2 1/2] ARM: cache: Allow SPL to build cache-pl310.c

2022-08-08 Thread Tom Rini
On Mon, Aug 08, 2022 at 02:29:02PM +0200, Philip Oberfichtner wrote: > > > On Thu, 2022-08-04 at 07:05 -0400, Tom Rini wrote: > > On Thu, Aug 04, 2022 at 12:56:45PM +0200, Philip Oberfichtner wrote: > > > > > Before this commit, the SPL could enable the PL310 L2 cache [1], > > > but the > > >

Re: [PATCH v2 1/2] ARM: cache: Allow SPL to build cache-pl310.c

2022-08-08 Thread Marek Vasut
On 8/8/22 14:29, Philip Oberfichtner wrote: On Thu, 2022-08-04 at 07:05 -0400, Tom Rini wrote: On Thu, Aug 04, 2022 at 12:56:45PM +0200, Philip Oberfichtner wrote: Before this commit, the SPL could enable the PL310 L2 cache [1], but the cache maintenance functions from cache-pl310.c were

Re: [PATCH v2 1/2] ARM: cache: Allow SPL to build cache-pl310.c

2022-08-08 Thread Philip Oberfichtner
On Thu, 2022-08-04 at 07:05 -0400, Tom Rini wrote: > On Thu, Aug 04, 2022 at 12:56:45PM +0200, Philip Oberfichtner wrote: > > > Before this commit, the SPL could enable the PL310 L2 cache [1], > > but the > > cache maintenance functions from cache-pl310.c were only useable > > for > > non-SPL

Re: [PATCH v2 1/2] ARM: cache: Allow SPL to build cache-pl310.c

2022-08-04 Thread Tom Rini
On Thu, Aug 04, 2022 at 12:56:45PM +0200, Philip Oberfichtner wrote: > Before this commit, the SPL could enable the PL310 L2 cache [1], but the > cache maintenance functions from cache-pl310.c were only useable for > non-SPL builds. > > After enabling the cache one must be able to flush it, too.

[PATCH v2 1/2] ARM: cache: Allow SPL to build cache-pl310.c

2022-08-04 Thread Philip Oberfichtner
Before this commit, the SPL could enable the PL310 L2 cache [1], but the cache maintenance functions from cache-pl310.c were only useable for non-SPL builds. After enabling the cache one must be able to flush it, too. Thus this commit allows cache-pl310.c to be included in the SPL build. [1] See