Re: [PATCH (net.git) 2/3] stmmac: fix PTP support for GMAC4

2016-11-02 Thread Rayagond Kokatanur
On Wed, Nov 2, 2016 at 12:04 PM, Giuseppe CAVALLARO wrote: > Hello Rayagond > > if patches are ok, can we consider you Acked-by ? Yes. > > Thx > Peppe > > > On 10/27/2016 12:51 PM, Rayagond Kokatanur wrote: >> >> On Thu, Oct 27, 2016 at 4:02 PM, Giuseppe CAVALLARO >> wrote: >>> >>> Hello Rayagon

Re: [PATCH (net.git) 2/3] stmmac: fix PTP support for GMAC4

2016-11-01 Thread Giuseppe CAVALLARO
Hello Rayagond if patches are ok, can we consider you Acked-by ? Thx Peppe On 10/27/2016 12:51 PM, Rayagond Kokatanur wrote: On Thu, Oct 27, 2016 at 4:02 PM, Giuseppe CAVALLARO wrote: Hello Rayagond ! On 10/27/2016 12:25 PM, Rayagond Kokatanur wrote: +static int dwmac4_wrback_get_rx_times

Re: [PATCH (net.git) 2/3] stmmac: fix PTP support for GMAC4

2016-10-27 Thread Rayagond Kokatanur
Hi Giuseppe, On Wed, Oct 26, 2016 at 12:26 PM, Giuseppe Cavallaro wrote: > Due to bad management of the descriptors, when use ptp4l, > kernel panics as shown below: > --- > Unable to handle kernel NULL pointer dereference at virtual > addr

Re: [PATCH (net.git) 2/3] stmmac: fix PTP support for GMAC4

2016-10-27 Thread Giuseppe CAVALLARO
Hello Rayagond ! On 10/27/2016 12:25 PM, Rayagond Kokatanur wrote: +static int dwmac4_wrback_get_rx_timestamp_status(void *desc, u32 ats) > { > struct dma_desc *p = (struct dma_desc *)desc; > + int ret = -EINVAL; > + > + /* Get the status from normal w/b descriptor */ > +

Re: [PATCH (net.git) 2/3] stmmac: fix PTP support for GMAC4

2016-10-27 Thread Rayagond Kokatanur
On Thu, Oct 27, 2016 at 4:02 PM, Giuseppe CAVALLARO wrote: > Hello Rayagond ! > > On 10/27/2016 12:25 PM, Rayagond Kokatanur wrote: >>> >>> +static int dwmac4_wrback_get_rx_timestamp_status(void *desc, u32 ats) >>> > { >>> > struct dma_desc *p = (struct dma_desc *)desc; >>> > + int