Bug 42992
Summary: | oops in sungem on powerpc | ||
---|---|---|---|
Product: | Drivers | Reporter: | seraph (seraph) |
Component: | Network | Assignee: | drivers_network (drivers_network) |
Status: | NEW --- | ||
Severity: | normal | CC: | kernel, szg00000 |
Priority: | P1 | ||
Hardware: | PPC-32 | ||
OS: | Linux | ||
URL: | https://bugs.gentoo.org/show_bug.cgi?id=401577 | ||
Kernel Version: | 3.2.12 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
seraph@xs4all.nl
2012-03-25 13:24:00 UTC
I have performed bisection on this bug, here are the final results: commit fe09bb619096a0aa139210748ddc668c2dbe2308 Author: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: Wed Jun 1 17:17:10 2011 +1000 sungem: Spring cleaning and GRO support This patch simplifies the logic and locking in sungem significantly: - LLTX is gone, all private locks are gone, mutex is gone - We don't poll the PHY while the interface is down - The above allowed me to get rid of a pile of state flags using the proper interface state provided by the networking stack when needed and overall simplify the driver a lot - Allocate the bulk of RX skbs at init time using GFP_KERNEL - Fix a bug where the dev->features were set after register_netdev() - Added GRO while at it Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David S. Miller <davem@davemloft.net> Oops, the copy-paste in my previous comment missed a few lines. Here is the full thing: fe09bb619096a0aa139210748ddc668c2dbe2308 is the first bad commit commit fe09bb619096a0aa139210748ddc668c2dbe2308 Author: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: Wed Jun 1 17:17:10 2011 +1000 sungem: Spring cleaning and GRO support This patch simplifies the logic and locking in sungem significantly: - LLTX is gone, all private locks are gone, mutex is gone - We don't poll the PHY while the interface is down - The above allowed me to get rid of a pile of state flags using the proper interface state provided by the networking stack when needed and overall simplify the driver a lot - Allocate the bulk of RX skbs at init time using GFP_KERNEL - Fix a bug where the dev->features were set after register_netdev() - Added GRO while at it Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David S. Miller <davem@davemloft.net> :040000 040000 e35e115d43f35bec92ace63e399535f149d6e6a4 1b992391e32179c137d3f42148ffa10c62aec65c M drivers |