[PATCH 2/6] net: davinci_emac: Fix runtime pm calls for davinci_emac

2015-01-15 Thread Tony Lindgren
Commit 3ba97381343b ("net: ethernet: davinci_emac: add pm_runtime support") added support for runtime PM, but it causes issues on omap3 related devices that actually gate the clocks: Unhandled fault: external abort on non-linefetch (0x1008) ... [] (emac_dev_getnetstats) from [] (dev_get_stats+0x78

Re: [PATCH 2/6] net: davinci_emac: Fix runtime pm calls for davinci_emac

2015-01-13 Thread Mark A. Greer
On Tue, Jan 13, 2015 at 12:54:40PM -0800, Tony Lindgren wrote: > * Felipe Balbi [150113 11:55]: > > On Tue, Jan 13, 2015 at 11:29:24AM -0800, Tony Lindgren wrote: > > > --- a/drivers/net/ethernet/ti/davinci_emac.c > > > +++ b/drivers/net/ethernet/ti/davinci_emac.c > > > @@ -1538,7 +1538,7 @@ stati

Re: [PATCH 2/6] net: davinci_emac: Fix runtime pm calls for davinci_emac

2015-01-13 Thread Felipe Balbi
On Tue, Jan 13, 2015 at 12:54:40PM -0800, Tony Lindgren wrote: > * Felipe Balbi [150113 11:55]: > > On Tue, Jan 13, 2015 at 11:29:24AM -0800, Tony Lindgren wrote: > > > --- a/drivers/net/ethernet/ti/davinci_emac.c > > > +++ b/drivers/net/ethernet/ti/davinci_emac.c > > > @@ -1538,7 +1538,7 @@ stati

Re: [PATCH 2/6] net: davinci_emac: Fix runtime pm calls for davinci_emac

2015-01-13 Thread Tony Lindgren
* Felipe Balbi [150113 11:55]: > On Tue, Jan 13, 2015 at 11:29:24AM -0800, Tony Lindgren wrote: > > --- a/drivers/net/ethernet/ti/davinci_emac.c > > +++ b/drivers/net/ethernet/ti/davinci_emac.c > > @@ -1538,7 +1538,7 @@ static int emac_dev_open(struct net_device *ndev) > > int i = 0; > > s

Re: [PATCH 2/6] net: davinci_emac: Fix runtime pm calls for davinci_emac

2015-01-13 Thread Felipe Balbi
On Tue, Jan 13, 2015 at 11:29:24AM -0800, Tony Lindgren wrote: > Commit 3ba97381343b ("net: ethernet: davinci_emac: add pm_runtime support") > added support for runtime PM, but it causes issues on omap3 related devices > that actually gate the clocks: > > Unhandled fault: external abort on non-lin

[PATCH 2/6] net: davinci_emac: Fix runtime pm calls for davinci_emac

2015-01-13 Thread Tony Lindgren
Commit 3ba97381343b ("net: ethernet: davinci_emac: add pm_runtime support") added support for runtime PM, but it causes issues on omap3 related devices that actually gate the clocks: Unhandled fault: external abort on non-linefetch (0x1008) ... [] (emac_dev_getnetstats) from [] (dev_get_stats+0x78