Re: [OpenWrt-Devel] [PATCH] b53 switch driver memory leak and reset gpio pin initialization fix

2015-06-13 Thread blmink
Hi, Jonas I inserted trace points (pr_info) at functions in b53_common and figured out that driver behave wrong. Please have a look at this: ~~~cut~~~ root@(none):/# uname -a Linux (none) 4.0.4 #1 SMP Sat Jun 13 02:59:36 MSK 2015 mips64 GNU/Linux root@(none):/# root@(none):/# ifconfig eth0 up [

[OpenWrt-Devel] [PATCH] b53 kernel memory corruption fix

2015-06-09 Thread blmink
Hi, this patch fixes kernel memory corruption in b53 driver during device global reset, which causes kernel panic especially on 64bit platforms. Signed-off-by: Fedor Konstantinov --- Index: target/linux/generic/files/drivers/net/phy/b53/b53_common.c ===