Re: [PATCH] arc: remove num-slots from arc platforms

2017-07-18 Thread Shawn Lin
Hi Vineet, On 2017/7/8 6:35, Vineet Gupta wrote: On 07/07/2017 01:13 AM, Alexey Brodkin wrote: Hi Shawn, On Wed, 2017-07-05 at 15:10 +0800, Shawn Lin wrote: dwmmc driver deprecated num-slots and plan to get rid of it finally. Just move a step to cleanup it from DT. Cc: Jaehoon Chung Signed-

[PATCH] NET: dwmac: Make dwmac reset unconditional

2017-07-18 Thread Eugeniy Paltsev
Unconditional reset dwmac before HW init if reset controller is present. In existing implementation we reset dwmac only after second module probing: (module load -> unload -> load again [reset happens]) Now we reset dwmac at every module load: (module load [reset happens] -> unload -> load again

[PATCH] arc: Hardcode ARCH_DMA_MINALIGN to max line length we may have

2017-07-18 Thread Alexey Brodkin
Current implementation relies on L1 line length which might easily be smaller than L2 line (which is usually the case BTW). Imagine this typical case: L2 line is 128 bytes while L1 line is 64-bytes. Now we want to allocate small buffer and later use it for DMA (consider IOC is not available). kma

Re: [PATCH] arc: Hardcode ARCH_DMA_MINALIGN to max line length we may have

2017-07-18 Thread Vineet Gupta
On 07/18/2017 07:31 AM, Alexey Brodkin wrote: Current implementation relies on L1 line length which might easily be smaller than L2 line (which is usually the case BTW). Imagine this typical case: L2 line is 128 bytes while L1 line is 64-bytes. Now we want to allocate small buffer and later use

[PATCH] ARC: reset: introduce HSDKv1 reset driver

2017-07-18 Thread Eugeniy Paltsev
The HSDK v1 periphery IPs can be reset by accessing some registers from the CGU block. The list of available reset lines is documented in the DT bindings. Signed-off-by: Eugeniy Paltsev --- .../bindings/reset/snps,hsdk-v1-reset.txt | 28 MAINTAINERS

Re: [PATCH] arc: remove num-slots from arc platforms

2017-07-18 Thread Vineet Gupta
On 07/18/2017 01:11 AM, Shawn Lin wrote: I'd prefer it goes via the tree which changed the driver in first place ! So does it mean that you are okay for mmc maintainer to pick this up with your and Alexey's ack? Yes please. Thx, -Vineet ___ linux-

Re: [PATCH 0/5] earlycon hang under some conditions

2017-07-18 Thread Brian Norris
Hi Jeffy, On Tue, Jul 18, 2017 at 02:02:53PM +0800, Jeffy Chen wrote: > I was testing earlycon with 8250 dw serial console. And it hangs in > these cases: > 1/ kernel hang when calling early write function after free_initmem: > a) the earlycon not disabled after the init code(due to keep_bootcon o

Re: [PATCH 0/5] earlycon hang under some conditions

2017-07-18 Thread Doug Anderson
Hi, On Tue, Jul 18, 2017 at 10:51 AM, Brian Norris wrote: > Hi Jeffy, > > On Tue, Jul 18, 2017 at 02:02:53PM +0800, Jeffy Chen wrote: >> I was testing earlycon with 8250 dw serial console. And it hangs in >> these cases: >> 1/ kernel hang when calling early write function after free_initmem: >> a