Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4312705yba; Tue, 7 May 2019 16:11:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRwboR43Tcj9pxZU22zBo7+L7/vJRSWzv1HsWOffyGL8q5UCcwSYFFBXTR6eheH0qlU5vX X-Received: by 2002:a63:b48:: with SMTP id a8mr40603888pgl.368.1557270660543; Tue, 07 May 2019 16:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557270660; cv=none; d=google.com; s=arc-20160816; b=bxedqFbyghMHGZp7fK1OGl9ZcCFqopLJmA7TmSqzSYewtiSeO8PYB9/t3F8MFv47U/ uu6djJp7w4g6EDfvaeKLkxzzAhO8hteOI/8eBbYCo19oiWP7MUlJx9Poa43X7JvD9FgN GF/ziPJDNJF6GJYFQa5sjQMAcwVnqsFNZ1CaEoaMrKmYv9nAhhkaA/prsENL4p2gPmlH SC2Ne19zwum+YAVrisjT3QrQdHekO6DVZatEwDrKx3BSkpKqSsJk76LaJdOjFWjsuASj i8iv/yloy4tdpwYc4ws0KkwInALxgWMHAbLCisio/lDlklcogZq5j3SlAQnvragiCLJU uqRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vk0G5/KAtP9NDw7LHnLsf8NsNY0KwtVtgkW1AKkGjKQ=; b=lAnW6JEpLXvAiorsd42xpU7E8un//8p19tXli/Dv+3szSY/bDO7uaMobydKZuhdCHi N5ShsAJ7vP28BTjWbw5160TgqmG9zOzepeIkBm0eAeGR/8qkRrt93ZduaA6M3pI0sFg+ eLTLeMDNXbkWrNEmvdhWnheG7X6NC4r85QA/iMkB5RHwxtZT2XMtpdDyIM7WvXpSBK8D 4OuafbqWRJaRRtE7LcDu1JKJAUl+bg1OgrbX6Ck6/suwP6wscZrNMXdeyaRF3yB/kY/r Ktti3bCHzf69DLxMLrM7BvLSBqGAjJj/9PGZ1cc/7Da6PF4IEJ8Rl861uHhyHQqD8aAi YU+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u1CPd+tb; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2si19092572pgv.546.2019.05.07.16.10.44; Tue, 07 May 2019 16:11:00 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=u1CPd+tb; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726496AbfEGXJz (ORCPT + 99 others); Tue, 7 May 2019 19:09:55 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:42511 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726091AbfEGXJy (ORCPT ); Tue, 7 May 2019 19:09:54 -0400 Received: by mail-lj1-f194.google.com with SMTP id y10so9287549lji.9; Tue, 07 May 2019 16:09:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vk0G5/KAtP9NDw7LHnLsf8NsNY0KwtVtgkW1AKkGjKQ=; b=u1CPd+tbyoZQI1gzBERndNqWsMbS3AKZU4SiYvB3NKDoyr+iQDI+S7eYiCP3LUFwUN XHoIDcHXOLM2p9b9VoxLLfj9KtmvX9Y8iXkTG8GPZ4xyT59sad5tFTgF6RmJJwzA3Sm8 cIr+cOinLVxbBpm8dJaLh1dAoM8O6nKC3JmRnuuYaR5zKccd2VJqIP5r14JG5dHM5K7E 0Z6dLmXI0hDpyRpqGgjVeUvall8r5Bw1h03TqjklRbxHrtAh/XkikWBRQ41rm6v7ClIL NpGVVOEkF3iFy2pgOdrTlehEih+Oy+/+KePA8fFJs7xwS3jeYPPsofP6gVgF+AhvYjiC iu7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vk0G5/KAtP9NDw7LHnLsf8NsNY0KwtVtgkW1AKkGjKQ=; b=PMIM1+CMoe7q1MfRORC1ZgI74ZDXxpEcytN2o3hN6Fs/IE7nb+66odm2MOOy2knYag VITEc0h/yt9u+QTDqJpCvHQmdq0CwdRJ2VCMsWuqbF9zoNPUja5UdDQp6eW1AqK1wo7+ 4uofcOP1+zNv+XJ+OynFJ2dqOjGpMyQs1Wp2Q0MyHC9Wxg/sPMbNncpri//+aXK0tT/U 2h421vo3/CwKhFHhyFKby1KgYwME1gKjSxGHz3M4Lnf3DHrDh1bi7agpcqtSCf9Jgvsq 6R5j/Um9Nft1ENOq/dYVogIWDUQjj62igvXoxfDENKUEXyrt2R5WWWgVkzxFLB5w16Fa rU1w== X-Gm-Message-State: APjAAAXlhVM0mmv1UIWctF+Ds0TIsCsMtYfzToITWpTpuBmm6s3dWo4y JNhnwDOoipeHRoxxRXoctSQ2RyZuV4HP2bJKUx4= X-Received: by 2002:a2e:2b81:: with SMTP id r1mr4146671ljr.138.1557270592446; Tue, 07 May 2019 16:09:52 -0700 (PDT) MIME-Version: 1.0 References: <1556190530-19541-1-git-send-email-liuk@cetca.net.cn> In-Reply-To: From: Fabio Estevam Date: Tue, 7 May 2019 20:09:58 -0300 Message-ID: Subject: Re: [PATCHv2 1/2] ARM: dts: imx6sx: Use MX6SX_CLK_ENET for fec 'ahb' clock To: Andy Duan Cc: Aisheng Dong , Kay-Liu , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Sascha Hauer , dl-linux-imx , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, On Sun, May 5, 2019 at 5:15 AM Andy Duan wrote: > Nack the patch ! > > Firstly, i.MX6SX has ENET AHB bus clock for MAC, and currently it is set 200Mhz like clock tree: > IMX6SX_CLK_ENET_PODF 200Mhz -> IMX6SX_CLK_ENET_SEL -> IMX6SX_CLK_ENET_AHB > > IMX6SX_CLK_ENET the clock is IPG clock for ENET IP ipg_clk_mac0_s/ipg_clk_s. > (Please check RM Table 18-3. System Clocks, Gating, and Override) Ok, but could you please show us where in the Reference Manual the IMX6SX_CLK_ENET_AHB is mentioned? I don't see ENET_AHB in imx6qdl Reference Manual either and we don't have a ENET_AHB the clk-imx6q driver and nor in the devicetree, > Secondly, for your issue you caught, which was fixed by patch: > commit d7c3a206e6338e4ccdf030719dec028e26a521d5 > Author: Andy Duan > Date: Tue Apr 9 03:40:56 2019 +0000 > > net: fec: manage ahb clock in runtime pm Would this also fix the case where power management support is disabled? If I understand correctly the explanation from Kay-Liu he would still see a hang in the case when PM is disabled. Thanks