Re: [PATCH v5 3/3] interconnect: Allow inter-provider pairs to be configured
From: Krzysztof Kozlowski
Date: Wed May 27 2020 - 09:46:26 EST
On Thu, May 21, 2020 at 02:28:41PM +0200, Sylwester Nawrocki wrote:
> From: Artur ÅwigoÅ <a.swigon@xxxxxxxxxxx>
>
> This patch adds support for a new boolean 'inter_set' field in struct
> icc_provider. Setting it to 'true' enables calling '->set' for
> inter-provider node pairs. All existing users of the interconnect
> framework allocate this structure with kzalloc, and are therefore
> unaffected by this change.
>
> This makes it easier for hierarchies like exynos-bus, where every bus
> is probed separately and registers a separate interconnect provider, to
> model constraints between buses.
>
> Signed-off-by: Artur ÅwigoÅ <a.swigon@xxxxxxxxxxx>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>
> ---
> drivers/interconnect/core.c | 11 +++++------
> include/linux/interconnect-provider.h | 2 ++
> 2 files changed, 7 insertions(+), 6 deletions(-)
Acked-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
Best regards,
Krzysztof