Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5922124ybl; Tue, 10 Dec 2019 13:48:53 -0800 (PST) X-Google-Smtp-Source: APXvYqzAQYKpX/SmmAgFf0ellVMgjjESCzo4vriZCtTrERnrzGDjlWWtZGJDX4HPmZRiVlyTfQmp X-Received: by 2002:a9d:588d:: with SMTP id x13mr26272100otg.6.1576014533821; Tue, 10 Dec 2019 13:48:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576014533; cv=none; d=google.com; s=arc-20160816; b=whYq617rXWqLYccNZ6rxislX44bfO+rSKv3nBwOnODjKn0WRocZItbu4ZFHcfPWVhu Fm0wQwScWV1IeKMSjclx9QIj6bjpWF5YchSUONrx3HCjm/tAcl9fH+NttMQlbGbkcm3A Bn2Z7Rij7zvQgbpqnIbgOtvPkD3q2qYXWUxIwqztCTFYfPqaDPk577LmNjpAu3mTBI10 jWMUj11c64BYFDE3LaZ82OCiiNB5kNk8mTj27nmj0SJR9uO6zomG9PUZ8NSmY5PkhFgi cWDRByoQDGKj25L2D1UbfZU9iuzO92BkZ3WvGkwcegw+h1Cpz/Br+sTQ+ODak2OlYddK H+zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=iqFEfJ5VTHI7kv90uHb92Xkx2XtyoVgSFCJnm1RQLQU=; b=pul1YMGvhhNoh9UoHdzWc/EDgOBmdmRlM5BVsjwPQaRBIWpmV+tH+xRmcPR2wl+lV8 h/Dx0lasBHO0zB/XAwZBR2gwhpDhDYLunBbgntPIjqyym7um88IwrB6BytN1QcpJDcsg edhVLqN49otib9kf4g4oYDp2P9pLXVVHTvLEc5h956YNKRjX3wuKrTRK7kWgkbHasdfk md8HwfWlmL3kUXKQXTv1yQdl/WvowvgP+mOb5k8QDhAXdQ4yydEbaDbwxMREMIEa4/QS D3dWGO8fSNtUQO9Mg8AmIycsAumpLUa4c2fn/5KMW4s0jUcxbbwUnGvjOLxX1/gdQLW8 jnjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=EFHEE4np; 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 q127si2655893oic.99.2019.12.10.13.48.41; Tue, 10 Dec 2019 13:48:53 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=EFHEE4np; 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 S1730004AbfLJVrN (ORCPT + 99 others); Tue, 10 Dec 2019 16:47:13 -0500 Received: from mail-pj1-f66.google.com ([209.85.216.66]:45703 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729694AbfLJVrM (ORCPT ); Tue, 10 Dec 2019 16:47:12 -0500 Received: by mail-pj1-f66.google.com with SMTP id r11so7904336pjp.12 for ; Tue, 10 Dec 2019 13:47:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=iqFEfJ5VTHI7kv90uHb92Xkx2XtyoVgSFCJnm1RQLQU=; b=EFHEE4npHM3CozjgfjX1aweI4Bpjv9tMkX7xoMDlYeDvYISZA1sB3lk/hc1BhVkwtP dIuPZnj/E+ceF7h3Lg/s6mSR+sX02nUmEwnoilqX5KdbLwi4R8FOG1pyrZwWvIxQul4l yDXbRQB8pTU8Q6o4BhW36BY/0LNhm55Qyx66I1fZVehSiVDY4Dy1hEe75GmrPHauDAn3 CYyTr50CFdq/4RtMbtJitPUhC98IGnL0uiQ87KciKaY12CPMslMMGAOlsmfy8DFhva2W Z5IaHcTcHflle6A/9NHtMDvq0Kxrofj54cjqMwbMsl2tqxES0SWNEBT+iqIYuS5mhuYB BTQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=iqFEfJ5VTHI7kv90uHb92Xkx2XtyoVgSFCJnm1RQLQU=; b=HUeTDcgTH2tjQ+qZtuwZERIkedaQY6FZcRNwEBYp0RWRYR9t9rt6PjZrPkoliF/zQb huZNJeG6wCnl9W5eOlOHXqlFq9PqFoOVO8yW4kRTxV0Z7ySstHsGCxAt6WWbTfuf05dD xnk2CZ2lL21hrIRcA5HoDlxE4yYLJjzyNAlj4rCn0a0HwqsJHNJRn+rB+bHaaN9wAkZp j2+MBCIVILiyCsxJKaFmh1xfj0A/j3OTjIFQ8vzjM8DDQDQYHkgTdpqjD7o4EbuuzFiI NlH0YmEzuBel9PjKI/AP6Pzm5nwPRxBl0UMJvacpvrfSYsLh4r51+iVPKN2jFoyUK0/+ Rb3Q== X-Gm-Message-State: APjAAAVDRVWxMaZlcvSDDPwDwBMvhVg6jUdjrr+9AVGuPXc41bs2Uh+R bhOH92UDW03vPxwiWjJRw0IUXw== X-Received: by 2002:a17:90a:86c7:: with SMTP id y7mr7936504pjv.102.1576014431457; Tue, 10 Dec 2019 13:47:11 -0800 (PST) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.gmail.com with ESMTPSA id z1sm4338pfk.61.2019.12.10.13.47.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Dec 2019 13:47:10 -0800 (PST) From: Kevin Hilman To: Martin Blumenstingl Cc: Anand Moon , Neil Armstrong , Rob Herring , Jerome Brunet , devicetree , linux-arm-kernel , linux-amlogic@lists.infradead.org, Linux Kernel Subject: Re: [RFC-next 0/1] Odroid C2: Enable DVFS for cpu In-Reply-To: References: <20191101143126.2549-1-linux.amoon@gmail.com> <7hfthtrvvv.fsf@baylibre.com> <7hfthsqcap.fsf@baylibre.com> Date: Tue, 10 Dec 2019 13:47:09 -0800 Message-ID: <7hpngvontu.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Martin Blumenstingl writes: > 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? It would be in addition to $SUBJECT patch, not instead, I think. > the &scpi_clocks node could be enabled at runtime by mainline u-boot That would work, but I don't know about u-boot maintainers opinions on this kind of thing, so let's see what Neil thinks. Kevin