Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3120400pxj; Mon, 7 Jun 2021 02:51:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySWtb7Oshjb6F36NMKVVGBbcZ/PYcXgZUCLjtB9ALmM+Uo742Kazt5m4SQFSxz1zYKUIPu X-Received: by 2002:aa7:d8d8:: with SMTP id k24mr18802442eds.253.1623059483476; Mon, 07 Jun 2021 02:51:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623059483; cv=none; d=google.com; s=arc-20160816; b=dfn9+wnt2qU+Ccpdg7IYAk3ovYzpRgPXtf6KQFYjq7DHUQOpaL9ZzXYN/Ck7g7Ozth jNmV99WyQqEL6GgfemCkO1fOW0nOuOl6ZccLUxjPBhb+C+E8JN7fXnUsKbopk0gnJfdS JFIEd7H6f7npiRcJ0DheO2OZxYo5MpUYgjVuQArIe5F/8Jh+I264crieFSrLbVynvu9x SD3esxMXQbv5Bg4UV3H6TceRb1x5D+HEIE3EFgOBeMkI3OOkOCPbg96CISk0pxjgNkOi Kt32QsZTyEpImVM0RTRTL5c+AE3TpLyiZhkBSqg1EevAKX5R2AGUPLABTYY+Fm1JJ46A RlBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=QiliWLx+y/VNOTgjP7gr1OKXBEdRepem6oUg6lhcDLY=; b=ay1X+drl7w0JMrSYQaHKJIMZX0nZyzYYXzF1J96FWxM21llNAui6OlMpJoLITVopfH qPm8KjsEZZZCGPmDvUwfIhLD4HIzwQJa2cRwwmt/0QJpRTiGcAL3F/I39NlAv5vw2F32 gcUaT8IhOvdDq2beE+HGiW9gzR3u8B15zxA02skyUSl2fdJ+7GVE6Qg973eoFxj3rK84 n+Q9A9eFRNACLtKGI4Ya4VR2vsU4wYvh/rK0Xqa6eovMC/eNgpt4wRm+iMfgy/sRfVfj w/+/NYdiMhS7NXpZdsu5Xf5Ccy+317vnuMdDOgTClcD3gAR+Dklc34IZrSr8WO0WTuTy ZJbQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a16si11579847eds.411.2021.06.07.02.51.01; Mon, 07 Jun 2021 02:51:23 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230311AbhFGJvj convert rfc822-to-8bit (ORCPT + 99 others); Mon, 7 Jun 2021 05:51:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230173AbhFGJvj (ORCPT ); Mon, 7 Jun 2021 05:51:39 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2258EC061766 for ; Mon, 7 Jun 2021 02:49:48 -0700 (PDT) Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqBtC-00016G-MT; Mon, 07 Jun 2021 11:49:46 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1lqBtB-000355-RN; Mon, 07 Jun 2021 11:49:45 +0200 Message-ID: <562cabc4162d9f2c0fb3a307213ec1c5b4bb5535.camel@pengutronix.de> Subject: Re: [PATCH] reset: berlin: support module build From: Philipp Zabel To: Jisheng Zhang Cc: linux-kernel@vger.kernel.org Date: Mon, 07 Jun 2021 11:49:45 +0200 In-Reply-To: <20210607174445.3d532e6b@xhacker.debian> References: <20210520171316.395de63e@xhacker.debian> <9f5bee632ed493b150c47f3127242c259a385192.camel@pengutronix.de> <20210607174445.3d532e6b@xhacker.debian> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2021-06-07 at 17:44 +0800, Jisheng Zhang wrote: > On Mon, 07 Jun 2021 11:23:57 +0200 > Philipp Zabel wrote: > > > > > > On Thu, 2021-05-20 at 17:13 +0800, Jisheng Zhang wrote: > > > Make reset-berlin driver to be tristate module, support to build as > > > a module, this is useful for GKI. > > > > > > Partially revert commit ed4dba99cae8 ("reset: berlin: make it > > > explicitly non-modular") > > > > > > Signed-off-by: Jisheng Zhang > > > --- > > > drivers/reset/Kconfig | 4 ++-- > > > drivers/reset/reset-berlin.c | 10 ++++++++-- > > > 2 files changed, 10 insertions(+), 4 deletions(-) > > > > > > diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig > > > index 3e7f55e44d84..1e7443a4dae1 100644 > > > --- a/drivers/reset/Kconfig > > > +++ b/drivers/reset/Kconfig > > > @@ -43,8 +43,8 @@ config RESET_BCM6345 > > > This enables the reset controller driver for BCM6345 SoCs. > > > > > > config RESET_BERLIN > > > - bool "Berlin Reset Driver" if COMPILE_TEST > > > - default ARCH_BERLIN > > > + tristate "Berlin Reset Driver" > > > + depends on ARCH_BERLIN || COMPILE_TEST > > > > Is there a reason not to keep "default ARCH_BERLIN"? > > > > Hi, > > After this patch, the reset driver will be built as module in most cases > so I removed default ARCH_BERLIN I see, how about "default m if ARCH_BERLIN" then? I'd just like to avoid anybody getting surprised by a suddenly deactivated reset controller driver. regards Philipp