[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdXse+4E0=71ErEv6hiWQ7-G2eM8aQAh9dF8wCyCPLQOvA@mail.gmail.com>
Date: Sat, 7 May 2016 21:42:35 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Cc: Geert Uytterhoeven <geert+renesas@...der.be>,
"David S. Miller" <davem@...emloft.net>,
Yoshihiro Kaneko <ykaneko0929@...il.com>,
Simon Horman <horms+renesas@...ge.net.au>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
linux-renesas-soc@...r.kernel.org
Subject: Re: [PATCH v2 1/2 -net] ravb: Add missing free_irq() call to ravb_close()
On Sat, May 7, 2016 at 8:39 PM, Sergei Shtylyov
<sergei.shtylyov@...entembedded.com> wrote:
> On 05/07/2016 02:17 PM, Geert Uytterhoeven wrote:
>
>> When reopening the network device on ra7795/salvator-x, e.g. after a
>> DHCP timeout:
>>
>> IP-Config: Reopening network devices...
>> genirq: Flags mismatch irq 139. 00000000 (eth0:ch24:emac) vs.
>> 00000000 (eth0:ch24:emac)
>> ravb e6800000.ethernet eth0: cannot request IRQ eth0:ch24:emac
>
> Er, this can't be a message from the kernel built from net.git. That
> driver used 'ndev->name'
> to request both IRQs...
Oops, I copied the error message from the second patch.
I don't think it matters that much, though...
>> IP-Config: Failed to open eth0
>> IP-Config: No network devices available
>>
>> The "mismatch" is due to requesting an IRQ that is already in use,
>> while IRQF_PROBE_SHARED wasn't set.
>>
>> However, the real cause is that ravb_close() doesn't release the R-Car
>> Gen3-specific secondary IRQ.
>>
>> Add the missing free_irq() call to fix this.
>>
>> Fixes: 22d4df8ff3a3cc72 ("ravb: Add support for r8a7795 SoC")
>> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
>
>
> Acked-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists