Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3506177ybl; Sun, 12 Jan 2020 20:02:37 -0800 (PST) X-Google-Smtp-Source: APXvYqzRaw6IQHwFx4SMA+RgLnVKRCvYqm2hP1iA6xVbgUF3OhseeawMLQW4PcK+IdkYF2/0SWyq X-Received: by 2002:a05:6808:a83:: with SMTP id q3mr11629425oij.0.1578888157522; Sun, 12 Jan 2020 20:02:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578888157; cv=none; d=google.com; s=arc-20160816; b=bUJrRwVJj55c12nHUHUEvLkuoTxJ0+w2LRYwu2NZdIssEZSaKusKFdRjUjjfyQtesW vCdrYohxumsagSgC0vFoRtKpyB/cfYqbzlpDh7M+7/pRlHO7QQoSNOuh+McnGicykK1l Q4CimOF0p8GuOi3ljFHfQbb4AkgMLk1+yvhKq2TDoOpi0DzZVaqS5LDSU+wA+a4HCrHw NosMrT+EIcEbOEjF+tsj4GpvXlmOlz0h8ySOEBnYTqYOSGmc+ghuO0Z5GOT708AttjXi fYLdIHln62zZwM28tPhyeKfqlnx7dfDaBnppsf+Lq+mD5Dpj9URF2Y33x5o1PDy/lOLA nJEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :references:subject:cc:to:mime-version:user-agent:from:date :message-id; bh=XEbcJeo+ztl8G779g4vBgqv6xbZH0z2vzxvoIVoxj14=; b=s9h5/3rz5GlnnVITM6yEmc5oEgUsix0zWno5ffXoFNf1F4DMjvLATrTd16xLSme8Tg TRH2Xc+q4QUAxIb2tewq0rXJUq00RnaezPa1Nb0CNLzN0WoGXBgyducS7ctLFXYTr08/ hYWvRt/KkYSKhEkWlP1EB8eyPcnep0pn41TKpb4s/UWFZHU6yrm3qjSJ8T0Q7l68j2Mo dd5+sS+WcuX+R3arARIQEdRIMI3wGfzAcm7l8sDD7dRl4no96+n3f/yM8PpV+gkSlEWa c7yTSMUxNvuBmMae3K6HzFmI2DpaRy0tRBE2kXFhz7AqY6wxQe0NfygoF7GA+brEWHQB 1+BQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3si5148482oic.251.2020.01.12.20.02.25; Sun, 12 Jan 2020 20:02:37 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387548AbgAMEAS (ORCPT + 99 others); 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.