Re: [PATCH] ARC: IOC: panic if kernel was started with previously enabled IOC

2018-10-16 Thread Vineet Gupta
On 10/04/2018 06:12 AM, Eugeniy Paltsev wrote: > Disabling and reconfiguring of IOC are quite a tricky actions because > nobody knows what happens if there're IOC-ahndled tarnsactions in flight > when we're disabling IOC. > > And the problem is external DMA masters [that were initialized and set >

Re: [PATCH] ARC: IOC: panic if kernel was started with previously enabled IOC

2018-10-09 Thread Eugeniy Paltsev
On Fri, 2018-10-05 at 22:56 +, Vineet Gupta wrote: > On 10/04/2018 06:12 AM, Eugeniy Paltsev wrote: > > > > diff --git a/arch/arc/mm/cache.c b/arch/arc/mm/cache.c > > index f2701c13a66b..ee7b63e9c5e3 100644 > > --- a/arch/arc/mm/cache.c > > +++ b/arch/arc/mm/cache.c > > @@ -1144,6 +1144,25

[PATCH] ARC: IOC: panic if kernel was started with previously enabled IOC

2018-10-04 Thread Eugeniy Paltsev
Disabling and reconfiguring of IOC are quite a tricky actions because nobody knows what happens if there're IOC-ahndled tarnsactions in flight when we're disabling IOC. And the problem is external DMA masters [that were initialized and set in a bootlaoder that was executed before we got here]