[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1425091721.4444.91.camel@xylophone.i.decadent.org.uk>
Date: Sat, 28 Feb 2015 02:48:41 +0000
From: Ben Hutchings <ben.hutchings@...ethink.co.uk>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: "David S. Miller" <davem@...emloft.net>,
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@...esas.com>,
Simon Horman <horms@...ge.net.au>,
Magnus Damm <magnus.damm@...il.com>,
Kevin Hilman <khilman@...nel.org>, netdev@...r.kernel.org,
linux-sh@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sh_eth: Fix lost MAC address on kexec
On Fri, 2015-02-27 at 17:16 +0100, Geert Uytterhoeven wrote:
> Commit 740c7f31c094703c ("sh_eth: Ensure DMA engines are stopped before
> freeing buffers") added a call to sh_eth_reset() to the
> sh_eth_set_ringparam() and sh_eth_close() paths.
>
> However, setting the software reset bit(s) in the EDMR register resets
> the MAC Address Registers to zero. Hence after kexec, the new kernel
> doesn't detect a valid MAC address and assigns a random MAC address,
> breaking DHCP.
[...]
Sorry about that. This would also affect removing and reloading the
driver as a module, but currently I always have it built in and don't
use kexec.
Ben.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists