Received: by 10.223.176.5 with SMTP id f5csp805082wra; Sat, 3 Feb 2018 10:41:05 -0800 (PST) X-Google-Smtp-Source: AH8x226DSEJrsk+VYIz8GnL0x4xoFC5MBB1snMc7fJM5DAQypnt5cKT1ONmFkjXktykif+FPVTxa X-Received: by 10.99.114.15 with SMTP id n15mr7800974pgc.8.1517683265163; Sat, 03 Feb 2018 10:41:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517683265; cv=none; d=google.com; s=arc-20160816; b=DFJrcJtgq8pjxUPeZCahit4STNW/i5Bf5AEqadqDcubo/7YPt+pK0Gj6X7UFcREa3Z 0fv4HV/TLDj7/0tKn1/sF/bbmEYkrAq4Cq1xjRWcyMhAsxr60mzNBLKIHSD1/p68x237 c8sKzzEob/WwvIvmWvReSn6YwApllfxwSqCLLuYw8/DJWsXb8rtFNDonqb7/vRFMebrJ H1d331F5zw9fJyG4GTLhnGDPTlRUaN/WOGMR8HXnshaNrm7pa8qZq7vajG3NfFFnH8yB q6KgiUrQeoP1JGWKrpgbanhN1YcEDDrQoHXMm3f2osDyjXc2vM4TtA8OVIl91617730W f1BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=gPVttJzhxjxKsie7T9c56VhZGtLho8yEygIh2p9Ct3s=; b=uggh8BJ3Qy07BFGPD1O6Rv7P4TMuoc//mxzt/5zNk4f/FTR9qUsKJEEwq7Lmh8Yehr JqLvXj0KxPIQr6BluuxjHm9sozxxbXrWMH9tk1K3o61iMre2avKVu3j99zMjWjy1puyW 6KA8edtexw+1WYjFTeh+z+rTXsb6oGFLr4HqFP9PiJUd1xPZBng31zODIzSyOdyRjJHe 0Tva66E5I7+Z+BFs81K5Tdt/MoMJdd8WqBHAxp1Pyyb5np1u3nPArsGQrxMQsrAZTrO3 vsWbaO8GqvI2IroTZ+duReTfJmWmrPLhLdJTEnxDWZI6ejl9Pzn+h8UMlFk6D3Mf9C1h 4J4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Y2FuuKbj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l64si2043721pfg.149.2018.02.03.10.40.50; Sat, 03 Feb 2018 10:41:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Y2FuuKbj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754916AbeBCSjU (ORCPT + 99 others); Sat, 3 Feb 2018 13:39:20 -0500 Received: from mail-co1nam03on0092.outbound.protection.outlook.com ([104.47.40.92]:4928 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752623AbeBCSDi (ORCPT ); Sat, 3 Feb 2018 13:03:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=gPVttJzhxjxKsie7T9c56VhZGtLho8yEygIh2p9Ct3s=; b=Y2FuuKbjOcQfxy6hXn7aOOkoyyEU85Z9LJDf01ih81zXcidutMiG49FXvCEkKaXzip7+wbsCtzGsdlrEYosHtGe5kL2Ay4Pap1Lc7Kr3Z5tWoahwgzzhjuVkGbgDbpcvZKjIZ5JtP4B4ENJ/FyLSGx4j36/L03mXwwyIBaA8rQI= Received: from BL0PR2101MB1027.namprd21.prod.outlook.com (52.132.20.161) by BL0PR2101MB1092.namprd21.prod.outlook.com (52.132.24.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.485.4; Sat, 3 Feb 2018 18:01:29 +0000 Received: from BL0PR2101MB1027.namprd21.prod.outlook.com ([fe80::a8da:b5d9:d710:9bf9]) by BL0PR2101MB1027.namprd21.prod.outlook.com ([fe80::a8da:b5d9:d710:9bf9%3]) with mapi id 15.20.0485.006; Sat, 3 Feb 2018 18:01:29 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Bogdan Mirea , Vladimir Zapolskiy , Simon Horman , Sasha Levin Subject: [PATCH AUTOSEL for 4.14 054/110] arm64: dts: renesas: ulcb: Remove renesas, no-ether-link property Thread-Topic: [PATCH AUTOSEL for 4.14 054/110] arm64: dts: renesas: ulcb: Remove renesas, no-ether-link property Thread-Index: AQHTnRjv8rQBMd53EUyOQmi+09yLhA== Date: Sat, 3 Feb 2018 18:00:54 +0000 Message-ID: <20180203180015.29073-54-alexander.levin@microsoft.com> References: <20180203180015.29073-1-alexander.levin@microsoft.com> In-Reply-To: <20180203180015.29073-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BL0PR2101MB1092;7:yLFa+5gd7F89kAuZa3nph5FkYJ/oqk1A8N3hrZ48NBuPff5P54QkwGJ4NQgsm1wL3NBxI99+LAsrM/Y5Nnjq4eirbPb3MXiyufe32XOLn3QptjWmgzxQ+Y3yLbCFUQ5WWoq6bz4UDEmsgRvPV2xdwQBCsQNMkEKWa8Q+alli5F2Yt3BTvBP2V4wpZczoJFj9jXCxZL8qWfWSIxotT5hl6OKD/OYYmeLt8FQ2Pwyp6iSvJ/SugP7gzN5nwL+MS8p+ x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 68277a8d-ab56-432e-ca60-08d56b30266e x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7193020);SRVR:BL0PR2101MB1092; x-ms-traffictypediagnostic: BL0PR2101MB1092: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040501)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231101)(2400082)(944501161)(6055026)(61426038)(61427038)(6041288)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:BL0PR2101MB1092;BCL:0;PCL:0;RULEID:;SRVR:BL0PR2101MB1092; x-forefront-prvs: 05724A8921 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(39380400002)(376002)(346002)(396003)(366004)(189003)(199004)(3280700002)(14454004)(3660700001)(105586002)(3846002)(6666003)(22452003)(6116002)(99286004)(305945005)(7736002)(2950100002)(66066001)(478600001)(54906003)(110136005)(68736007)(316002)(86362001)(106356001)(186003)(26005)(59450400001)(6506007)(76176011)(6346003)(10090500001)(102836004)(6436002)(4326008)(8936002)(2501003)(53936002)(86612001)(2900100001)(6486002)(2906002)(6512007)(25786009)(97736004)(72206003)(1076002)(107886003)(36756003)(5660300001)(5250100002)(8676002)(81156014)(81166006)(10290500003)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:BL0PR2101MB1092;H:BL0PR2101MB1027.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: TsGpVtN2a/fwu7I8fMSoz8vabNMGMe9SqxB9oUMbiRwsymyxGEOqLmFh5XC7DG4LjnTrn+l32L+g9009Y1HRrA== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 68277a8d-ab56-432e-ca60-08d56b30266e X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2018 18:00:54.5034 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR2101MB1092 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bogdan Mirea [ Upstream commit 7d2901f809c110bd9a261e879d59efe62e3bc758 ] The present change is a bug fix for AVB link iteratively up/down. Steps to reproduce: - start AVB TX stream (Using aplay via MSE), - disconnect+reconnect the eth cable, - after a reconnection the eth connection goes iteratively up/down without user interaction, - this may heal after some seconds or even stay for minutes. As the documentation specifies, the "renesas,no-ether-link" option should be used when a board does not provide a proper AVB_LINK signal. There is no need for this option enabled on RCAR H3/M3 Salvator-X/XS and ULCB starter kits since the AVB_LINK is correctly handled by HW. Choosing to keep or remove the "renesas,no-ether-link" option will have impact on the code flow in the following ways: - keeping this option enabled may lead to unexpected behavior since the RX & TX are enabled/disabled directly from adjust_link function without any HW interrogation, - removing this option, the RX & TX will only be enabled/disabled after HW interrogation. The HW check is made through the LMON pin in PSR register which specifies AVB_LINK signal value (0 - at low level; 1 - at high level). In conclusion, the present change is also a safety improvement because it removes the "renesas,no-ether-link" option leading to a proper way of detecting the link state based on HW interrogation and not on software heuristic. Fixes: dc36965a8905 ("arm64: dts: r8a7796: salvator-x: Enable EthernetAVB") Fixes: 6fa501c549aa ("arm64: dts: r8a7795: enable EthernetAVB on Salvator-X= ") Signed-off-by: Bogdan Mirea Signed-off-by: Vladimir Zapolskiy Signed-off-by: Simon Horman Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/renesas/ulcb.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/re= nesas/ulcb.dtsi index 1b868df2393f..e95d99265af9 100644 --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi @@ -145,7 +145,6 @@ &avb { pinctrl-0 =3D <&avb_pins>; pinctrl-names =3D "default"; - renesas,no-ether-link; phy-handle =3D <&phy0>; status =3D "okay"; =20 --=20 2.11.0