Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3129802rdh; Thu, 28 Sep 2023 03:41:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGECYbTj1Hiipu3CTyVTxTS8BsyXpHf6h0JipKiTzibwmkYP5+H+TsiwNRzqSZzFsHtUUyu X-Received: by 2002:a17:90b:3b50:b0:274:99e8:1670 with SMTP id ot16-20020a17090b3b5000b0027499e81670mr694338pjb.43.1695897712536; Thu, 28 Sep 2023 03:41:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1695897712; cv=pass; d=google.com; s=arc-20160816; b=ZFDVyChkbQwuPESTWh5mtjf04pgDNkM9+mSwoWLLacv/69JD6sxnvKqYvVSTXRdm8q 8JZOT3C/6AaQ4FzJzbIsv628MIDaAJmO33joox21CG6P1+bKzP9hM9OycI+vgy7tNihC 3MgEb7YOqgtiHzw6QogoSWGgRFSapT8awwiuPajsBeuZDejSaDXxQTQqh9yDhDPGJ5si /guCU+lLngoqQzs+tJjlN0j1AfTkwachwXhZ5RbtsiHi4FFdGQOKOHUcl1TtWdi8tVag BABlMzGZJTmF3juKJ2kjW+IeEKs2Jy+za4qreaQJIMfv8qQlQy5NuyvkACbyEJNdctTo Xfkw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=DURj9obeP+3qvLHXlr6gOUJsVnzBRpSpSEOTbc7CqSw=; fh=eLPG7EzCA6JjWQeKMbV70h7hpadFlZvM2MEZIw8orwY=; b=Ci9t2tqJjHHr2zVdC2q3qYxLmIlj92wbY+vnKc0NNUoChsGBO/r2Ha/kIyu8C/Ykg4 9ItsGevYvu2MkUREpWqYYfveCwE8tgAh4dIY62KMG7/ubmL3OvA17/20hTzUV/VuqR9k KyEacJbFgqJoVA5vpvNdLCV+QykI64fNirsBAfqTPpdLnHz8E68uAM+ogZ9IzXbiDqMk qdlRgzY92DS7kpps+3CwQvyGNI2rsVXAnY49L3cITUid6MXMrCrlTh5f+sMCCHFXYhlm 5InZGfMFRenRviA0ajFvfdSfd87Re6ZwiRT67cyCY5XeAWs5ZOkiMBIO+GbOSjB2ZIo6 t88Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=Kr9mPhfx; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id oc10-20020a17090b1c0a00b0027652755c21si12055398pjb.142.2023.09.28.03.41.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 03:41:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=Kr9mPhfx; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 8727E80320F3; Wed, 27 Sep 2023 20:31:29 -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 S230124AbjI1DbG (ORCPT + 99 others); Wed, 27 Sep 2023 23:31:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229854AbjI1DbF (ORCPT ); Wed, 27 Sep 2023 23:31:05 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2075.outbound.protection.outlook.com [40.107.93.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3ECB94 for ; Wed, 27 Sep 2023 20:31:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WpJPdFfT3FhRCrsxjCqLqUim2yduQBM7ujv6hKFwzkp4hvSR9nSjx75wG/Ptw92x3Rv4AsAKfHaPp19Pt7MldQNmcCXpDiICKKeJqUFxD81ANeDzkwuJmvMsKp9RdLCOa11oKGiY4wSROn3eovXH/1vl0mTyWMLahTN26E31Gd+M3cM5K5x2vf+ek6CjjVtxQkyjvDxASuFnRvAcJzglHximSIdCcIqW9+LULxr9IJCyQP+/tAlhWwbnCmYNinYDwtVaWWBvEMCwb9GHWoWMym3+jj5m400f7mitO6wioGiQi8cQmazvc20PyyoKYaWGcDkcTAeUJEnB+3v0p5S2Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DURj9obeP+3qvLHXlr6gOUJsVnzBRpSpSEOTbc7CqSw=; b=oOBgptmMSnbtwqupdXuBp4pj/N57EZ5M8DZs4wyK5diF6ufd/C7hYs5rIjCXa4gUHYClZheIOP4o7OCjB8kuoysb8PMMGJg17uhaN54KRPFN+PCGvCE0wJRPRMLJiKZy6uMTTcRQuXmJdkjwMiE1XS6/x02Pz2urnjdu1U2EFeWomq6sm3Kc2nq6+F5TSGp5IaoybB5yI6GtKT3foPglx/AInj/fBGlR8c8N88JJnfvQzgUNRmpwIMRt69WQd1/LhRR9KErG8ZCKR2g9wMxuTGWFH8Y/iXT3dCxv9YLRBNNMKWvhSrRgjHtsToz4pT3/DsNxq63Nf3z6XIV50tAhqw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DURj9obeP+3qvLHXlr6gOUJsVnzBRpSpSEOTbc7CqSw=; b=Kr9mPhfx11w11TQ0Iw5W87bJODvtI+q28WwnHgbOMXZkw9oqx3voAtNlYEt8mXD6JMeKbCxwbsbSAUTUKzSXa3JPm9KQoANQ1bl9e4Aegml8Fc7J+itGCtDsaQytN8jBkzU193AOrICA0IhATEgwbyxWOgID02LnlZ08ipsycB1ixDsK/2nJvhzoUm0FrzC6chWDIIyGzDWYeryvDsJOUBns2OyVJS5i43FySChkgl276q+bLeoJOqzYhkY8Ki7uy5Mc7biFgZUSiHuCDeGBFhIf++WpZ6tmnAgqtTXuW7wFeWGMExS9q8bvxJmK+YrnpFiIEzEFGy7zHQp2fmJJbQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from DS0PR12MB6607.namprd12.prod.outlook.com (2603:10b6:8:d1::13) by MW6PR12MB8913.namprd12.prod.outlook.com (2603:10b6:303:247::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.21; Thu, 28 Sep 2023 03:31:02 +0000 Received: from DS0PR12MB6607.namprd12.prod.outlook.com ([fe80::3ce8:e189:f31c:454]) by DS0PR12MB6607.namprd12.prod.outlook.com ([fe80::3ce8:e189:f31c:454%3]) with mapi id 15.20.6792.021; Thu, 28 Sep 2023 03:31:02 +0000 Message-ID: <04e28f8a-1393-d991-264c-b0592746c123@nvidia.com> Date: Wed, 27 Sep 2023 20:30:59 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH] hte: allow building modules with COMPILE_TEST enabled Content-Language: en-US To: Bartosz Golaszewski Cc: timestamp@lists.linux.dev, linux-kernel@vger.kernel.org, Bartosz Golaszewski , Linus Walleij References: <20230911094604.14179-1-brgl@bgdev.pl> From: Dipen Patel In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: BYAPR11CA0096.namprd11.prod.outlook.com (2603:10b6:a03:f4::37) To DS0PR12MB6607.namprd12.prod.outlook.com (2603:10b6:8:d1::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR12MB6607:EE_|MW6PR12MB8913:EE_ X-MS-Office365-Filtering-Correlation-Id: 2b95ed42-5b44-4818-e214-08dbbfd356f0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mQObOIP3Uegsr6Tczngozj/8sqSEwIEd8AF5lsGGxyxGcvGOnUBED8BXHcxSi3cvT9YS/mq5yqdGkUCTpeei9uZQti30jCl+tArGxrukGyvKYIzeXTPgaIB2rnUzJTcHPY/D6gnvnDTwA0l19Tx4z4MyqZFMPS3FcJSoJU3QXzgoT4UV8f3U1wz/DHdOWsWHZXV9B8qb0DAabODj5kpjGq7sL/PqAxWwKXc8ijZWNMpBmmli3TFDmwSd0xNdLH5sa9BqR19r9eE9iE/IY9KWmO7nCtHYqKfODsdou848EPyBuA7iy3Ghr8DCz2SgM0QjM9M9o1hiSWdFnE+GtVQ25RUezJSkRDs3REYXHKoHtJ3xo3z68OOB+fftQK7OroK2R64usd4RvSX/1o9SBBBUg56YrWI7JIIZ4ELeRQxrwy788/kwo0/Sm4afFXeC0YTOpQBj6nWoKnCRKVkUsT3DoI3wbJ2JaanqrMsSHcLev4XWTFZEk9mzcKcDlp6tRmV8sbPbLICfGCDnNsnqcSOxVz4mdUfASQD1sHGCrshk2y1681WBFd2keBNYUMZjQlJNT+N3BkhT3B22qebNm/Ajb3s8+0/REmq+I7QTiAFkt+HaBhc8McK/rsRp/gGJOsepgwNLqJUVS2PEGuaKkl0h/Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR12MB6607.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(366004)(39860400002)(136003)(346002)(396003)(230922051799003)(64100799003)(186009)(451199024)(1800799009)(53546011)(6506007)(6512007)(2616005)(6486002)(478600001)(6666004)(8676002)(26005)(2906002)(54906003)(66946007)(66476007)(8936002)(66556008)(6916009)(316002)(5660300002)(4326008)(41300700001)(31696002)(86362001)(36756003)(38100700002)(83380400001)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?N25jVmJDaVEzMGlvVWJDZ0I5ZzhEYmo2OG5MN2RJaXJwSER4RlprcGF0ZXov?= =?utf-8?B?cHQyMTdIS3NJeGM5T3Q1TFFJcXh0ejRiWDAvVlJJNUNMNzFydVgvSWZKU2o3?= =?utf-8?B?djRyOG5ETkJZTWZqK1AyeExud3ZsY053VjlrZXBrSEl0Z3djVit2dFNkVUZW?= =?utf-8?B?RHoxU1pMTHNxK0lSczFacnc4RThVV3dMZzE5Z1JxVmFvS0dxTmRuMkJwRXhn?= =?utf-8?B?Ny9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TNmZ2RKUlAyMzNMLzRNQW82VjFQ?= =?utf-8?B?bWFsajdtNDVWOVBpU3QvWW9GaVVxWjRCS3Z4ZXR6ZTNnVjhISGlBdm5tUmdp?= =?utf-8?Q?jvhflzn3/HaRgLqzwWV1jf+su?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2b95ed42-5b44-4818-e214-08dbbfd356f0 X-MS-Exchange-CrossTenant-AuthSource: DS0PR12MB6607.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2023 03:31:02.2168 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: atH8AXlsL8OsH/ICry0iShZ7og5Enp8ftrssKNd+K6RM8XTmw4nqsvbrEJsnSe734lpr5CQqmNRJxNAjTMWFyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR12MB8913 X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 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]); Wed, 27 Sep 2023 20:31:29 -0700 (PDT) On 9/25/23 1:37 AM, Bartosz Golaszewski wrote: > On Mon, Sep 11, 2023 at 11:46 AM 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 sending >> 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 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 test rest other patches. > > Bart Acked-by: Dipen Patel