From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751397AbeEIEDG (ORCPT ); Wed, 9 May 2018 00:03:06 -0400 Received: from mail-wr0-f181.google.com ([209.85.128.181]:42392 "EHLO mail-wr0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751099AbeEIEDF (ORCPT ); Wed, 9 May 2018 00:03:05 -0400 X-Google-Smtp-Source: AB8JxZq9Kv/w4GHlgs0Nbty92qULWGnLNs8n5wBku7AUzU8cK1oCmY0j3Kj5rqypTL466dfprf8zsQ== Date: Wed, 9 May 2018 12:02:55 +0800 From: Leo Yan To: Jassi Brar Cc: Wei Xu , Arnd Bergmann , Stephen Boyd , Kaihua Zhong , Tao Wang , Daniel Lezcano , ", linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, srv_heupstream" , Devicetree List , Linux Kernel Mailing List , Guodong Xu , Haojian Zhuang Subject: Re: [PATCH 5/5] hisi: Consolidate the Kconfigs for the CLOCK_STUB and the MAILBOX Message-ID: <20180509040255.GF23540@leoy-ThinkPad-X240s> References: <1522811675-12741-1-git-send-email-leo.yan@linaro.org> <1522811675-12741-6-git-send-email-leo.yan@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 09, 2018 at 09:19:13AM +0530, Jassi Brar wrote: > On Wed, Apr 4, 2018 at 8:44 AM, Leo Yan wrote: > > 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. > > > Acked-by: Jassi Brar Thanks Jassi & Stephen. Wei, could you pick this patch? Thanks, Leo Yan