Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3550501pxk; Mon, 28 Sep 2020 23:04:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxy+0sHbROAKvR5zGZIcCVo7o1IfGIe4q3BkjoBQ7AP4p6sbdaYNQU1JNAl8+9ZtNC1XGD0 X-Received: by 2002:a17:906:1e51:: with SMTP id i17mr2343454ejj.103.1601359439972; Mon, 28 Sep 2020 23:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601359439; cv=none; d=google.com; s=arc-20160816; b=yGhzDlfseN9NJwU/ZBmVn6JnuL8c2x2SIcLWASSzkbpoESfoxzGPcTt3dLJttoNkT3 1XapJrV2wgAPHrxLlKTegHGjo98cz+A6cGAzFFTveOrcdnHfQgsXWhf1qmE0raUxgsCr uC511iwMqHLxRLO7I20JS3sDA/QUYJ9bTnVVhSn7VH665ewqS6Zlr3WZGomSzDPVPNqP 7WgYfMPIOU/GJMu1qub2E/w0NxGS2sf/KYX5QmrzmN6vdksYLWIg6/bED4MXpEy/BCTC pNZxx/SP3IjcRrzZOwA+B9NbkR8wNWM033hC5F/RrVR9qRFhp5SrsT1Xr4zzHfFxl+7a b9zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=2pMj28T6Gnzme5ijvO2L3EUhNGLWzy7xk/Tfgk0DFuA=; b=M0sojkB7vTu0joX54NHvbW/BdnkZhIfQQd9kR1op9hxXNibO7ltlV3V334Kb5UVMlg k92+iP1IJfyxfeV1L9QiqnZKZB/+LuI2gj7Hsw3B7OCA7UeyexaUhdPbGcXboFgAjxqq 6vyawFBVWax/4zMf1wcE53u4uuqQkYo8GOqjWCALIelbZM1aBPEVXsfiedDPN5h57RgH NHh6RdZP3HUs0FnyvTxSbOH56hzFKNnlUVnpwJp6xkGqnzivbkGSnc/YX8EPU8A/fWtI CP3UP5Lqfn8sfFC58G6iq/zfZa24WvHN7TiIs0KtcDT46nwesMDW/M9vZAtu6jg02FNv 4QwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intenta.de header.s=dkim1 header.b=E4T4vFjf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intenta.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id wq13si2065568ejb.722.2020.09.28.23.03.36; Mon, 28 Sep 2020 23:03:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intenta.de header.s=dkim1 header.b=E4T4vFjf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intenta.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727530AbgI2GCE (ORCPT + 99 others); Tue, 29 Sep 2020 02:02:04 -0400 Received: from mail.intenta.de ([178.249.25.132]:27218 "EHLO mail.intenta.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725468AbgI2GCE (ORCPT ); Tue, 29 Sep 2020 02:02:04 -0400 X-Greylist: delayed 322 seconds by postgrey-1.27 at vger.kernel.org; Tue, 29 Sep 2020 02:02:03 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=intenta.de; s=dkim1; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:CC:To:From:Date; bh=2pMj28T6Gnzme5ijvO2L3EUhNGLWzy7xk/Tfgk0DFuA=; b=E4T4vFjfZ4c73i5EgjlFdygr8nqy7rNoDnidcy/VX1njr6BnKcpN1JTowcXDC9mvP+sRlOKZxXKTJx8imNAH7eEeK/g6Nlil7PsurMzKCvLF9G9STXK/sg4Z92K8BK0kDyPLmdQIQn8LunDKMbIE5xOoCTMdSQlSZmpwIundp/KAC6Vn65IRM57VV48k4k83rMBkzlcbPJNqLam/36Ij4F1hj40bYX8eXYq9zSVW2aBolofBQNJpav3SLKihhibOt3SJIgANagPa46bVcPY6b6vbvDLBFMkHzxUfrp1SUsczO8hQA2cSCcGkdBbaP2z93DKLbQ7yQTjbeT5CazCUNA==; Date: Tue, 29 Sep 2020 07:56:30 +0200 From: Helmut Grohne To: Sasha Levin CC: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Alexandre Belloni , "David S . Miller" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "netdev@vger.kernel.org" Subject: Re: [PATCH AUTOSEL 5.8 08/29] net: dsa: microchip: look for phy-mode in port nodes Message-ID: <20200929055630.GA9320@laureti-dev> References: <20200929013027.2406344-1-sashal@kernel.org> <20200929013027.2406344-8-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20200929013027.2406344-8-sashal@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-ClientProxiedBy: ICSMA002.intenta.de (10.10.16.48) To ICSMA002.intenta.de (10.10.16.48) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sascha, On Tue, Sep 29, 2020 at 03:30:05AM +0200, Sasha Levin wrote: > From: Helmut Grohne > > [ Upstream commit edecfa98f602a597666e3c5cab2677ada38d93c5 ] > > Documentation/devicetree/bindings/net/dsa/dsa.txt says that the phy-mode > property should be specified on port nodes. However, the microchip > drivers read it from the switch node. > > Let the driver use the per-port property and fall back to the old > location with a warning. > > Fix in-tree users. I don't think this patch is useful for stable users. It corrects a device tree layout issue. Any existing users of the functionality will have an odd, but working device tree and that will continue working (with a warning) after applying this patch. It just has a property on the "wrong" node. I don't think I'd like to update my device tree in a stable update. If you apply it anyway, please also apply a fixup: https://lore.kernel.org/netdev/20200924083746.GA9410@laureti-dev/ Helmut