Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753241AbbLDA6P (ORCPT ); Thu, 3 Dec 2015 19:58:15 -0500 Received: from mail-bn1bn0100.outbound.protection.outlook.com ([157.56.110.100]:57728 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750849AbbLDA6M (ORCPT ); Thu, 3 Dec 2015 19:58:12 -0500 X-Greylist: delayed 4736 seconds by postgrey-1.27 at vger.kernel.org; Thu, 03 Dec 2015 19:58:11 EST Authentication-Results: spf=fail (sender IP is 66.35.236.227) smtp.mailfrom=opensource.altera.com; gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=opensource.altera.com; Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=dinguyen@opensource.altera.com; Message-ID: <5660CD87.5050603@opensource.altera.com> Date: Thu, 3 Dec 2015 17:17:27 -0600 From: Dinh Nguyen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: David Daney , Pavel Machek CC: Florian Fainelli , "David S. Miller" , , , "linux-kernel@vger.kernel.org" Subject: Re: SoCFPGA ethernet broken References: <561FF9E2.30102@opensource.altera.com> <56200687.9040903@gmail.com> <562005AD.8020903@opensource.altera.com> <56200BD7.8020505@gmail.com> <20151203204811.GB14427@amd> <5660B2EC.1050705@caviumnetworks.com> In-Reply-To: <5660B2EC.1050705@caviumnetworks.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: SN1PR15CA0013.namprd15.prod.outlook.com (25.163.200.23) To BY1PR03MB1371.namprd03.prod.outlook.com (25.162.109.29) X-Microsoft-Exchange-Diagnostics-untrusted: 1;BY1PR03MB1371;2:YwDo5pUv2YEPhzVEZ1DDnapoZjJz8aoGKoHc+LZXUXW7hAzRuiLJOM+yb0PreKx4qwRAL4a3QkwnT6zSKRhmNFt5ApG0IXFTpTuzHBqfeBOFtc7xb497QFYsIZewk0ln2xwqB5g06qvxsNjD83sHNQ==;3:ZrFE0klJ07yPYk1mXog0N3DlTklnZt6VhVTQD5Nj27jy+Vd9qLM0wfxPvdZlwDQPjRAHtLsiSjcOFN97FuyNkG23l/bVncqYkzTxs++03WEKOZ1fl9KH+h64czvZ7UPh;25:TJ/ZRWx+31cCCAVzdiDwiy3WjwYxQYRLFYxcn9J5SMLnQwjQbKILQqe0nHl7qibx2rfEpahKJRA9Ym3AqPKkiUZQuNpWRKjl0fTH0q2GPsBr0qEa4V8qN4D1qQ5QP/HkNFodHL6UYIX6fVkHRpjDb6MXjTqTQ7lMHitfD8mrF+wrpCcIkggni+nDSYSlIN0B+tvpH6lCVZVI8V5RG0JH68rlu9FdOaw0ZrX2UkaTuls/wZBniz589da2UO6IZBfZpGqEb5PWwAar/d+GlgjJyg==;20:Gu5WZ3LxkDOvcXFMk8O3AKCU3HyFmzkdaneXO4F/VTxAW71I8fvrz7ahTGM4QFA0bi7RmprKp8H5FggbC5q9oA/8wJSbaqOvSXYWVR9kRYbHp0AosQtyOWyNYrFZmSdHFaBUgnzBi63lgpGEWVQMC6UWmf/46PswzZaMgwfG/fc= X-Microsoft-Antispam-Untrusted: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1371; X-LD-Processed: fbd72e03-d4a5-4110-adce-614d51f2077a,ExtAddr,ExtAddr X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(10201501046)(3002001);SRVR:BY1PR03MB1371;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1371; X-Microsoft-Exchange-Diagnostics-untrusted: 1;BY1PR03MB1371;4:fdmpbrcU48GUS406jsIFNC0GmewIj1eBFZrdSw/7L0d2C8RpNBMtlevznCad3SXNaQ6Yrd6MzuHW1M5Bz5a9I0eFdNfXn1xKBWrQdI+m5bg2OXCJztlQU//hJjXm2OJMJtC/0hGb6qFu/F5Z5nGzrOkuG42v88UwE5EvUjg9YOo2ayP7vpBHORivvPuv83QOtfb3mlBGo6oojuK5wLo4PoeINnpqBawSKLS2ipOPHBEU8ChfULhG8QWo7TH0WJMSBQC+6XNj+YPPwn+lcgkYnqVs6SmHaqRwe2VI27gX2WNNJEtXlpjEPFSgGox9g8yki1rmBPfGoOypxiik11/D30Keg8ZO1R8RI4VfzP2aaB8YRYDqVDXH4P28CmVgtfrU X-Forefront-PRVS: 077929D941 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(6049001)(6009001)(24454002)(377454003)(199003)(189002)(479174004)(377424004)(64126003)(5001960100002)(65956001)(42186005)(47776003)(86362001)(93886004)(5004730100002)(66066001)(65806001)(122386002)(106356001)(586003)(87266999)(83506001)(80316001)(230700001)(101416001)(97736004)(4001150100001)(189998001)(19580395003)(65816999)(54356999)(50466002)(33656002)(77096005)(3846002)(81156007)(76176999)(23746002)(2950100001)(92566002)(6116002)(4001350100001)(40100003)(50986999)(5001770100001)(1096002)(5008740100001)(87976001)(59896002)(105586002);DIR:OUT;SFP:1101;SCL:1;SRVR:BY1PR03MB1371;H:[137.57.160.210];FPR:;SPF:None;PTR:InfoNoRecords;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: =?Windows-1252?Q?1;BY1PR03MB1371;23:hfKFAL1gdZ+J27ekKXZTcALdjOWqMYS6mJJpv?= =?Windows-1252?Q?X+32RF97CL9Nkaa9UYUWas/wo6slKisqPMV+lsIrfeoNpAIFoCjAHN2l?= =?Windows-1252?Q?t9/TFEY5Cagc7poreoMV7YoFdLPM0xpZpZ0+gdmxxau6cXcQQOZA02J3?= =?Windows-1252?Q?sSMF7UWK0Vzx6tRumMNZrGbqPmfRRA53zQ4fJGiKqHcD7bkSzcslwnQ0?= =?Windows-1252?Q?xV1hiGu4gjRKIYMqaOpWN8js37kQN1OJ0MzS6Yif/xA44JXzCsmZlqJX?= =?Windows-1252?Q?VLrh7sBCQf3nmZ1gupxqB0+UAkvSgz94jIQMFXk8sx7YxrGw3Vx94gC8?= =?Windows-1252?Q?UkSw0kl3WCQipwyivt17Avc9al39dMJokZbjNmtCnjvY+N/PFxtRq9gD?= =?Windows-1252?Q?IsiL1K0IYvmC+LzfE6BEYAcUagl4dJmw7UGft0ocbKgGzlbFzSGnkXBj?= =?Windows-1252?Q?g4iOlTWFixEQgGTDuZLDzzKPqt/X4BKgXIj7f/mP5fBBv6vaAwyigKhg?= =?Windows-1252?Q?9X5ruvfYY3pkH6yeNu2/yMvULqHm1XdENMRdQ4QbM5e1Mps8k40CF0S7?= =?Windows-1252?Q?vAvM9y8mOpIz0FJLxMwg7jKukCi9iCjJDTr36I3nJgaPBQ7DzoY+ajLv?= =?Windows-1252?Q?DaLD6lQjpHM/eiF/M8+AU0daUH7lwX/NDcd0P84WQaUhgZDmKBUEJw3E?= =?Windows-1252?Q?RK6YDHCRaiXuoSROva0bJ/YEPoxzhtOd0ADfH+YG6xhCCQHtgjc0glz6?= =?Windows-1252?Q?K6pSgbFK2fRvm9U+S47NG68fwREPYM0STCyEt8WjqIzxu+fagJLQd7JR?= =?Windows-1252?Q?tqdz2dEvk+2g/D9rk6012tf06PASMeInHPLiGkglLFwpCkhIhwFXWa9w?= =?Windows-1252?Q?lXttJ5JoyOkExSNW+0r7tULEt+X7vIXL0PeAqqBf6uqhCRnctjVPviKN?= =?Windows-1252?Q?75kwdsVY9TTR5MbgFx5DlnPOm5wWFXDp3RZQ70nes3sMVpVqUpZSJ3hM?= =?Windows-1252?Q?FcY44CIizHZkb2CgvdX32+c7bhCyHYJ8WddUqj/USX5UOIMrZUT+9G6u?= =?Windows-1252?Q?zmnW2nIcqxev8QE3gF78q3Hr2SnEF5/avGOAcsfpUBUvppxbGb22q2dM?= =?Windows-1252?Q?LnPj8fUuo3JnSxauDac/YO8qPWbSBAW55+aKgP2l5YwmncZG88mAnkhe?= =?Windows-1252?Q?c/BVo+V//ORoaoJrC7e3OtJneW8s4ZX/2PtjV7ySONYnMt+Vsc4x+BZz?= =?Windows-1252?Q?4alzt9PBjfSCP3JjMsj/8auO0meZ4wQele3kE80FD+j0mXdzSuH1D7SI?= =?Windows-1252?Q?XrV36E1rJKqxuYvzISqyjOwZC234/14uotnAop346YPEOgcul96PimvY?= =?Windows-1252?Q?yZ+QxPnE4Jo3MMeRTipgUBHcupSfRkR2EU00P0CRWwBxojQ59B/yLC6g?= =?Windows-1252?Q?b1BYTN/UzU2CmLtp6G3?= X-Microsoft-Exchange-Diagnostics-untrusted: 1;BY1PR03MB1371;5:hKH5fjDEnWZZZoO0+799DHB5ZMEvgt4RJAHDiWnrzOrlUxVXyxdknVuKa70yB5I0LodQCObDyKZ0ewaddOQ8ATBcvKS65+mq+6yEgwTTYuAGUucbW5oQZOCcpR+0H5eK2epJRVYHSEB12Pgf7ip8lQ==;24:i/EJe9xJz48MPKG4MnuV8vN0Dq6uvB8cbgqdrHJJFr4ELGYDaJD4kmGvghHSKlwwYhd8mjoTC5E5pKfl0n++GIwiGyZzzzNO/3uAGtyVEIQ=;20:Js8yoM1P4S880A6epkrrToVGUIvxXUYouDx4QywLyycA9nRsqc9l/bA1788hazmou3RzbzT5QukjT/L3GsDxV/xRXtgGzkf76hKuFARdHchI7urmHlm8ZEceElM89ZvSB8Wy4/aYWM5n7hzAYPHKxrzTg/VopP74bdQcMmsacEw= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1371 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BY2FFO11FD013.protection.gbl X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD013;1:B7V5pTPN4nPBUw0SFDQWXVCHRp5XlUSyvvgsygfJZ3cOQGZ8BeKuyo21HkKps0Gn2FmleKmxrGzEqTace6B6POlnFgweCarCWaEBg3ORudPPVyl54F5h/0RiRFXZCYbCw9xSE4qB4edHWTvPAXjL+wPqQns25NuLQ+90JKdNY8NDRYpQMi7pqRzbrIO4cQzmtIYuBtFvO5fbsS/vq1Whhrued/Q3jUH9+9zr7Mq7HmRs2ZnRbPgwTkV9zQlmxhJWFvCanpABJx2vVEpEeqouZYEEX2ATCDbwntuF6VhE45KKj9je0+/hBHykaYR9AxfM2oGQMLlroGc+lW0GpxQhyNPxCznpY8MBLJSFOqMFRnnx7hA2dbxuVz42JmGOHLlQleU9TbR0PCUBIRRaRgv3IVeooHJXXmomjj8Ch5UbF3c= X-Forefront-Antispam-Report: CIP:66.35.236.227;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(1109001)(1110001)(339900001)(377424004)(189002)(199003)(479174004)(24454002)(377454003)(77096005)(4001350100001)(6070500001)(2950100001)(85426001)(81156007)(21840400001)(11100500001)(97736004)(87936001)(5001770100001)(33656002)(50466002)(5004730100002)(106466001)(65816999)(50986999)(87266999)(5008740100001)(76176999)(86362001)(54356999)(92566002)(4001150100001)(47776003)(19580395003)(16796002)(23746002)(230700001)(6806005)(93886004)(122386002)(3846002)(83506001)(105606002)(64126003)(1220700001)(6116002)(189998001)(90366008)(40100003)(586003)(65956001)(66066001)(65806001)(59896002)(80316001)(7099028);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2PR03MB436;H:sj-itexedge03.altera.priv.altera.com;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:0;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB436;2:N8AjZeoAsV7y+ZDLP/sXKQ0lIG8WF+NeSMF800QYeR0Lx+HURoTkROr4z1yoO8FL26jvNkmNt1cFlcziJ1h92sD6rw47h141SpaOnrHwJuUd1BTp4cWrlmD0KcEJMys65PlnjIPUQLH3fdERpOHKyg==;3:T2dPT3qSSGsSG6FzljMwEzWdjmT5c7T5vhmfbmfxLkXuuw/e9dnRbxbvZz3wIfDTNiBynXw2q0r6CQDcOJ6GbF6wO9ip5dKElHOlext4DHQynD6MiXWrHNPdh3uz8doEVz/GdhyJiFxhZCdVpTbb91vclWMs6mt/LgFAPDBp6PJiYIXNbkbsTHFvOaye4SrWpdoWzbE5XcZcnA12vU1FyZsPtSJ6PEKAy+QCpPx5GUs=;25:J7xjR2N5LCJ4HaKfim4qEiHoXeScJYBNRgPduqu3ob/Jc7mxz/cUMvZd+/uIjNrB1UJVH3HDsasjS2O5RZ8+uJb7i3E1OWsbRmWEdWXjB+uKuplyzls2rnUyWdYbs21kKsu1bhPmi/0L8C6eZteDWRggdvn7yi1l933sJte9U4/FVc0NHdeH7hUSjeHSmgyRdWb1If46GY3iHWbXI2p6YebiPvz6IPqwFqp+qecZuClYBptRR4UZ3VjEnTQqR6oOGF6EWvarxpYoLI+8EnxeWg==;20:zUEAamlRqGVsHDhqvXNdFbGxcPbDKdOHKpXyz8IPYvCG+4OqhifQhwkAJPQeoLT7H+VkrJw63f55h3GogpVJM3oVAm4AJDI3IxsmgHguM05E3KrUczEzP07qgLp0UZkXX9PrghjgEodb+TUcUaHaJckDj1uROtIG+qaoNTeyq4o= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB436; X-Forefront-PRVS: 077929D941 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;BL2PR03MB436;23:UJzUINoL66HFHiIdvZvAWoVmuFGy0hi6lws1K1?= =?Windows-1252?Q?E6yOg0BD2nguFIfpBqKca9RbCMzvU7z6MZhwLasNHtPnm+dRpzflMr/i?= =?Windows-1252?Q?HyDpEK00+JFP+pGvZVLAyYnClNifm8JoVbv85afWh5OYKg3tblk/Kdrv?= =?Windows-1252?Q?okaOrajPOmQSAMknRAi1+wJSePs2vHEjHOiwCcCOXmKFy/MrJ2LKua0h?= =?Windows-1252?Q?kPL4dgVYTxHlABNP/rPH9Fm8Jlty4yDVnqgSiwMui2Z2MGcUYAlmiLK+?= =?Windows-1252?Q?0Z0fyBS8dY1ZGapJToiERS5X47eWVru1ULTOnZYLC/Fch/UWkACaYVnG?= =?Windows-1252?Q?+hFTPte64EoilJjRpecUlRyOWBEBIQJnrpAU6m42WO94wfupv8PxQ7QZ?= =?Windows-1252?Q?NPDtW3UM4ms6nWxLoAKjG3frG49k59drZoEoYagvkKVWGuAtC4sH7uDF?= =?Windows-1252?Q?9NvPkFTUCFdq+G74CwlLNd8vXUQe64zRRyLHPaCHcwyyl0urq9uwkayz?= =?Windows-1252?Q?08qogV6xEXAxTv9q5/9Q3u9Ij4ey4kMQzRh+Lt33OTuh7YgT2/W+sCn6?= =?Windows-1252?Q?4mG4kQUf+sVFTn3am7ghdRFDp5WccNwblkTo6TSv0w18gNSNJiEK1TXp?= =?Windows-1252?Q?/BPE9vsN8TQ8v41K+6oj6QLEb1P6O/JvsQfIucU5bSupTMSTsQb0auAl?= =?Windows-1252?Q?rM1xbL9BAWtU9ZWEoIX9PItBeG/7nBz+/Nb814tiDQmD/oBSG74sm6wj?= =?Windows-1252?Q?7gPAZwdANJMeAzUrePqS0YGvnNFEv/6RkrcQAClroXi214q+T+xHoBuV?= =?Windows-1252?Q?pWVzK6uWYvKrt8S3/CepV3XLXI2nyVSb3JGYowxbPC3Y0mAAxJEM8ZQs?= =?Windows-1252?Q?A4Hi1YsHxbTLMjJHJbhqkDSFn6TtVACXOBZO0lVgUXEW7kHhRMBS9uRO?= =?Windows-1252?Q?yJCy56LWwcH7V2Vt+/57AUjYAVmRuNzRiOxd9IudtbJmyRDZLyGGTVB2?= =?Windows-1252?Q?rm2FGkuESM8KFjD2UtyOnDAFhouaSs+WRQwxLRIoXkH9h9yKrlGWboyt?= =?Windows-1252?Q?H1hBzAb8FIUmoP545FiFUFqMh6b4+8fX7ZcBeqNyK9bo0Z6yNoeYtN+6?= =?Windows-1252?Q?z3Jr2sjXnW6q9IYCsbB5GesYymchiMv+OT+mLVxH0MhslbJNeyanFMIu?= =?Windows-1252?Q?gcUS3w2YBwfKj/rrpcSntueFpRM3e8Td14REfSNXHNs1zZdzjUgGlvZe?= =?Windows-1252?Q?0aGg0qfD+PiX6ZALKREvsCwHJYvFZe+sQrHttezcAto++MzOzTZkiy1X?= =?Windows-1252?Q?HcOxDMzEBNC0d2hv2ia0zvCINc2UMOg561Y7tbaZDdpJiPlmzttEKii5?= =?Windows-1252?Q?LLkbH8SeGsu1SMr61vjuEwvVI9nDkZmq1uSEk73goLCCy7JQ1pGX8DQE?= =?Windows-1252?Q?GtXsdv9N3G4VEstk5cjxeGXoPVOLPaJ8wQ70ELwVMP96lGFpUqlYcDgS?= =?Windows-1252?Q?uKSlMo7zI4wFaqTqXBcb5AWC1pGCGhGbfP28WVh4mK38mbzSXIeqQIwe?= =?Windows-1252?Q?pQnc8y2P2K1sRRo7SYkxyWRSdP3t27ryZwhXzgVTj033/eBZ3KY/+Emz?= =?Windows-1252?Q?p3uWg2Vvjiwop0PukvAak=3D?= X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB436;24:S6GJBSpvANJh0qbf9cmCIoQETpnPMoyI2+ZYTPi2cltRgYprAgeL4r8gDm3ycSwSk1OdSs41lXNyNC+DRJOBIVTEMtQVVE+pBpeBAHCtoVM=;20:yvfhPweei6vaIArMyjFdWXm08KsZJ4escoGLF+CMt2vuFlnXrJEJ9qgZqzsKGYaP0oWDsZDJyXSaMh4z/Rt5WMJldPL6MHdxbUDgp8fnPissmp3YRaTPqjSC7W0njP2rjfAgHbQdT/IK29VVW78Iu36sD63crmnjEGJgCBCDAmM= X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2015 23:24:43.3783 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a;Ip=[66.35.236.227];Helo=[sj-itexedge03.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB436 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2898 Lines: 70 On 12/03/2015 03:23 PM, David Daney wrote: > On 12/03/2015 12:48 PM, Pavel Machek wrote: >> On Thu 2015-10-15 13:25:59, Florian Fainelli wrote: >>> On 15/10/15 12:59, Dinh Nguyen wrote: >>>> On 10/15/2015 03:03 PM, Florian Fainelli wrote: >>>>> On 15/10/15 12:09, Dinh Nguyen wrote: >>>>>> Hi, >>>>>> >>>>>> commit "8b63ec1837fa phylib: Make PHYs children of their MDIO bus, >>>>>> not >>>>>> the bus' parent." seems to have broken ethernet support for the >>>>>> SoCFPGA >>>>>> platform which is using the stmmac ethernet driver. >>>>> >>>>> It is not clear to me how this relates to what you are seeing yet. >>>>> >>>>>> >>>>>> It appears that during DHCP, it cannot get an IP address. This only >>>>>> happens if ethernet was not used by the bootloader to tftp an kernel >>>>>> image. If I use the bootloader to tftp an image then ethernet is >>>>>> working >>>>>> fine. So I think the PHY is not getting enabled properly. >>>>>> >>>>>> If I revert this patch, then ethernet is back to working on the >>>>>> platform. >>>>> >>>>> Is the Device Tree source for this platform available somewhere to >>>>> look at? >>>>> >>>> >>>> Yes, I'm using the DTS that is in the mainline: >>>> >>>> arch/arm/boot/dts/socfpga.dtsi >>>> arch/arm/boot/dts/socfpga_cyclone5.dtsi >>>> arch/arm/boot/dts/socfpga_cyclone5_socdk.dts >>> >>> There are no PHY devices in any of these DTS files, instead there is the >>> non-standard "phy-addr" property which is set to 0xffffffff supposedly >>> to indicate that the MDIO bus should be scanned. This is likely part of >>> your problem. The stmmac driver seems to be looking for "snps,phy-addr" >>> and not "phy-addr", so I am not even clear how this is supposed to work, >>> and the driver mentions this custom property is deprecated anyway. >>> >>> The core problem is in >>> drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c::stmmac_mdio_register >>> which manually detects the PHY, that is mostly fine, except that it does >>> not really seem to work here for a reason that is still unclear to me. >>> >>> Your Ethernet PHYs need to be declared in Device Tree, see >>> Documentation/devicetree/bindings/net/phy.txt >> >> While updating DTS might be good idea, I don't think you can simply >> blame this on DTS. If it worked before the change, it is supposed to >> work after the change, otherwise we call that change a "regression" >> and revert the change. > > FWIW: My initial patch to address the failure worked with the original DTB. > Can I ask what patch are you referring to? I was sidetracked for a while on this issue, but I still see it failing as of v4.4-rc3. I'll try to get back to debugging this. Dinh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/