From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::444; helo=mail-wr1-x444.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 02B9C210FC0A1 for ; Wed, 22 Aug 2018 08:44:21 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id j26-v6so2011190wre.2 for ; Wed, 22 Aug 2018 08:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9kDhlO89u3x/QLYbqfja9OviKG0EuXCrW+3dnon85Y8=; b=UUzicwE3n98bNetILHWJUXeKqDpyVF8DrHYiRb0QWYzwWuBEM+TZlU6lPZDU1O0JK0 7tzck9If5MLQ+069JAFsJbC0ujNiIhKqiSclZYKfD42sGg35RCykArOPhpVqbV3gNxYD DPHI+g6lrRD3CwyEc5xqY6rmUjaKJcqqfZ5GE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=9kDhlO89u3x/QLYbqfja9OviKG0EuXCrW+3dnon85Y8=; b=bWUWLLigZE3QNkkqqROTNu0XZ7UgvEJxEOrpdYdMLQQwcUu1QsE9vSsB4GUpn3UHF8 qCd74wcfpDLBd+UiyaDbsz98TA/KgC9UxWPjtUZOO2fDGjAzNav9rirIN5AeWPA9fgXa Mf5aBWydvemuhjv4hV45Dk3rgJSyA8lPP0wCNpSBH+kHQXpGJaX5ve6AfjqxCEf0Whou 48Kd2SSRwyB14v+GrnC0iIH7zg3YA8IQJk/7TogYMszj+j4iPXI7/2Y4Dw3RMFTZq6P7 Z80Rty5IqJgqY1qmdyyT3Ntt0oSduKa/cP2NVGWhOj9SS2ooKoeZCeLloTPqMNI5FAKh cOvw== X-Gm-Message-State: APzg51Bq1ACNYiDPw/jreo78pSvJYSiHnq/xsh4jfDoLWCIzNNf3IGW5 wCDXXN4wo2oZWzeYnsTfE9VDlg== X-Google-Smtp-Source: ANB0Vda96ZdvN1u7xnPYVNdtiJSp0IB4vmEhazuoOyzjQmXKsqRum3IhUgt9Cv9A2Z36fBx2i9AIdw== X-Received: by 2002:adf:be81:: with SMTP id i1-v6mr13708344wrh.235.1534952660445; Wed, 22 Aug 2018 08:44:20 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id v133-v6sm4362187wma.36.2018.08.22.08.44.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Aug 2018 08:44:19 -0700 (PDT) Date: Wed, 22 Aug 2018 16:44:17 +0100 From: Leif Lindholm To: Ming Huang Cc: linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org, ard.biesheuvel@linaro.org, michael.d.kinney@intel.com, lersek@redhat.com, guoheyi@huawei.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, john.garry@huawei.com, xinliang.liu@linaro.org, ZhenYao Message-ID: <20180822154417.gvvdlebimstutkfx@bivouac.eciton.net> References: <20180814080903.50466-1-ming.huang@linaro.org> <20180814080903.50466-38-ming.huang@linaro.org> MIME-Version: 1.0 In-Reply-To: <20180814080903.50466-38-ming.huang@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH edk2-platforms v2 37/43] Silicon/Hisilicon/D06: Modify for close slave core clock. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2018 15:44:22 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Aug 14, 2018 at 04:08:57PM +0800, Ming Huang wrote: > From: ZhenYao > > When BIOS booting, the power consumption is too high, so need close > some clusters clock that don't work to reduce power consumption. > > The implementation of functions is in edk2-non-osi. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: ZhenYao This patch is not in Silicon/Hisilicon/D06. Fix the subject please. > --- > Silicon/Hisilicon/Include/Library/PlatformSysCtrlLib.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Silicon/Hisilicon/Include/Library/PlatformSysCtrlLib.h b/Silicon/Hisilicon/Include/Library/PlatformSysCtrlLib.h > index ec2b9a36e7..3ccfc6bee3 100644 > --- a/Silicon/Hisilicon/Include/Library/PlatformSysCtrlLib.h > +++ b/Silicon/Hisilicon/Include/Library/PlatformSysCtrlLib.h > @@ -102,5 +102,8 @@ VOID PlatformEventBroadcastConfig(VOID); > UINTN GetDjtagRegBase(UINT32 NodeId); > VOID LlcCleanInvalidateAsm(VOID); > VOID PlatformMdioInit(VOID); > +VOID DisableClusterClock(UINTN CpuClusterBase); > +VOID EnableClusterClock(UINTN CpuClusterBase); > +VOID DisableSocketClock (UINT8 Skt); > > #endif > -- > 2.17.0 >