[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5AJa7fs+VdA8jGE5mDnxp4ZQ6a9CjbSou5J+RA3uXUjxQ@mail.gmail.com>
Date: Thu, 21 Feb 2013 14:28:07 -0300
From: Fabio Estevam <festevam@...il.com>
To: Jim Baxter <jim_baxter@...tor.com>
Cc: netdev@...r.kernel.org, Li Frank-B20596 <B20596@...escale.com>
Subject: Re: [PATCH 1/1] net: fec: fix miss init spinlock
On Thu, Feb 21, 2013 at 2:07 PM, Jim Baxter <jim_baxter@...tor.com> wrote:
> Is the general issue in this driver that the fec_probe function:
> request_irq(irq, fec_enet_interrupt, IRQF_DISABLED, pdev->name, ndev);
>
> is called before fec_ptp_init() and fec_enet_init() have been called so that
> there is a chance the fec_enet_interrupt can occur before the hardware and data
> structures are fully setup?
The scenario you described is fixed by the patch that Frank proposed at:
http://patchwork.ozlabs.org/patch/222164/
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists