Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp328396pxu; Wed, 14 Oct 2020 02:23:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpy3MIXu/WD8l1LD/vJccAaU7BeztG4+gSBMx+1jRjIW2VCMVNKEKthsBEBe32yeaPsNcR X-Received: by 2002:a17:906:39c8:: with SMTP id i8mr4049027eje.299.1602667379798; Wed, 14 Oct 2020 02:22:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602667379; cv=none; d=google.com; s=arc-20160816; b=MnfpGj7BvkY8FMwyfFTQJhTqzOkJ3nGREb3bnYFhR/HUsQs6gIV5ZxnK8zZylBDDDS FRBCJPbCgeVK40t53urEwdPo0I8nFJGxmlVNmFGOdiv2v6PIorMB50LZIDaJBxkAv/bd QPRAm/zweb1xaWX3Ux7SLQpVKJ6tKF8UTaQzH9+/WoZv2h4S3Z3w/R7wZVSHWhWoFqsa 4E+WRU8A0dX6gx8a77Ei/zKuuP5Y1uEU6qHQQLk/g86/0HwYyqtoGuu9gNPVHDLjsEcL QbMD6WoKkBlIUPMAzujRAhAbDyqC53Oby+EK0AvlLK5MB2sSsoanXYQ+r8rWrXH/ZvOU Zn3Q== 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=kB//nqoMYrgFKVVbmCReUvvlCp/OH9pTFa1D0WvNeK8=; b=MMXIGeRyRPn+y+OV6QBs9TQUDcLwRVGu/icYePuxAyNs9zSArViQ3PuKalxXFK1yay P3DJNFo4LwxgoDxoaH3rg9v3I2xuCJvbJAIVqK2sf0uagPGJpe310QV0UqOL5K+cA3iq GOXct0MwtYN6eXV6EESaZTPRS2PXku4ARpgO/rZJz59KPNmqk+4kwrs97fCS93Iu9ymP F7VA+XajFJPEFxsUE1IFreGrIiuyk7okIyi/XGXvx4CuCsLC14cdWFki3xaCuFpj2H7G +i8oW6QRmOqJaJuWtz/J0VfJHh6AIHuveRCnVVek6XUtmbmthZELodhjENJXWYQK35wG fZxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=Gl6vpxUK; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x26si1748079ejc.582.2020.10.14.02.22.37; Wed, 14 Oct 2020 02:22: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=@jms.id.au header.s=google header.b=Gl6vpxUK; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728776AbgJNJEt (ORCPT + 99 others); Wed, 14 Oct 2020 05:04:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727382AbgJNJEg (ORCPT ); Wed, 14 Oct 2020 05:04:36 -0400 Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A07B5C04585B; Tue, 13 Oct 2020 22:28:13 -0700 (PDT) Received: by mail-qt1-x841.google.com with SMTP id o21so1544478qtp.2; Tue, 13 Oct 2020 22:28:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kB//nqoMYrgFKVVbmCReUvvlCp/OH9pTFa1D0WvNeK8=; b=Gl6vpxUKtK+nwjlLO+SvrSUeR2dC+PEV5wmiGiSO4POlCr4RCSIgQ3LSh9oI8d/GvE 3SCz5zqjFohPG3bpCgc3pDGJbq7kbxfM78TQRlzSzCwMCDAMEbi7r8gN5Lx7EeR9WFzp ASIh0sC7J1hK0xf8PHJlMZ3xfkynkx3r+Txrk= 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=kB//nqoMYrgFKVVbmCReUvvlCp/OH9pTFa1D0WvNeK8=; b=U5oVH4eVCkdJEGqiktlNj6whxDVekGeblMKmTDVtzwKqiP6PnPYJVOGrncCcPuc0m0 W7FU8Cf/cE6L6mVIWhJaM90U7TOroh05mPCgABeR6iKoQ0foPQoSA4W+XRtDKkOkGt8v wEPxx+9c8B8aEywKFgqEDFH0iMD4ckYBntGEQXYzQ3003OQT1sPp6VkdlRPNF97Z2fMI gE1EQCI23EIiXxicJgt+xKDxPXoDY8AXnhXqGhAYLVyOVGuOlZb14i7sYycxYXDWhxUH kJeBvt/vAPpWTcbnSl1n7hm0qmYv6kNzbZ4zLkXKzS4X8si7phpgQE5f8xpWj7vOaCv6 4M7Q== X-Gm-Message-State: AOAM5326xXarde5RpqrbPuLKPZaLWCoNcjZSTV1T/57HTtJazosN3KuF hVE/YuDWIpMW3BpcPRf+d3BAchzN0n5cXoR1Fug= X-Received: by 2002:ac8:3674:: with SMTP id n49mr3177077qtb.385.1602653292820; Tue, 13 Oct 2020 22:28:12 -0700 (PDT) MIME-Version: 1.0 References: <20200928070108.14040-1-ryan_chen@aspeedtech.com> <20200928070108.14040-2-ryan_chen@aspeedtech.com> <160264382296.310579.9835482254268204873@swboyd.mtv.corp.google.com> In-Reply-To: <160264382296.310579.9835482254268204873@swboyd.mtv.corp.google.com> From: Joel Stanley Date: Wed, 14 Oct 2020 05:28:00 +0000 Message-ID: Subject: Re: [PATCH 1/1] clk: aspeed: modify some default clks are critical To: Stephen Boyd Cc: Andrew Jeffery , Michael Turquette , Ryan Chen , BMC-SW , Linux ARM , linux-aspeed , linux-clk@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 14 Oct 2020 at 02:50, Stephen Boyd wrote: > > Quoting Ryan Chen (2020-09-28 00:01:08) > > In ASPEED SoC LCLK is LPC clock for all SuperIO device, UART1/UART2 are > > default for Host SuperIO UART device, eSPI clk for Host eSPI bus access > > eSPI slave channel, those clks can't be disable should keep default, > > otherwise will affect Host side access SuperIO and SPI slave device. > > > > Signed-off-by: Ryan Chen > > --- > > Is there resolution on this thread? Not yet. We have a system where the BMC (management controller) controls some clocks, but the peripherals that it's clocking are outside the BMC's control. In this case, the host processor us using some UARTs and what not independent of any code running on the BMC. Ryan wants to have them marked as critical so the BMC never powers them down. However, there are systems that don't use this part of the soc, so for those implementations they are not critical and Linux on the BMC can turn them off. Do you have any thoughts? Has anyone solved a similar problem already? Cheers, Joel