Re: [PATCH v7 2/2] drivers: soc: Add LLCC driver

2018-05-23 Thread rishabhb
On 2018-05-22 12:38, Andy Shevchenko wrote: On Tue, May 22, 2018 at 9:33 PM, wrote: On 2018-05-18 14:01, Andy Shevchenko wrote: On Wed, May 16, 2018 at 8:43 PM, Rishabh Bhatnagar wrote: +#define ACTIVATE 0x1 +#define DEACTIVATE0x2 +#define ACT_CTRL

Re: [PATCH v7 2/2] drivers: soc: Add LLCC driver

2018-05-22 Thread Andy Shevchenko
On Tue, May 22, 2018 at 11:40 PM, wrote: > On 2018-05-22 12:38, Andy Shevchenko wrote: >> On Tue, May 22, 2018 at 9:33 PM, wrote: >>> On 2018-05-18 14:01, Andy Shevchenko wrote: > +struct llcc_slice_desc *llcc_slice_getd(u32 uid) > +{ > + const struct llcc_slice_config *cfg;

Re: [PATCH v7 2/2] drivers: soc: Add LLCC driver

2018-05-22 Thread rishabhb
On 2018-05-22 12:38, Andy Shevchenko wrote: On Tue, May 22, 2018 at 9:33 PM, wrote: On 2018-05-18 14:01, Andy Shevchenko wrote: On Wed, May 16, 2018 at 8:43 PM, Rishabh Bhatnagar wrote: +#define ACTIVATE 0x1 +#define DEACTIVATE0x2 +#define ACT_CTRL

Re: [PATCH v7 2/2] drivers: soc: Add LLCC driver

2018-05-22 Thread Andy Shevchenko
On Tue, May 22, 2018 at 9:33 PM, wrote: > On 2018-05-18 14:01, Andy Shevchenko wrote: >> On Wed, May 16, 2018 at 8:43 PM, Rishabh Bhatnagar >> wrote: >>> +#define ACTIVATE 0x1 >>> +#define DEACTIVATE0x2 >>> +#define ACT_CTRL_OPCODE_ACTIVATE 0x1 >>>

Re: [PATCH v7 2/2] drivers: soc: Add LLCC driver

2018-05-22 Thread rishabhb
On 2018-05-18 14:01, Andy Shevchenko wrote: On Wed, May 16, 2018 at 8:43 PM, Rishabh Bhatnagar wrote: LLCC (Last Level Cache Controller) provides additional cache memory in the system. LLCC is partitioned into multiple slices and each slice gets its own priority, size, ID and other config param

Re: [PATCH v7 2/2] drivers: soc: Add LLCC driver

2018-05-18 Thread Andy Shevchenko
On Wed, May 16, 2018 at 8:43 PM, Rishabh Bhatnagar wrote: > LLCC (Last Level Cache Controller) provides additional cache memory > in the system. LLCC is partitioned into multiple slices and each > slice gets its own priority, size, ID and other config parameters. > LLCC driver programs these param

Re: [PATCH v7 2/2] drivers: soc: Add LLCC driver

2018-05-17 Thread Evan Green
On Wed, May 16, 2018 at 10:44 AM Rishabh Bhatnagar wrote: > LLCC (Last Level Cache Controller) provides additional cache memory > in the system. LLCC is partitioned into multiple slices and each > slice gets its own priority, size, ID and other config parameters. > LLCC driver programs these para

[PATCH v7 2/2] drivers: soc: Add LLCC driver

2018-05-16 Thread Rishabh Bhatnagar
LLCC (Last Level Cache Controller) provides additional cache memory in the system. LLCC is partitioned into multiple slices and each slice gets its own priority, size, ID and other config parameters. LLCC driver programs these parameters for each slice. Clients that are assigned to use LLCC need to