Received: by 10.192.165.148 with SMTP id m20csp5051871imm; Tue, 8 May 2018 21:04:19 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoIu01MHZVAtYxSH1DwVaCSnM4h2up3EwYZzFLXxCP+ErT8yV1/fdtyBYd3Lq4YgGKSwYcq X-Received: by 2002:a63:ab45:: with SMTP id k5-v6mr20545217pgp.199.1525838658931; Tue, 08 May 2018 21:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525838658; cv=none; d=google.com; s=arc-20160816; b=zIqIyFPZupIEODcrFXtlcd7aq/kKEKiE716xo0OdnPz68hJKWgaFX6X10d3fiicDmg jmYR/EA0W4qLhZ56nZwdy4zqOigJmoCTik990GlgeiNcxJa0nHrnyZsqvSBG1Los1bLf zVIe/Hx+nIECFH0B+K3r03gOBrp4Hw5KZv2qZ/7QjBq+lGjX11pEzI1rLQbq19ViAFsl t42o7w23wzDVOzeVZoXTjagffJl11Xn8HKM7w+BEf89LmJVWg7WiveOa2PnAdPVy3DXR iOr28P+8LtS1vjelasY/V3spMA+oUahLXRkFe+sxN/je3jdvTLx6QgmzlpDL6ju3Rf3e DTLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=Jv88dJoeCggNhKrZJ46qY4rq5fZTmxXswW9CiWeFiEs=; b=WLrwP/kjMWUCf028MjFmLWKye3UzT/jjmId3XXymlZN8MWZdEbCVHpkKQuxvYGQnbg 5IzVYrqeOUfi9Bmxfyd92P5hLQ9pFC9kKbHwG1OWKAhLzqnxJC/XHrcke9HIGhFXJFpt 3BCVhQmrcfpeMID7JQ+EEDnMbTDxJ1rz+F50fVS5xk73vFrHse+DURIJSZDhON1C70J0 yXPuOGbVObrYJqGQ9i13ox7DA8Xk1h5mw1Kp3kRzF9Y2pXhhBjKJgxZQMxkUooYB5m/B s6yCrfew0OxMNEE+dKCyzsBbB5hLAcFRgTdx5LViadkqJzKKKEH1+cSbDns6TSHEXZOC Bi4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VigtIT0W; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u193-v6si20908645pgc.186.2018.05.08.21.04.04; Tue, 08 May 2018 21:04:18 -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=@linaro.org header.s=google header.b=VigtIT0W; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751366AbeEIEDG (ORCPT + 99 others); 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 Received: by mail-wr0-f181.google.com with SMTP id v5-v6so34286668wrf.9 for ; Tue, 08 May 2018 21:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Jv88dJoeCggNhKrZJ46qY4rq5fZTmxXswW9CiWeFiEs=; b=VigtIT0WU3ZOxw2bgpVxFw9OkFFF+evzDwjnsATOa4ZDvTH9tCCHgqFLCTaivXIHs+ e7fMr+G/H3qHH5UFsC1mPyL+hdxGNZww1pswoJ5qn2wkhEH6hrWvlov599QLLyzSvRyb r4sb0i3+TfUPtgIcVqj+gKcypoO2b/B4q7NXk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Jv88dJoeCggNhKrZJ46qY4rq5fZTmxXswW9CiWeFiEs=; b=F+k6z8eBrAquIqvi2FMO5YEdFB8QPjzjJj46Gt/bkqnknN4hm8QcLOXv61yfKOphcX 5+qalHvr5fKlc2WBqS2SJWQyS4XtEWfrLQHYBtXjz3LZ5RVLjW17vnYNaows+1Ir8cfh UwNfxA/77LdIPeC512sXZbv3+hcDkRwWcu9PPx7xFNS3WSSxvKmrzB9+b+mibfuDVdjh Qr6b0lOJRgBW5anlC5WlezHs4FuFT5UcavV8QlvQFcWd3b75Tgzh/vlPGLpOjk253VfR dQyEiRMS08e+yiWVx3+n/1ONz/yDnylvHsW8xyEv645VSpkgM7bDbl0WaISKDkjmHzpW hkLA== X-Gm-Message-State: ALQs6tBWrZ/Qj/thpAHexwXH6Up/9LFr3wdj2Glc79XeHzbircGfBhTi 3CKZ1PxRSeVb6zQdC/cvurnE8g== X-Received: by 2002:adf:91a2:: with SMTP id 31-v6mr34659766wri.124.1525838584091; Tue, 08 May 2018 21:03:04 -0700 (PDT) Received: from leoy-ThinkPad-X240s (li1489-133.members.linode.com. [139.162.172.133]) by smtp.gmail.com with ESMTPSA id r14-v6sm37250682wra.41.2018.05.08.21.02.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 May 2018 21:03:03 -0700 (PDT) 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 Precedence: bulk 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