Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1376718rdh; Mon, 25 Sep 2023 10:47:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEifyrBvnmYyb+RLNjMJHFIXeCU252VN0jDleh5oV77yE74EhJAehYJIOSiV90qi1YlymDe X-Received: by 2002:a17:90a:be03:b0:26d:2d77:da7b with SMTP id a3-20020a17090abe0300b0026d2d77da7bmr6720106pjs.6.1695664026053; Mon, 25 Sep 2023 10:47:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695664026; cv=none; d=google.com; s=arc-20160816; b=qtndjmdoSu3AhjasdJvdMPEB6b12ZWkkPCbs7rsfp/a9Q5TTTf72oCI2KG3o9Yb/SY IgQ5zIS5bT7dnH4dFxEiV6GJ1xbTMQ2a/dHzrrrhG895tnCxCL9ehijN8tQ/fwb5hkxx 1RVaZsjZwFKqXMbW5NH+7e8gsZBBZ4VJELvukeD0PUhjB8t9z3oe7Hkzdz8J1Wa9vDcp RuT6E7eJPj0pWG89u7ypVPxwJYdn2vVJN/4ccOKF3xAqke0uZN2q31QGPBXhmCp5R86R tTqnsCRpMP+Oe8MFc7dEahQC1QLAoXXIfIX0xO17Kdtfuk5mcBT4lM5cw0OPvtuufh7g 45uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=HFOxYCls0sYCllQ1mgWfAFcNmLca119HNJQDnS3pKX0=; fh=gQrmxqVrLvcIwRPoErkoEiGigfLMgjtIL/dVjkSZQzQ=; b=nhEAWtlAXuN4PqcESSG6HwinnmvmS/ij8XF4Jheg48eCjMokSsdBVjaXCcE5cgCThO 5duXgteIUrl01YJPgZT7O0GIow9FQXLFpOdL1prsyesNZIqibp6sXUzJSftoCqBLiIor ho9LTPRMfO3AfXQDBAmUwW6raIMtFD6Ca6ujFf8WQWFNqC+Bg+oy6Z6YnToGmBj39iXK PZM456mjOUc1E2vJ7xK4eaNhz9nj1K5hz0+DWP6AznJ0VQQUGiuqHglo5fWmwXJ0ATBs udz0evcC+RLUJ/92tB42Cg7yf6A775yM+VI8TbFSqHBJrg+lzTlkbhv32s+k2nNlUpgC YNyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=SDP1DoBz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id d4-20020a17090ac24400b00262e3c1c1efsi4662865pjx.79.2023.09.25.10.47.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 10:47:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=SDP1DoBz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id B89A7808A439; Mon, 25 Sep 2023 01:38:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232936AbjIYIiK (ORCPT + 99 others); Mon, 25 Sep 2023 04:38:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232097AbjIYIiH (ORCPT ); Mon, 25 Sep 2023 04:38:07 -0400 Received: from mail-ua1-x929.google.com (mail-ua1-x929.google.com [IPv6:2607:f8b0:4864:20::929]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0773CBC for ; Mon, 25 Sep 2023 01:38:01 -0700 (PDT) Received: by mail-ua1-x929.google.com with SMTP id a1e0cc1a2514c-7ab68ef45e7so1109412241.3 for ; Mon, 25 Sep 2023 01:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1695631080; x=1696235880; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HFOxYCls0sYCllQ1mgWfAFcNmLca119HNJQDnS3pKX0=; b=SDP1DoBzvzwYbnJRlieHhizSkuCDEETS0D84IJHpahNqDZG7PiaE8KEAt9vmyeTGSu N+PuaG/iCAHsShw/9D3HHS8ozcc4TOButU19GQep8RG2JviUmAoywM67McpzRsz/SX5N THcXKqF/UwwurI+4Rsl0qfDK3L+P+OJMWRbasJHIWxzD3TgqE3vNCpO+N9H8fAYVEZta +H/LuXOMEqCq0gxr+AjgCBuP1XthUaE1Y2kKKy40x43JBlO0YL2gQogsW4V58X+xROX9 LDVJYhDM2d4rduKDwGPW5fWwfH4+cYPGhllwFKRRkpRYrd0Pyyft0OO8GSWztaGr6yIn pSMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695631080; x=1696235880; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HFOxYCls0sYCllQ1mgWfAFcNmLca119HNJQDnS3pKX0=; b=oV6YzX9tpnNDakwLpRUE9wI+yv+BheVjCFmGX8QIzVkiIFGnXAkeQE9CPoDPFkUMZS TQXLvHFLIh7ITaXNZ4ASciFMQ5KQMovkD/evmBnv8NdyrpCWcYuKbQPsRN7H5LAMv0pH u/KLE/hvz+UM0CFQbRRh2jfj8Z4lxFIjszSf/mVL5CEFsdXEELUKjjsm5wA+Kq2S+RGL WSpfz4bXHwuY0KR8uQgtBxuYMGRojhhPu3ZJroXeLr9YWxMpkTe8DzqQvOa9/Q50FZkk 55Vi/WYljf0v6ejahgtmsMMGnvxDumtisiWN3Bpba2dkMrux8HD6p617xiLTIlnErECo qNdQ== X-Gm-Message-State: AOJu0YyKsgwwqx0o7TawCMeM/p6G5PRJQJIPVwdtNgTKxXTK0NBsVUNR fItDFbX4vswmSO59/6khvKvxrjLmlRa2Jal9QbG5Lw== X-Received: by 2002:a67:eb16:0:b0:452:6ac7:cdf with SMTP id a22-20020a67eb16000000b004526ac70cdfmr2100526vso.24.1695631080119; Mon, 25 Sep 2023 01:38:00 -0700 (PDT) MIME-Version: 1.0 References: <20230911094604.14179-1-brgl@bgdev.pl> In-Reply-To: <20230911094604.14179-1-brgl@bgdev.pl> From: Bartosz Golaszewski Date: Mon, 25 Sep 2023 10:37:49 +0200 Message-ID: Subject: Re: [PATCH] hte: allow building modules with COMPILE_TEST enabled To: Dipen Patel Cc: timestamp@lists.linux.dev, linux-kernel@vger.kernel.org, Bartosz Golaszewski , Linus Walleij Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 25 Sep 2023 01:38:09 -0700 (PDT) On Mon, Sep 11, 2023 at 11:46=E2=80=AFAM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > Allow building all HTE modules with COMPILE_TEST Kconfig option enabled. > > Signed-off-by: Bartosz Golaszewski > Acked-by: Linus Walleij > --- > This was part of a wider series but since this is independent, I'm sendin= g > it separately. > > drivers/hte/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/hte/Kconfig b/drivers/hte/Kconfig > index cf29e0218bae..083e67492bf2 100644 > --- a/drivers/hte/Kconfig > +++ b/drivers/hte/Kconfig > @@ -16,7 +16,7 @@ if HTE > > config HTE_TEGRA194 > tristate "NVIDIA Tegra194 HTE Support" > - depends on ARCH_TEGRA_194_SOC > + depends on (ARCH_TEGRA_194_SOC || COMPILE_TEST) > help > Enable this option for integrated hardware timestamping engine = also > known as generic timestamping engine (GTE) support on NVIDIA Te= gra194 > @@ -25,7 +25,7 @@ config HTE_TEGRA194 > > config HTE_TEGRA194_TEST > tristate "NVIDIA Tegra194 HTE Test" > - depends on HTE_TEGRA194 > + depends on (HTE_TEGRA194 || COMPILE_TEST) > help > The NVIDIA Tegra194 GTE test driver demonstrates how to use HTE > framework to timestamp GPIO and LIC IRQ lines. > -- > 2.39.2 > Hi Dipen! Any comments on this, the other patch with a comment update as well as the one addressing usage of gpiochip_find() in HTE drivers? Bart