Received: by 10.192.165.148 with SMTP id m20csp5042802imm; Tue, 8 May 2018 20:49:46 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpK0uJzieTSMNwHOSi72zuNzFjlxeOdITER7tw1KxfToi7fCOB/lPl2yMzroQxtTDYjTKuT X-Received: by 10.98.153.215 with SMTP id t84mr31481475pfk.252.1525837786504; Tue, 08 May 2018 20:49:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525837786; cv=none; d=google.com; s=arc-20160816; b=tG3v4nMrCVgVVNLeNIMSABlkr6XSaU7IirDBkoIEUpSMvmR/iSy7S0M7I5QzDRbOxd s3L0y5VeqGDMoyx2eFCDBhMjpJfURyIPCcTP4PdPieR0PuaYZGiVV0Tf8Aa1iLpaSsIO R+Y1rNinw0LsAWGk2Up0NLk5GzdgF1c8+AlgiXzX5GloZpObQVMkLCewf8IFjxGMiV6z rjdZneHFk7IREaE9R2ph/Cru5XWEWymn59b6fn1epopGXNx6rZ6AwfuYNTxeUarNlJTC WaYFu/DkaHCx4b1mtgq/QKboTtm7mzgUT0jeb1+rcYMJsx3o5du96KT7mM121giHRWEi 8tag== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=eRC2J2zxbqFdAtpxo6bTrmkQXf+xrUGU1U0lrWCXvEg=; b=PVeVR2rqZOJCIiq0SuvCeK0fzdDqQZlZr8M2MF0ZHmRP58y0aLgYx39AjgjvRmaXAp GS5PlAw3Kcgfly5PZy64hyfmWTUFF8AsBYLAInC4Y/yM5/LHCJhs8Xyi/dYZ8TeCh4q8 nkh2IXKQqVjEulvTm7Ch3yCrdmJBroo7wkIwl5ZYx7GN0ECSWs7jzrhtyB93n/421cVI 2hXvSiLYOfN+kTrF2/q+nN8Wq1pewM1+weiXr7Dgd7ks1r2JyMij+xkpk9iu4e5nlUQM +Buz3RXdUyUXLrjLm9+L90dPGepI/bnU4LRp9zQgYWg/loprXBQmIz7tOoaNPctLUY82 7mLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Dxjz0+6Y; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 62-v6si24603121ply.494.2018.05.08.20.49.31; Tue, 08 May 2018 20:49: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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Dxjz0+6Y; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933716AbeEIDtR (ORCPT + 99 others); Tue, 8 May 2018 23:49:17 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:53624 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932115AbeEIDtP (ORCPT ); Tue, 8 May 2018 23:49:15 -0400 Received: by mail-wm0-f50.google.com with SMTP id a67so21874692wmf.3; Tue, 08 May 2018 20:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=eRC2J2zxbqFdAtpxo6bTrmkQXf+xrUGU1U0lrWCXvEg=; b=Dxjz0+6YFGmNoQSyO/DegTkAEP4C7RKgQDdHEVQKzoRtpr+dk5C/ICsOr5TiaWRAo0 Tl8bNTNzrdyvQF8qw46NO6tTEOEOuC3HAPdb44XeMP+QD8xG7ROeGpcCqaPbnir5EcOV M3eYlZAUa/jGTZOm5SZNcXEQB9dOmHzDmSyrLhq9mV3sGgCa3PZJ3ciDTd+xLghn+pvN iV59K+yPQ+Oc+afCt4g4qgf+BkHEBgz3hT2JzcnFjuEEXRzMghdMrAyVCqQmWUsJuten ovxxFcBEdhqC5cecZRhi0EOm70YQl1oURHzZKFNBzu4Fedat5LkYEfYEPYC+P+n1ZpUT vPZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=eRC2J2zxbqFdAtpxo6bTrmkQXf+xrUGU1U0lrWCXvEg=; b=KwZvLcqljGwpqedKyzUw8AEzNaHG2tZzRGG6rvYaze4tTsFoisg3Dc+HCj6wFtBPHJ JRTrcCMSjEAvXXP9oGMfJSV0NRAQkcCtgWmiEqb3b6Aeg7a8Ri5TTca+0FnBi/N2XpCl PlHAFnWzJFPvfwTjIRzmMb8p1jr9YnkhB912/vZcel0kYiZmWsbUOOpt9YCE63xV5Px7 7auXRo6sajXqOn7CAJGcz9QBmk+qw7Q8kVfCEeWKf9fSodAONq/Ok0sjQzREOlExnSqP cDGQRfGwvdIyDhNI3P1/4LqmSffwD3OS6vLxQuDhyys8JJaZMl6kHRYKEDwkmMUAoUrn Krsg== X-Gm-Message-State: ALQs6tBMsnDHF/1NdskfEe1SIhFJpCWh3BlJ+f1L88DGJ9L96un0nhcz jUmInVOEaUZNgunVUrg3NnHrJcF8+6TtY6ItTuM= X-Received: by 2002:a50:8909:: with SMTP id e9-v6mr56608030ede.213.1525837754499; Tue, 08 May 2018 20:49:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.145.91 with HTTP; Tue, 8 May 2018 20:49:13 -0700 (PDT) In-Reply-To: <1522811675-12741-6-git-send-email-leo.yan@linaro.org> References: <1522811675-12741-1-git-send-email-leo.yan@linaro.org> <1522811675-12741-6-git-send-email-leo.yan@linaro.org> From: Jassi Brar Date: Wed, 9 May 2018 09:19:13 +0530 Message-ID: Subject: Re: [PATCH 5/5] hisi: Consolidate the Kconfigs for the CLOCK_STUB and the MAILBOX To: Leo Yan 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 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 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