Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1718234rdb; Sun, 8 Oct 2023 23:45:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEUy5Yuima9axz9AlKMDZusoNib9TfkUl1ARMblYYQGhgh21UDfSiZmANRVKV8qQvm1kIfX X-Received: by 2002:a05:6a21:3397:b0:140:253b:b658 with SMTP id yy23-20020a056a21339700b00140253bb658mr14811353pzb.57.1696833927254; Sun, 08 Oct 2023 23:45:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696833927; cv=none; d=google.com; s=arc-20160816; b=cFqTDXIDJM5rbdrQ0lW6MzJIbLIGdfyo50TwYakcTXUaTn8QlvtbScmq/vcVtlqJ/X fLgZOcrQxjlzhuBu/OKlIdsreeuHoccPFQMs1WJS+uRNJkbKtaTj++FDjRIqK2qfcI6l o+28NjiPeaWdcS8bpg/CFTrgYsts9JmEWGJbXcQZvofjzzIfPD4HvcaYOAdL/JX6cbH1 F6nQd+FuwdUOBRtcq8lqbe+9UrfGweQo9YYSvoR2e+bgxdF/Bx7LG/dOFM8F0mPDo05I yX5RPkqvZ7mCsoaVu/aLYXIGBJOU7R/GapIDMLV6pznkbPlVvEVEiODwmcqqYu2E4ttF YZdw== 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=h4yu13CTAk93CAArrQHw56fb0+67aBBNyd2lqpOlVos=; fh=gQrmxqVrLvcIwRPoErkoEiGigfLMgjtIL/dVjkSZQzQ=; b=E5+fP1TADF/kSzQsCZgEJuPY7K7p4nI6sXUQ2ltyKneBjvt7dgZYqqsAtAlEbln6Hg kQGdX6UL2HP3qSM3104n2PzN7bfsk73vRgE2DVnwE2cqi4EC2a8B+9Q+yUPWuZ5uQtag sMv8DilycMUvGlG9TumO3VyswLHAp0bnVc0kndl9Oo8CdnLI5KgemP7WILYDHOGf/dFC +Km8xfL/17hNU8CdaTW2XEgnSv+M6fbZeCGWP/WQ/g2zYSpuf2E5aO61DTAn5kQOw0DW A8E8yTkVN8kAsOGUD2gCqb10bklSJh9BGkYQCOgccXQiWmwqEcPYGUGIanqLjFQoEbG3 D48w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=jz0GNJte; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id t23-20020aa79397000000b0068bc0b772d8si6405418pfe.194.2023.10.08.23.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 23:45:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=jz0GNJte; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 1C6238051191; Sun, 8 Oct 2023 23:45:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232791AbjJIGpJ (ORCPT + 99 others); Mon, 9 Oct 2023 02:45:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345309AbjJIGpH (ORCPT ); Mon, 9 Oct 2023 02:45:07 -0400 Received: from mail-vk1-xa2d.google.com (mail-vk1-xa2d.google.com [IPv6:2607:f8b0:4864:20::a2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F25C5CF for ; Sun, 8 Oct 2023 23:45:04 -0700 (PDT) Received: by mail-vk1-xa2d.google.com with SMTP id 71dfb90a1353d-49a99c43624so1460004e0c.2 for ; Sun, 08 Oct 2023 23:45:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1696833904; x=1697438704; 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=h4yu13CTAk93CAArrQHw56fb0+67aBBNyd2lqpOlVos=; b=jz0GNJteoepxlobVf2mIIjhcHbFtyYk/jnT8h5e1YRs67azmOgBeJ27vu/cC0Yb13o +8FFohl26xyg5DSIbU91SP2IkXT4nRlsrXYgK0kdHt+5LxRtNzkDs5VdvMf0anQIt6fn 4sGVlaDyStmIbQDJumW/jGPdJ7bV+mIa4LfbXc51V9tM2XlJ7wX6KBQVNHETPTTCmy3j LR4OuEkLQtbcIuoNvE68og2jnoU5OIwnkPqRxHmSieQYuosGLzgy6Ury0lbJlVJUJnN9 0GXkvyKGpxoMbS8SSSUR4LfJ7NsJQXz5UMd70Um7IUyEogbCKGK7Dw4eU5M/nMiCg0T8 ZyWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696833904; x=1697438704; 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=h4yu13CTAk93CAArrQHw56fb0+67aBBNyd2lqpOlVos=; b=YZiHK6kWuTU1FgGrmlly2r1KcyKjy4J/9sGkeQ3XPSjit5eIS5C11q4Nyq/6KwhiNz 9WQjJhqhvYkodcCaloYFiztC+ZQX6KNxUqCEDTfjmijhWUp0a0RY6BCzxCODaMq5jbKm zwpIH4YdWv8OJe+jiOm17f4BsDw6kj4gIiSp+aYNO6AZDR2nlpL/tUgYt3MYOyaXCNQ6 m9Q6vXwxfZcNGw2WeAZBnZPS49WqJswsT1SzbL1eEd6MTbLBWiVbFoXZAQF5nYJso9E3 gYjB/R8/EOvw2An7IOPbbBUzdLXDN8GVk24kilb6cXkvOYcHtBBZ3nefxgqoyBFPR4R2 PRgQ== X-Gm-Message-State: AOJu0Yyv2JZ0mF6ChNWf7EoFDDEPK2pExa8ABJAFNhPxjUvll1rjrhU/ Gx5uWjGpgXuMcy0+H/QSTie4niy7qdOeuGUq/2Nb9g== X-Received: by 2002:a1f:c342:0:b0:49c:79f3:27a4 with SMTP id t63-20020a1fc342000000b0049c79f327a4mr11677190vkf.3.1696833903919; Sun, 08 Oct 2023 23:45:03 -0700 (PDT) MIME-Version: 1.0 References: <20230911094604.14179-1-brgl@bgdev.pl> <04e28f8a-1393-d991-264c-b0592746c123@nvidia.com> In-Reply-To: <04e28f8a-1393-d991-264c-b0592746c123@nvidia.com> From: Bartosz Golaszewski Date: Mon, 9 Oct 2023 08:44:52 +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=2.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Sun, 08 Oct 2023 23:45:23 -0700 (PDT) X-Spam-Level: ** On Thu, Sep 28, 2023 at 5:31=E2=80=AFAM Dipen Patel wro= te: > > On 9/25/23 1:37 AM, Bartosz Golaszewski wrote: > > 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 enable= d. > >> > >> Signed-off-by: Bartosz Golaszewski > >> Acked-by: Linus Walleij > >> --- > >> This was part of a wider series but since this is independent, I'm sen= ding > >> 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 engi= ne also > >> known as generic timestamping engine (GTE) support on NVIDIA= Tegra194 > >> @@ -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? > Sorry for the late response, This looks good to me. I will review and tes= t > rest other patches. > > > > > Bart > Acked-by: Dipen Patel Hey, can you pick this up into your tree as well? Thanks, Bartosz