Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp95856ybk; Tue, 12 May 2020 16:30:38 -0700 (PDT) X-Google-Smtp-Source: APiQypI8pmRbA3WnfiIO4k/3PPkWMQ8U9H06wEvTrLbMlLTZmApWdFkT7avuNmLYbuGJ81m+Gy8e X-Received: by 2002:a50:9b58:: with SMTP id a24mr13648381edj.256.1589326238130; Tue, 12 May 2020 16:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589326238; cv=none; d=google.com; s=arc-20160816; b=OsqoxsKwzIpmG5axkT3SZCHrwOqBqOqg8K/BJpLD78dxm7G0DFOd834QV3b9furu3P 7q1eXstedZc5J9Lvpgifn6NRkpBHCpfX3+LBFzwMXmEJQwPDmJgtHzqXm+tPShkCKVSf MuAXgDKMpXWR4BABWmDZpa1P1Lg4GDNjfykDHbq51BJ72DYYeXPGupYVtJ3E0Ymd6CgF VyFHm2/GBcJ8w1k4tderu4EczKUdTZYvSKa1waw15OLUUlh/9DzjtU3anohDiBce82hC 5bnhveczusXinlCsKgrq6xYk3cjWY7iI3eV9VABA+HXB3GxnRnR7EbQZTPoye4AObGuG jVlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=wQXNcvMIvuLWXBulBjsu4xZzdHuqAR8TIZKekjTyhlo=; b=U1+pIIOAPYrjuIIFrrpMNGi8MdJWtP+gm0Qj43ez98bMLH7HPF31Cz77YeLHAUPQYg c5U3mSBmbPPveiibUXWFoQEfSy8jolfyGZNWkky+djZKaoeNkgIUcgPf0ea7v/XBU6gZ HEO6HEwds0DybLbHEOVI3JH2lwVTFZFFPHV/Nx9iouruuOvZwICxQyF7HuCnk6nm4wNR zV/W6VNlZtuqN4CVWsxMjt45ksLHTIMFHwLMuDimyfarArv7cZS9XdzrHXLWprVMxoPx Vd9YnpHAgXehCTTiQKPhtZen3aynFw0n1kdbvyof9V8KyalGf8Q5DHlp4mgYZnfnSz5a dx1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P3kGD60T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id j93si188695edd.458.2020.05.12.16.30.15; Tue, 12 May 2020 16:30:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P3kGD60T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1731648AbgELX01 (ORCPT + 99 others); Tue, 12 May 2020 19:26:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725938AbgELX01 (ORCPT ); Tue, 12 May 2020 19:26:27 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33449C061A0C for ; Tue, 12 May 2020 16:26:27 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id hi11so10278269pjb.3 for ; Tue, 12 May 2020 16:26:27 -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; bh=wQXNcvMIvuLWXBulBjsu4xZzdHuqAR8TIZKekjTyhlo=; b=P3kGD60Tv5PddUoiNeSk5xXwUVHvLr8agI3C6C8WLsfQDozJYIzFZ0lMUSwRFAPqr5 4EFSuXqSC+og26lTAhRn1qtMV9BX5ZyMdUkwohwcVlY/368tH2swkasQovIKKKqqFxky OrLOk+aFrN6IABcWZh4qrejDALHz39LiMN4KocGTHdUJKUGynHQDx2Nu8/PimfntZyGo OtgVgrkRpXzU8UNhGQD201B3QfyqA9GlGqypmNi1G1rvigKjvuQpjIpFg+vTQx0oGA1p Y0T1CdvzRyzCYUo05Vb9DAnMmqIEZLxjol/FyOl3iNzuKg7U6+sh5NCuyVg9Phc+uJ9C rZQA== 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; bh=wQXNcvMIvuLWXBulBjsu4xZzdHuqAR8TIZKekjTyhlo=; b=UYq0NApB82+dBtWb0zWfyjU5XmedMptcjZWQoFEe2hLfXvHMjXreNYPreZbWzR+PO6 wpLG/1UjW57NjPkRdaj8etlF3zTCOmJ2f+/jOiEOda+Og3cbF3K2YUpoxofy7FHZKhOA 5K/e7RgQzkhEaAAsfAA39bfGQQy4Ij3QkPS61uZ0E9aWamWmdGzpGVRk+BhlrM1+Rrr2 8bG2dKhKReR6Xk2D2cbeL/vsYE9y8v67L9zsK4pQL6kgVco9v26a+ClLQUrX/4EfMTsg 3d54trBBXiox55MOnKDj6lDamSIsoQqSa5K16jtcByQiwBV3tytfETk56LUP0NUi4WUR W4yA== X-Gm-Message-State: AGi0PuY911ij9Z7pmXuKPTpTVgQ3THW5dmmHR4NqoeqPrXhuRT3uGqf1 Cna99lvD0d/iX/MZWW/zfN3R/g== X-Received: by 2002:a17:902:bd42:: with SMTP id b2mr21186869plx.219.1589325986556; Tue, 12 May 2020 16:26:26 -0700 (PDT) Received: from builder.lan (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id i2sm4584284pgb.14.2020.05.12.16.26.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 16:26:25 -0700 (PDT) Date: Tue, 12 May 2020 16:24:53 -0700 From: Bjorn Andersson To: Ezequiel Garcia Cc: Baolin Wang , Ezequiel Garcia , LKML , linux-remoteproc@vger.kernel.org, Ohad Ben-Cohen , kernel@collabora.com Subject: Re: [PATCH] hwspinlock: Simplify Kconfig Message-ID: <20200512232453.GD16107@builder.lan> References: <20200414220943.6203-1-ezequiel@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 06 May 19:39 PDT 2020, Ezequiel Garcia wrote: > Hello, > > On Wed, 15 Apr 2020 at 10:33, Baolin Wang wrote: > > > > Hi Ezequiel, > > > > On Wed, Apr 15, 2020 at 6:09 AM Ezequiel Garcia wrote: > > > > > > Every hwspinlock driver is expected to depend on the > > > hwspinlock core, so it's possible to simplify the > > > Kconfig, factoring out the HWSPINLOCK dependency. > > > > > > Signed-off-by: Ezequiel Garcia > > > > Looks reasonable to me. > > Reviewed-by: Baolin Wang > > > > Gentle ping. > Applied. Thanks, Bjorn > Thanks! > Ezequiel > > > > --- > > > drivers/hwspinlock/Kconfig | 10 ++++------ > > > 1 file changed, 4 insertions(+), 6 deletions(-) > > > > > > diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig > > > index 826a1054100d..32cd26352f38 100644 > > > --- a/drivers/hwspinlock/Kconfig > > > +++ b/drivers/hwspinlock/Kconfig > > > @@ -6,9 +6,10 @@ > > > menuconfig HWSPINLOCK > > > bool "Hardware Spinlock drivers" > > > > > > +if HWSPINLOCK > > > + > > > config HWSPINLOCK_OMAP > > > tristate "OMAP Hardware Spinlock device" > > > - depends on HWSPINLOCK > > > depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3 || COMPILE_TEST > > > help > > > Say y here to support the OMAP Hardware Spinlock device (firstly > > > @@ -18,7 +19,6 @@ config HWSPINLOCK_OMAP > > > > > > config HWSPINLOCK_QCOM > > > tristate "Qualcomm Hardware Spinlock device" > > > - depends on HWSPINLOCK > > > depends on ARCH_QCOM || COMPILE_TEST > > > select MFD_SYSCON > > > help > > > @@ -30,7 +30,6 @@ config HWSPINLOCK_QCOM > > > > > > config HWSPINLOCK_SIRF > > > tristate "SIRF Hardware Spinlock device" > > > - depends on HWSPINLOCK > > > depends on ARCH_SIRF || COMPILE_TEST > > > help > > > Say y here to support the SIRF Hardware Spinlock device, which > > > @@ -43,7 +42,6 @@ config HWSPINLOCK_SIRF > > > config HWSPINLOCK_SPRD > > > tristate "SPRD Hardware Spinlock device" > > > depends on ARCH_SPRD || COMPILE_TEST > > > - depends on HWSPINLOCK > > > help > > > Say y here to support the SPRD Hardware Spinlock device. > > > > > > @@ -52,7 +50,6 @@ config HWSPINLOCK_SPRD > > > config HWSPINLOCK_STM32 > > > tristate "STM32 Hardware Spinlock device" > > > depends on MACH_STM32MP157 || COMPILE_TEST > > > - depends on HWSPINLOCK > > > help > > > Say y here to support the STM32 Hardware Spinlock device. > > > > > > @@ -60,7 +57,6 @@ config HWSPINLOCK_STM32 > > > > > > config HSEM_U8500 > > > tristate "STE Hardware Semaphore functionality" > > > - depends on HWSPINLOCK > > > depends on ARCH_U8500 || COMPILE_TEST > > > help > > > Say y here to support the STE Hardware Semaphore functionality, which > > > @@ -68,3 +64,5 @@ config HSEM_U8500 > > > SoC. > > > > > > If unsure, say N. > > > + > > > +endif # HWSPINLOCK > > > -- > > > 2.26.0.rc2 > > > > > > > > > -- > > Baolin Wang