[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e2111ad0-1b3e-3295-1367-ca537e616f40@cogentembedded.com>
Date: Fri, 6 Jul 2018 18:39:35 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Vladimir Zapolskiy <vladimir_zapolskiy@...tor.com>,
"David S . Miller" <davem@...emloft.net>
Cc: Andrew Lunn <andrew@...n.ch>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
netdev@...r.kernel.org, linux-renesas-soc@...r.kernel.org
Subject: Re: [PATCH v2 01/14] sh_eth: fix invalid context bug while calling
auto-negotiation by ethtool
Hello!
On 7/4/2018 11:12 AM, Vladimir Zapolskiy wrote:
> Since commit 35b5f6b1a82b ("PHYLIB: Locking fixes for PHY I/O
> potentially sleeping") phy_start_aneg() function utilizes a mutex
> to serialize changes to phy state, however the helper function is
> called in atomic context.
>
> The bug can be reproduced by running "ethtool -r" command, the bug
> is reported if CONFIG_DEBUG_ATOMIC_SLEEP build option is enabled.
>
> Fixes: dc19e4e5e02f ("sh: sh_eth: Add support ethtool")
> Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@...tor.com>
[...]
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
The patch obviously does what it promises, however I'm still not sure
whether it should be placed after the next fix, not before...
MBR, Sergei
Powered by blists - more mailing lists