Re: [BUG] Unable to handle kernel NULL pointer dereference in phy_support_asym_pause

2019-09-26 Thread Michal Vokáč
On 24. 09. 19 15:10, Michal Vokáč wrote: On 24. 09. 19 14:31, Andrew Lunn wrote: On Tue, Sep 24, 2019 at 01:27:24PM +0200, Michal Vokáč wrote: Hi, just tried booting latest next-20190920 on our imx6dl-yapp4-hydra platform with QCA8334 switch and got this: [7.424620] [<806840e0>] (phy_supp

Re: [BUG] Unable to handle kernel NULL pointer dereference in phy_support_asym_pause

2019-09-25 Thread Heiner Kallweit
On 24.09.2019 13:27, Michal Vokáč wrote: > Hi, > > just tried booting latest next-20190920 on our imx6dl-yapp4-hydra platform > with QCA8334 switch and got this: > > [    6.957822] 8<--- cut here --- > [    6.963550] Unable to handle kernel NULL pointer dereference at virtual > address 0264

Re: [BUG] Unable to handle kernel NULL pointer dereference in phy_support_asym_pause

2019-09-25 Thread Michal Vokáč
On 25. 09. 19 2:44, Andrew Lunn wrote: On Tue, Sep 24, 2019 at 03:10:44PM +0200, Michal Vokáč wrote: On 24. 09. 19 14:31, Andrew Lunn wrote: I added the printk and the above fix and can confirm that it is the CPU port and the phy is NULL pointer: [6.976366] qca8k 2188000.ethernet-1:0a: Usin

Re: [BUG] Unable to handle kernel NULL pointer dereference in phy_support_asym_pause

2019-09-24 Thread Andrew Lunn
On Tue, Sep 24, 2019 at 03:10:44PM +0200, Michal Vokáč wrote: > On 24. 09. 19 14:31, Andrew Lunn wrote: > I added the printk and the above fix and can confirm that it is the CPU > port and the phy is NULL pointer: > > [6.976366] qca8k 2188000.ethernet-1:0a: Using legacy PHYLIB callbacks. > Pl

Re: [BUG] Unable to handle kernel NULL pointer dereference in phy_support_asym_pause

2019-09-24 Thread Michal Vokáč
On 24. 09. 19 14:31, Andrew Lunn wrote: On Tue, Sep 24, 2019 at 01:27:24PM +0200, Michal Vokáč wrote: Hi, just tried booting latest next-20190920 on our imx6dl-yapp4-hydra platform with QCA8334 switch and got this: [7.424620] [<806840e0>] (phy_support_asym_pause) from [<80686724>] (qca8k_

Re: [BUG] Unable to handle kernel NULL pointer dereference in phy_support_asym_pause

2019-09-24 Thread Andrew Lunn
On Tue, Sep 24, 2019 at 01:27:24PM +0200, Michal Vokáč wrote: > Hi, > > just tried booting latest next-20190920 on our imx6dl-yapp4-hydra platform > with QCA8334 switch and got this: > > [7.424620] [<806840e0>] (phy_support_asym_pause) from [<80686724>] > (qca8k_port_enable+0x40/0x48) > [

[BUG] Unable to handle kernel NULL pointer dereference in phy_support_asym_pause

2019-09-24 Thread Michal Vokáč
Hi, just tried booting latest next-20190920 on our imx6dl-yapp4-hydra platform with QCA8334 switch and got this: [6.957822] 8<--- cut here --- [6.963550] Unable to handle kernel NULL pointer dereference at virtual address 0264 [6.974342] pgd = (ptrval) [6.979751] [0264]