Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5824007ybl; Tue, 10 Dec 2019 12:06:01 -0800 (PST) X-Google-Smtp-Source: APXvYqzrh2M8Zyx9mRRYxgMCuk3z6fRynrh4/iawoHTBj0IlTSv0TIePDz06Dy1wHpmgLvfFTYvV X-Received: by 2002:a05:6830:145:: with SMTP id j5mr26099144otp.242.1576008361004; Tue, 10 Dec 2019 12:06:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576008360; cv=none; d=google.com; s=arc-20160816; b=tMjEs0F1Q+mvlwk8+bjXkpjcPAEozAX5wlzOe+yk1SEbjAcdWJYdbfKLRFHW8egG8c Pf8wGSBUWEvR/nv3oyQQ/XyJvPBwfEV02hYlVjNwzbHZGJuV7tMxqfyIA4hgnFVUI6xx UMcz8T3fZoRyjnMY9f5dHsTUcQdikxz5b99/TlS7PGoe3+NpYFKyeYnvupr5xerjVNHc ANowPKDOmTLdz92zrgGXvvWUcO0w60q6IFpBCrXeGjSlrWAOXSGWZnmtMKx7l8Nr00r+ wrGyVbbJKdxEHED0In8mNMbUFjUyQkfwtTZ/0VwjQvCb6Sh2NmNvAp1EVAKPN3HLYzN7 nUmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ffu1c8lDFafmMWH7UIK/Jm4IFvQzvK0JEWcwhE/AfdQ=; b=FvgJOJt7wNAEbTARb5osltkM1TOCh5NiTk63ZcLmhmCL7vkuwxtHCLnzRH8MApuOeZ +aF6AjAguJlIx4mZBVT/oFbBNfCSsiDLskny2GoOpkJack8K1IaaWol80ZHnWpKoBeFa PV2WvxyOaC5CfsDwklfAl/uoC3RpDtc1oWEwowj7fioJ3oZaPf86xr3Fn6XucGoUXgyH uaHu7QVtMMaCkq1Mo7nNn805XgnErTOI5i2pEiLs71hxhDH5fd3xdvY7/0/1EaRpbb2u P/7+OiqTCV0DgvngLTuCvhxcymFeN6+nz7523agHPGzSojJirDNf0CoAhgy/5gmztfJ/ Es+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=NqY1B5Lj; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t23si2797399otp.234.2019.12.10.12.05.46; Tue, 10 Dec 2019 12:06:00 -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; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=NqY1B5Lj; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726619AbfLJUFC (ORCPT + 99 others); Tue, 10 Dec 2019 15:05:02 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:42316 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726018AbfLJUFC (ORCPT ); Tue, 10 Dec 2019 15:05:02 -0500 Received: by mail-ot1-f68.google.com with SMTP id 66so16668201otd.9; Tue, 10 Dec 2019 12:05:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ffu1c8lDFafmMWH7UIK/Jm4IFvQzvK0JEWcwhE/AfdQ=; b=NqY1B5LjJU0vM1d4WpeD0ZeoqgIt8hI6csNKV63oMHCy3CIGP/mE+VFXtRsCWysuOH cBLhJFhVVWspwhg/0iJ+LYahN59cIYX4PzSNnSoLhTclj18oWAVTNbPbGXKwVUcG1m5b vIqO9tIcWm1mHn3TDhenvm/Kb7y5VviWObIh9zOffAVbOM+2BsUKYe/3mp7ItszjjpU7 4r0dzTo0MHzXV0SdMbgtbegD81UW42uChbRS654dX25anJKmSBszdBRt0XPRpcJGh616 Zi7BSVuJofr6eR1H3qChHVMLTUpJyFOV8FSWll960WfMQRcJGW+9xU5/6Be4ts7TsrE1 dVPg== 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=ffu1c8lDFafmMWH7UIK/Jm4IFvQzvK0JEWcwhE/AfdQ=; b=WTd3AbWGofBBIl6yvzkncMGPhFjibDOCy5STmhtT3w+33Gze4vLtl159i+lZmpUn8Q TZpbUyaP4HyzLC3vkoyzx8z1iudHznYi89OpHFbKUcXM6gBJm37C/OAg6Ldbts3VYLyl +QnH51MuFMoqjHZNMPej/Nt20yh2V9VCqZ9g8iUp1xepRqB3tlt2YRgAWaFG0h1IXR21 yqyzTbYTPIbdMpG+VRJ0k8kNMCb9z97V+FnlzjvroO6YvUr5Gb4V2HaoIQpDEYLLYyJS O0KChN2lgEav1NOmdUpFkP/xBl6rAbjC7TbFDqQg+mmNpOocNQFyneDvQKAZplB6ky6L CQ7A== X-Gm-Message-State: APjAAAUA5jJ5r7LmNb57sehwLa1K+SUjJjeNus9fjnmtVCXB0zg2whZR 2a4v+WBsV//s9L6kUTf+6yejLO2u8PqwoBHBcy0= X-Received: by 2002:a05:6830:1b71:: with SMTP id d17mr19510797ote.42.1576008301566; Tue, 10 Dec 2019 12:05:01 -0800 (PST) MIME-Version: 1.0 References: <20191101143126.2549-1-linux.amoon@gmail.com> <7hfthtrvvv.fsf@baylibre.com> <7hfthsqcap.fsf@baylibre.com> In-Reply-To: <7hfthsqcap.fsf@baylibre.com> From: Martin Blumenstingl Date: Tue, 10 Dec 2019 21:04:50 +0100 Message-ID: Subject: Re: [RFC-next 0/1] Odroid C2: Enable DVFS for cpu To: Kevin Hilman Cc: Anand Moon , Neil Armstrong , Rob Herring , Jerome Brunet , devicetree , linux-arm-kernel , linux-amlogic@lists.infradead.org, Linux Kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 10, 2019 at 7:13 PM Kevin Hilman wrote: > > Anand Moon writes: > > > Hi Neil / Kevin, > > > > On Tue, 10 Dec 2019 at 14:13, Neil Armstrong wrote: > >> > >> On 09/12/2019 23:12, Kevin Hilman wrote: > >> > Anand Moon writes: > >> > > >> >> Some how this patch got lost, so resend this again. > >> >> > >> >> [0] https://patchwork.kernel.org/patch/11136545/ > >> >> > >> >> This patch enable DVFS on GXBB Odroid C2. > >> >> > >> >> DVFS has been tested by running the arm64 cpuburn > >> >> [1] https://github.com/ssvb/cpuburn-arm/blob/master/cpuburn-a53.S > >> >> PM-QA testing > >> >> [2] https://git.linaro.org/power/pm-qa.git [cpufreq testcase] > >> >> > >> >> Tested on latest U-Boot 2019.07-1 (Aug 01 2019 - 23:58:01 +0000) Arch Linux ARM > >> > > >> > Have you tested with the Harkernel u-boot? > >> > > >> > Last I remember, enabling CPUfreq will cause system hangs with the > >> > Hardkernel u-boot because of improperly enabled frequencies, so I'm not > >> > terribly inclined to merge this patch. > > > > HK u-boot have many issue with loading the kernel, with load address > > *it's really hard to build the kernel for HK u-boot*, > > to get the configuration correctly. > > > > Well I have tested with mainline u-boot with latest ATF . > > I would prefer mainline u-boot for all the Amlogic SBC, since > > they sync with latest driver changes. > > Yes, we would all prefer mainline u-boot, but the mainline kernel needs > to support the vendor u-boot that is shipping with the boards. So > until Hardkernel (and other vendors) switch to mainline u-boot we do not > want to have upstream kernel defaults that will not boot with the vendor > u-boot. > > We can always support these features, but they just cannot be enabled > by default. (I don't have an Odroid-C2 but I'm curious) should Anand submit a patch to mainline u-boot instead? the &scpi_clocks node could be enabled at runtime by mainline u-boot Martin