Re: [PATCH] sh_eth: Fix lost MAC address on kexec

2015-02-28 Thread David Miller
From: Geert Uytterhoeven Date: Fri, 27 Feb 2015 17:16:26 +0100 > 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

Re: [PATCH] sh_eth: Fix lost MAC address on kexec

2015-02-28 Thread David Miller
From: Geert Uytterhoeven geert+rene...@glider.be Date: Fri, 27 Feb 2015 17:16:26 +0100 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

Re: [PATCH] sh_eth: Fix lost MAC address on kexec

2015-02-27 Thread Ben Hutchings
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

[PATCH] sh_eth: Fix lost MAC address on kexec

2015-02-27 Thread Geert Uytterhoeven
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

Re: [PATCH] sh_eth: Fix lost MAC address on kexec

2015-02-27 Thread Ben Hutchings
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

[PATCH] sh_eth: Fix lost MAC address on kexec

2015-02-27 Thread Geert Uytterhoeven
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