Re: [PATCH] interconnect: Disallow interconnect core to be built as a module

2020-05-18 Thread Viresh Kumar
On 18-05-20, 20:37, Bjorn Andersson wrote: > On Mon 18 May 20:31 PDT 2020, Viresh Kumar wrote: > > > On 18-05-20, 11:40, Bjorn Andersson wrote: > > > It most certainly does. > > > > > > With INTERCONNECT as a bool we can handle its absence with stub > > > functions - like every other framework

Re: [PATCH] interconnect: Disallow interconnect core to be built as a module

2020-05-18 Thread Bjorn Andersson
On Mon 18 May 20:31 PDT 2020, Viresh Kumar wrote: > On 18-05-20, 11:40, Bjorn Andersson wrote: > > It most certainly does. > > > > With INTERCONNECT as a bool we can handle its absence with stub > > functions - like every other framework does. But as a tristate then > > every driver with a call

Re: [PATCH] interconnect: Disallow interconnect core to be built as a module

2020-05-18 Thread Viresh Kumar
On 18-05-20, 11:40, Bjorn Andersson wrote: > It most certainly does. > > With INTERCONNECT as a bool we can handle its absence with stub > functions - like every other framework does. But as a tristate then > every driver with a call to the interconnect api needs an entry in > Kconfig to ensure

Re: [PATCH] interconnect: Disallow interconnect core to be built as a module

2020-05-18 Thread Bjorn Andersson
On Fri 15 May 00:11 PDT 2020, Greg Kroah-Hartman wrote: > On Fri, May 15, 2020 at 07:48:47AM +0300, Georgi Djakov wrote: > > On 9/12/19 19:33, Bjorn Andersson wrote: > > > On Thu, Aug 29, 2019 at 1:07 AM Viresh Kumar > > > wrote: > > >> > > >> Building individual drivers as modules is fine but

Re: [PATCH] interconnect: Disallow interconnect core to be built as a module

2020-05-15 Thread Greg Kroah-Hartman
On Fri, May 15, 2020 at 07:48:47AM +0300, Georgi Djakov wrote: > On 9/12/19 19:33, Bjorn Andersson wrote: > > On Thu, Aug 29, 2019 at 1:07 AM Viresh Kumar > > wrote: > >> > >> Building individual drivers as modules is fine but allowing a core > >> framework to be built as a module makes it

Re: [PATCH] interconnect: Disallow interconnect core to be built as a module

2020-05-14 Thread Georgi Djakov
On 9/12/19 19:33, Bjorn Andersson wrote: > On Thu, Aug 29, 2019 at 1:07 AM Viresh Kumar wrote: >> >> Building individual drivers as modules is fine but allowing a core >> framework to be built as a module makes it really complex and should be >> avoided. >> >> Whatever uses the interconnect core

Re: [PATCH] interconnect: Disallow interconnect core to be built as a module

2019-09-12 Thread Bjorn Andersson
On Thu, Aug 29, 2019 at 1:07 AM Viresh Kumar wrote: > > Building individual drivers as modules is fine but allowing a core > framework to be built as a module makes it really complex and should be > avoided. > > Whatever uses the interconnect core APIs must also be built as a module > if

[PATCH] interconnect: Disallow interconnect core to be built as a module

2019-08-29 Thread Viresh Kumar
Building individual drivers as modules is fine but allowing a core framework to be built as a module makes it really complex and should be avoided. Whatever uses the interconnect core APIs must also be built as a module if interconnect core is built as module, else we will see compilation