Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3102046pxb; Sun, 3 Oct 2021 15:21:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2Pn3Xw3waAt8EAFAMAdww4ruwKC3IxA6DIjVQK1ylV5omFzk9Utj1j1XoUDumToFLSYCT X-Received: by 2002:aa7:d7c4:: with SMTP id e4mr11269970eds.301.1633299666408; Sun, 03 Oct 2021 15:21:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633299666; cv=none; d=google.com; s=arc-20160816; b=br2O/xjgGVBj/USeCcq6jbMBOo5zIyduXgszQIL/KF9XNtblkXj96m87xdp9oms6ty smdzupLQt4B8qLb+wQz18TwO1q6TY5504HEv81zW6D72L36YwaYWdEWxk/6jmKBUG65/ NcOlvlvR8/8o9VGhcG5x9/WPD38Oxp5QM657/ike1TOydyUZBDQdCaI97BeIXJdhLVu0 FdMeIecIYYr+9SfBhpXcgMnww851815doHs1g9zYIT6j6jcvSmq13O+GKssNO67c77rK MXmoGXL+VC3K4E1ZdMY5mX8jWHUfGzgxIn+F36mKUwlueCr8sgM6Ey3sqfk+9Dx5QsPz NMOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=U9Mf9GI5Pm+kL+VrrV0E+/1cX+8MmlfNpjuTrHIHDBU=; b=0dHawTRbbCCYcyd0pVkqMsDz38UAMKt2OBISzt4mSf0oM5KyqOCojR+slgqL7yOSST XzwhoQqnxF0hfOjxtI9oh1zBdMSnGvJPimwN+PylhSW73TULXpzcBB+y9D49DKKjH+fo eEs+CvCqOvsYXjmvyrkDpPDForSwVcNRBkgMowgHr6dYUgcq62gyBAwFKAKvkCQW6lyM GIHwaVm71LUebowjYlenHfpslxbO1cXUkDvFNVyGvHCQeNIEL88ago6KIoMmXbiqF+I2 qLhYA0+Lwy460TzkM2b0yXj6qOtBopk7wTtriXnMj97Zu9hIpLK5Lpgyw04MuXNYCSkm dUuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yz+MMKs0; 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 z16si7665950ejf.338.2021.10.03.15.20.41; Sun, 03 Oct 2021 15:21:06 -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=yz+MMKs0; 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 S231842AbhJCWL6 (ORCPT + 99 others); Sun, 3 Oct 2021 18:11:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231778AbhJCWL6 (ORCPT ); Sun, 3 Oct 2021 18:11:58 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 354F9C0613EC for ; Sun, 3 Oct 2021 15:10:10 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id g41so63224433lfv.1 for ; Sun, 03 Oct 2021 15:10:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=U9Mf9GI5Pm+kL+VrrV0E+/1cX+8MmlfNpjuTrHIHDBU=; b=yz+MMKs016NPuE07ZM/SC+j0anFa+U46jg+mEqlMroGgSo0OVRX/iofinaFE6ejX/x VmzstodfD09SW17AUy8oeN4nfpEg1VsLCoPIb3qX1pz40qF5uWpt7PQdZfFt4IkANUkT kbO945a/obo21YaI+yunotwvgZA8hGf4DX4wS+5Fqkd9lGVGx6BrKMR9YONncGZPmD2l Tay+n7KiAFQIa9c81prLgONI+BqzyXEFY5hXEdfBGz8n4MuJHHMfJAs/nVy7IAfWj2zF Od88lzNIPSr8M89btm4C01W7RyiHdr7I1IN5cmBmIA39pWY3OBgpEFZGEJrVPRfiQUmW aJlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=U9Mf9GI5Pm+kL+VrrV0E+/1cX+8MmlfNpjuTrHIHDBU=; b=XPmUQ/EJIzAX/Bt7JLajXIPqajNU0k+FAOQ3GsFMT5xw8QyNj/fboHMYRmelXpYEXU ORW6k+FypwYc2v0S68vAT3d0IsKABqf67HgP7qLnpfjFns061lMaRmix3W5axrCADSOw SfnmT4TmA/R9iadoJVLq1ugrHbXFlwN+wHHf39aaqooZmloD2/hlMrCVkIYSyzOoolir HrWjSBvKW8c711/lxFccGJUeTBvS9glPLkgZxQrkFPdE8OnMYCgb2OCsLX+83EZ2ZeFJ ZDsmIu33G6xvXUmXoccY2+6rrQEFy/tsuCTyJhKMusI0chM5NuPm+i5c8AKLNwMx9jAj unkw== X-Gm-Message-State: AOAM531dS2b9eGid2fI2WxJZVxWgdqhsWThSQfY5I798SFUWwkcTMxvd bihTzriXXf4jrSoXURm8hktGqpypjYW/a+zm23DEIQ== X-Received: by 2002:a2e:510a:: with SMTP id f10mr12187903ljb.358.1633299008538; Sun, 03 Oct 2021 15:10:08 -0700 (PDT) MIME-Version: 1.0 References: <20210930232617.6396-1-dipenp@nvidia.com> <20210930232617.6396-9-dipenp@nvidia.com> In-Reply-To: <20210930232617.6396-9-dipenp@nvidia.com> From: Linus Walleij Date: Mon, 4 Oct 2021 00:09:57 +0200 Message-ID: Subject: Re: [RFC v2 08/11] gpiolib: cdev: Add hardware timestamp clock type To: Dipen Patel Cc: "thierry.reding@gmail.com" , Jon Hunter , linux-kernel , linux-tegra , "open list:GPIO SUBSYSTEM" , Bartosz Golaszewski , Kent Gibson , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Doc Mailing List , Rob Herring Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 1, 2021 at 1:26 AM Dipen Patel wrote: > + if (test_bit(FLAG_EVENT_CLOCK_HARDWARE, &line->desc->flags)) { I don't know if it's here or a few other places as well we could sneak in a IS_ENABLED(CONFIG_HTE) to make sure the compiler will optimize out a bunch of the HTE support code if HTE is not in use? Just an idea, I guess it's not the most urgent. Yours, Linus Walleij