Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E99B1C43381 for ; Sun, 24 Feb 2019 18:00:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BCB5C20652 for ; Sun, 24 Feb 2019 18:00:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ekXCrHEh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727922AbfBXSAl (ORCPT ); Sun, 24 Feb 2019 13:00:41 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:35123 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726206AbfBXSAl (ORCPT ); Sun, 24 Feb 2019 13:00:41 -0500 Received: by mail-wm1-f65.google.com with SMTP id y15so6039811wma.0 for ; Sun, 24 Feb 2019 10:00:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=4bedzZgK/Nw/ZeH6K7ySjy80D5OO1J66HYfWhfqrhfc=; b=ekXCrHEhzHz8fpMFoigVL3hIzXK5zpGSKoSZx4AX8Lqgbbkyy9OukyoOmBcduFJFgf JmYa4V19ZLZQYXQie6z7xARzRRf55PrOeS+0Q3MbgQeh1E4Ohf/xY8tmEigqlzQfY9Hr 0NE11eJidXFU1tCrveOh9iblWHtk3/aXtParwLSfruonuTGilrVRhLO8YEBN+Ln1fJ1u 5dvWSYN1Pv4aMK14vEcH7SLVhLsMe8yLi7+0AGB/qlCPx2Be/1ZS9y8Rv4Ex1ot293Ry 8UP4SYX+wUVs2Yrp3a0iOk5socMZImljsp51nGHl4c8zAb0Kme1QWyB6Cxrolp/3zIya Pspw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=4bedzZgK/Nw/ZeH6K7ySjy80D5OO1J66HYfWhfqrhfc=; b=DPBS5iNasmbYrNT1sABqMH9Lbu1KXIHm7PRyjukxy8wBx0p6tNztfzo/g9CIynU75m xetILxERD/iZZhgSADsJhL/p9kwvM2OeaKm2QMx8hS46poaXsnEUzKHEZ8jKZCnwHJs2 nO1hD+qADNthoknc9R0L/dV/V8+vKwAeeNwR28DXfpc3MktzO0BSU1uLB0+RypB3npZ+ lxx0gCtoQ+SrJAFE9WoEsXi+u0mm5VN5P2w4VOe9wgMiyZ3y/U0L0FExpKNGKUU1SXL8 +omxo5vsUIfgM9LlI/RzXIDvKirjiNlsVsHh69lCXkIE6JgfbfVFLqgp8aK0DDZnAj0+ 2exQ== X-Gm-Message-State: AHQUAuYGCUPhy1aX/kcWcme6JDE5Ai67LIwAIeGdrGy3RUsP6Mn4Pv73 P0NgKbaL896qgb63DqIW8gRqj+Fh X-Google-Smtp-Source: AHgI3IaCaV6h/cbeQcF9EsPe0heKBh6K4COT9GEUF8lI8gpXJUxmjHc0oHFoeWyVfxGmlifkfmJLlQ== X-Received: by 2002:a1c:6442:: with SMTP id y63mr8993823wmb.31.1551031239217; Sun, 24 Feb 2019 10:00:39 -0800 (PST) Received: from ?IPv6:2003:ea:8bf1:e200:1133:81d:72d3:c59f? (p200300EA8BF1E2001133081D72D3C59F.dip0.t-ipconnect.de. [2003:ea:8bf1:e200:1133:81d:72d3:c59f]) by smtp.googlemail.com with ESMTPSA id z15sm17845683wrh.18.2019.02.24.10.00.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Feb 2019 10:00:38 -0800 (PST) Subject: Re: [PATCH net] net: phy: fix reading fixed phy status To: Andrew Lunn Cc: Florian Fainelli , David Miller , "netdev@vger.kernel.org" References: <7ab8732d-bcc1-cc49-4bc8-34826e78038b@gmail.com> <20190224175710.GL26626@lunn.ch> From: Heiner Kallweit Message-ID: Date: Sun, 24 Feb 2019 19:00:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190224175710.GL26626@lunn.ch> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 24.02.2019 18:57, Andrew Lunn wrote: > On Sun, Feb 24, 2019 at 06:01:18PM +0100, Heiner Kallweit wrote: >> With the switch to phy_resolve_aneg_linkmode() we don't read from the >> chip any longer what is advertised but use phydev->advertising directly. >> For a fixed phy however this bitmap is empty so far, what results in >> no common mode being found. This breaks DSA. Fix this by advertising >> everything that is supported. For a normal phy this done by phy_probe(). >> >> Fixes: 5502b218e001 ("net: phy: use phy_resolve_aneg_linkmode in genphy_read_status") >> Signed-off-by: Heiner Kallweit > > Tested-by: Andrew Lunn > > But i tested on net-next, not net. > You're right, it should be net-next. I just had the wrong automatism fix = net in my mind. > Andrew > > Heiner