Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp406283pxb; Thu, 25 Feb 2021 05:52:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzznNc9o2e8rE6kWl/qUAQoZCA9NZ6nI2RtEVJbgSh+rLOTDPm/V5KDL/YaP6OjksAsO3fq X-Received: by 2002:a17:906:750:: with SMTP id z16mr2747831ejb.53.1614261140136; Thu, 25 Feb 2021 05:52:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614261140; cv=none; d=google.com; s=arc-20160816; b=RI28GvbzRpbWdhQIJeGFt5z9UONRRzvSQgGaCI2UTGIPZFxppSxFbMUWOpCFB/PhqO g2pfvFeyMDTXuBb+Z1FYQQsB3FbcTQYGM6GUIGfG8dS/RFtJOXIMe/aJzcaxKV+jFUDb 5yrpTbmtVKHcpubWUub+g2Zgvv4lipQg3/ogiN7kyFag9luJbOeHxtU5nycHK7HRoZ+L XKmquKoy0zrfxRmo+JTRClkf+wDPtIrZNlpN28LAiHDQdUMIO/5HO3hx0ljOZNBbNNiG YxIa5qzsYKiFl6BF8N5QFJsuX1XQhj3sQZbnqCmg+Ju6tA/QmSOPPvxv1Qs+gkDgndN1 udbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=UJpMiDeR5e81SLjna5kQPFiv7DjhNpdh1mQ36CWKCU0=; b=zUbzGj4NXVZdpcnnoz0k8R8ThKxXsNMrhB6g0R2Qjqk0MbKZ1H175+i2LdVe37UuST 81GV57JMeZpQsWgojnYCKbxgvChAN6B9HLeLiG/f7vcdAnpneENB2jO+QntP4GeqX6j5 b8QIsvw7D6pjWc/TjldnqWs4KsKvAXGZi5o027rpAWTmRqZzv0Cd7roLDuvM6/sI0JwT hXB4FZfhQ9DxrzO20f/kujDNZQBBHT1qBjYOS3LCVSZcS7LqRIF50n+8WdyDwpph1/kP ZNPybhKS4syti2EKVoEjj76SWjZyHW53/x0GKS/inKVDLj7szm38CgTCZ3YVdB8l/20o fKrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=d8JGs98H; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f7si3433810edd.14.2021.02.25.05.51.57; Thu, 25 Feb 2021 05:52:20 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=d8JGs98H; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232538AbhBYNti (ORCPT + 99 others); Thu, 25 Feb 2021 08:49:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232398AbhBYNtc (ORCPT ); Thu, 25 Feb 2021 08:49:32 -0500 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD8CEC061786; Thu, 25 Feb 2021 05:49:17 -0800 (PST) Received: by mail-io1-xd2f.google.com with SMTP id k2so451139ioh.5; Thu, 25 Feb 2021 05:49:17 -0800 (PST) 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=UJpMiDeR5e81SLjna5kQPFiv7DjhNpdh1mQ36CWKCU0=; b=d8JGs98H7pp/gCDG2m+l2j61WMZR/DLTYaw8mK4AwTDLq+eKyIAWdpZ78cbG60IOua fpN7QE/n/9uw8YEVnowSAaCgeABpWXq1Tz0Qe+QYOeTBtNxgxDrnk29KYpHc5Ohu75nz KCkH94n87xIv2kn7q4ePVkpGkRNUVENNSlfpqPGMW3RKPt/2um16vnR2ZLFOFiYpmK9d Zqmw1n6vVPPyy39AvLgQCldBnEHMbl8GVZUOxORVNes11BhYR/FizZ+xO5fPJsLjewpO 2LuPN1TH6ZFzqevmfP6QrDgxlsy1npQxke4Qi3MvVV74Dif+u3fy83JdRqWYe0xz+BdB AH7w== 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=UJpMiDeR5e81SLjna5kQPFiv7DjhNpdh1mQ36CWKCU0=; b=Kr1QtDrWt+tCC3cL4dObXcliy68a6u1p+Qo32LW0LqFq2J6UYvYPrQ7Ll4WnDP6ud/ 2Svb0m9WB+CJM6HiFYgGosX5YNudkcLhIyGKe8gONlBZGdFHD65nQ6BuKdqdGSQ1WtYX jFhIO4nbH+1B+sVt124LD3y9lKn4ls97C6fwrcm41wQawFP0SPgY9G5/kXDoeCwnFLAz z0mC4QV7tnwm6Va/52aNXOoPCB7/9v1adHVxjXTJTl8lUJ1CSHVm9UxLswk3S6MvedZb rGycKjKOHSIXb6HYcjzfmWk2ZkpfkMgOtvaL1QFGqYHli+7VmMBb5TH4CaTsH0VT+JyV +qUw== X-Gm-Message-State: AOAM530v9K97b8aHEGxTjK3Rbn8qcapncs89KpPLvcRbZZOrcyPQLWqx 6EUfVWaFaUBPOijQUq28UZqrwNutoqL71gIgDA03lL7S528= X-Received: by 2002:a5e:dd46:: with SMTP id u6mr2744670iop.73.1614260957176; Thu, 25 Feb 2021 05:49:17 -0800 (PST) MIME-Version: 1.0 References: <20210220065654.25598-1-heiko.thiery@gmail.com> <20210222190051.40fdc3e9@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20210223142726.GA4711@hoboy.vegasvil.org> <20210223161136.GA5894@hoboy.vegasvil.org> In-Reply-To: <20210223161136.GA5894@hoboy.vegasvil.org> From: Heiko Thiery Date: Thu, 25 Feb 2021 14:49:04 +0100 Message-ID: Subject: Re: [PATCH 1/1] net: fec: ptp: avoid register access when ipg clock is disabled To: Richard Cochran Cc: Jakub Kicinski , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, "David S . Miller" , Fugang Duan Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Richard, Am Di., 23. Feb. 2021 um 17:11 Uhr schrieb Richard Cochran : > > On Tue, Feb 23, 2021 at 04:04:16PM +0100, Heiko Thiery wrote: > > It is not only the PHC clock that stops. Rather, it is the entire > > ethernet building block in the SOC that is disabled, including the > > PHC. > > Sure, but why does the driver do that? That is a good question. I tried to understand the clock infrastructure of the imx8 but it looks quite complicated. I cannot find the point where all the stuff is disabled. -- Heiko