Re: [PATCH 02/11] firmware: arm_scmi: hide protocols' private data

2020-10-15 Thread Cristian Marussi
On Wed, Oct 14, 2020 at 12:19:43PM -0700, Florian Fainelli wrote: > On 10/14/20 8:05 AM, Cristian Marussi wrote: > > Protocols private data were meant to be used exclusively by protocol code > > but they are currently exposed through the handle, so available also to > > SCMI drivers: move them away

Re: [PATCH 02/11] firmware: arm_scmi: hide protocols' private data

2020-10-14 Thread Florian Fainelli
On 10/14/20 8:05 AM, Cristian Marussi wrote: > Protocols private data were meant to be used exclusively by protocol code > but they are currently exposed through the handle, so available also to > SCMI drivers: move them away from handle into instance specific data and > provide internal helpers to

[PATCH 02/11] firmware: arm_scmi: hide protocols' private data

2020-10-14 Thread Cristian Marussi
Protocols private data were meant to be used exclusively by protocol code but they are currently exposed through the handle, so available also to SCMI drivers: move them away from handle into instance specific data and provide internal helpers to let protocols implementation set/get their own priva