From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A02EAC33CA8 for ; Mon, 13 Jan 2020 04:00:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7CA812082E for ; Mon, 13 Jan 2020 04:00:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387559AbgAMEAS (ORCPT ); Sun, 12 Jan 2020 23:00:18 -0500 Received: from regular1.263xmail.com ([211.150.70.200]:55596 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387415AbgAMEAR (ORCPT ); Sun, 12 Jan 2020 23:00:17 -0500 Received: from localhost (unknown [192.168.167.16]) by regular1.263xmail.com (Postfix) with ESMTP id C461E327; Mon, 13 Jan 2020 12:00:09 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-ANTISPAM-LEVEL: 2 X-SKE-CHECKED: 1 X-ABS-CHECKED: 1 Received: from [172.16.22.134] (unknown [103.29.142.67]) by smtp.263.net (postfix) whith ESMTP id P18165T140049830598400S1578887992586893_; Mon, 13 Jan 2020 12:00:09 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <9eb7b5f055a92b996cd0284f5589556f> X-RL-SENDER: jeffy.chen@rock-chips.com X-SENDER: cjf@rock-chips.com X-LOGIN-NAME: jeffy.chen@rock-chips.com X-FST-TO: robin.murphy@arm.com X-SENDER-IP: 103.29.142.67 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Message-ID: <5E1BEB37.2010904@rock-chips.com> Date: Mon, 13 Jan 2020 11:59:51 +0800 From: JeffyChen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20130126 Thunderbird/19.0 MIME-Version: 1.0 To: Robin Murphy , Dietmar Eggemann , Sudeep Holla CC: linux-kernel@vger.kernel.org, Brian Norris , Marc Zyngier , Douglas Anderson , Heiko Stuebner , Greg Kroah-Hartman , "Rafael J. Wysocki" Subject: Re: [PATCH v1] arch_topology: Adjust initial CPU capacities with current freq References: <20200109075214.31943-1-jeffy.chen@rock-chips.com> <20200110113711.GB39451@bogus> <5475692c-e72b-74c1-bd6e-95278703249b@arm.com> <15ab46e5-a2b4-eb96-1217-2b2ef8827f64@arm.com> <5E193828.1070000@rock-chips.com> <5fa797f8-3ba5-7e18-4eed-2d39904b2f72@arm.com> In-Reply-To: <5fa797f8-3ba5-7e18-4eed-2d39904b2f72@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Robin, On 01/11/2020 11:12 PM, Robin Murphy wrote: >> > > Actually, last time I looked both the BSP U-Boot and mainline do contain > equivalent code to initialise both PLLs to (IIRC) 600MHz and apparently > adjust a couple of other things set by the maskrom. The trap is that > mainline does it in the SPL - thus the unfortunately common combination > of using the upstream main stage with the miniloader ends up missing out > that step entirely. In comparison, I'm now using the full upstream > TPL/SPL flow on my RK3399 board (NanoPC-T4) and even a full generic > distro kernel is acceptably quick: > > [ 2.315378] Trying to unpack rootfs image as initramfs... > [ 2.781747] Freeing initrd memory: 7316K > ... > [ 4.239990] Freeing unused kernel memory: 1984K > [ 4.247829] Run /init as init process Oops, sorry for the noise, i've checked in the wrong u-boot code base... Will ask miniloader team to check that, thanks :) > > Robin.