Received: by 10.213.65.68 with SMTP id h4csp617385imn; Sat, 7 Apr 2018 06:02:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/X83TFtIjr5f31SnVbMVmRylYGzTi+roYgjEBigjm01eHrYKsYouPk6gmf9/m3v/rd1b8o X-Received: by 2002:a17:902:720a:: with SMTP id ba10-v6mr31473528plb.294.1523106166696; Sat, 07 Apr 2018 06:02:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523106166; cv=none; d=google.com; s=arc-20160816; b=XYwNW/kxKuAtDuW3Zi+X3NtzwaJ0lWtZiD45CB6Kh1CZX5g3+uYZ7bgxn7MO/S8Ez0 pRPr9RSTNlt+WdJ+0p17QuJz+NpgSdjw4iwDz+tbHl5IZMDNM/proDnwYE48ahTMwTai LszNMGlrppg3mqvtTPZSUH0Ox9KoIpN6u1fTROdKw61pbsSq9EMnNtb9nFLip9tNd//b 8aUcg0NrxezAkYSi3Db88J3/rspJYpW9jnjL4T6rc9UVvBWGqCJ1M5iaKhIznScs/Sat Ge8jz60h4yz5O69yXDR6i+mMB+x8+5P29DgWmZz/iBOWMQ8sbeJ4KhaX4h7hDl+aLRwl 2Grg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:message-id:in-reply-to :references:to:user-agent:from:content-transfer-encoding :mime-version:dmarc-filter:arc-authentication-results; bh=XHTTFmL0p4vbxtCbVdRBMeUabTFRbuquA367M/ihYBg=; b=o4jkozhVZjefKF8D0vcfRaKl09aspUofcxe18YNaawZRBrRFvxSjlGDMAGGJdlq2P6 dFoT+TBQHIv+xcytFezPHhC/X4+1JlbtQzwOQ7zzmpyEOaKwTbvrLaWul8dIoJN6PrnG 3TE4Rit5SEDojy69eCwojuvLCVJh/FGoplUryANq4fJHPkk1Ve/p4GLVREtxJ/HXZaxF dyR8LxMaotNEyOyiRFDqS+QFunck8gWm9ZE3iofG6jFvQRKUiI9sICuWn8GmzMqEIrXI K+QksvtTpniG1uWkupVWFJ9NpUmuULJNdykNx8ZSLR5Qlz7QpgKooQMHKCpSivkIxKZy F90g== 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 bc8-v6si330476plb.141.2018.04.07.06.01.32; Sat, 07 Apr 2018 06:02:46 -0700 (PDT) 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 S1751607AbeDGM44 convert rfc822-to-8bit (ORCPT + 99 others); Sat, 7 Apr 2018 08:56:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:36306 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751435AbeDGM4z (ORCPT ); Sat, 7 Apr 2018 08:56:55 -0400 Received: from localhost (unknown [104.132.1.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 02F13217D5; Sat, 7 Apr 2018 12:56:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 02F13217D5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=sboyd@kernel.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT From: Stephen Boyd User-Agent: alot/0.7 To: Arnd Bergmann , Daniel Lezcano , Guodong Xu , Haojian Zhuang , Jassi Brar , Kaihua Zhong , Leo Yan , Tao Wang , Wei Xu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1522811675-12741-1-git-send-email-leo.yan@linaro.org> <1522811675-12741-6-git-send-email-leo.yan@linaro.org> In-Reply-To: <1522811675-12741-6-git-send-email-leo.yan@linaro.org> Message-ID: <152310581432.180276.1794734900981310994@swboyd.mtv.corp.google.com> Subject: Re: [PATCH 5/5] hisi: Consolidate the Kconfigs for the CLOCK_STUB and the MAILBOX Date: Sat, 07 Apr 2018 05:56:54 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Leo Yan (2018-04-03 20:14:35) > From: Daniel Lezcano > > The current defconfig is inconsistent as it selects the mailbox and > the clock for the hi6220 and the hi3660 without having their Kconfigs > making sure the dependencies are correct. It ends up when selecting > different versions for the kernel (for example when git bisecting) > those options disappear and they don't get back, leading to unexpected > behaviors. In our case, the cpufreq driver does no longer work because > the clock fails to initialize due to the clock stub and the mailbox > missing. > > In order to have the dependencies correctly set when defaulting, let's > do the same as commit 3a49afb84ca074e ("clk: enable hi655x common clk > automatically") where we select automatically the driver when the > parent driver is selected. With sensible defaults in place, we can leave > other choices for EXPERT. > > Signed-off-by: Daniel Lezcano > --- Acked-by: Stephen Boyd Although I wonder why it can't be split up?