Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3155330ybx; Fri, 8 Nov 2019 14:58:40 -0800 (PST) X-Google-Smtp-Source: APXvYqwcjv4BrNX+sOVDaRP47frCG3JysTKCtlvy6RWtxB7zmDOcL34ROLx5wrvkXT3zGrPCXouv X-Received: by 2002:a17:906:b246:: with SMTP id ce6mr10964791ejb.298.1573253920147; Fri, 08 Nov 2019 14:58:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573253920; cv=none; d=google.com; s=arc-20160816; b=wEMHNhnkdQak+uSvOPOnEqkNB8Rx1mlUyQQcwTH5MIcyczzCMlEqawd+nGn3OEpVFw nSNXeg50V4TU+ybr9R5lB44+BMBt4r/BehoA7Wog4gCJ76xo4oVJXtGQVEAuwPsvSb0t ojIuZmsCIQpe5nvpWA0vT3abK5GHrJJLuyl5knz96mUfa88bn1P9ohsGf+br9XLT/DJW BBnfVcg3GD6cgFoe2HXo3L89cHDYKsleJ1CnFtdQlUc0uU+/HSHMrPQBIWKRdbCrrcBr VzwK/SkrxoX4diDCJzqCqFY62WTKcTzek2tJckCKt9tp891JCbyqWVN0Hw5kvIhAn8Gz 566A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=15aP2JIo2un+I+5s0CvWGMu22FT6huOg3Ifbcx3TkJg=; b=bTsHmajHNLZnZ2eKmSyo0ynY3Lp+QrvLe0FKq43YidgFH1LMjeO8cKUB2hE0qbqlKq g82XEmOzJA09f7lyyF4kV1H+kI9yCrsFliCdfZ+lX6AIF+GrRCvxSwVg+z/OdYfuHf2J Rm/zud+tjcejDZlYjVM1Vylfe1YSU+4e0xL+XVxK3WgScKouqhNBA9IpOl4vfQ+oyO2B Wr/pI/u4f4U42m0qDCsnfFg4k8jKZsrVrkXtt2mWOYuu6GAEVbxw9JgwJ25Tj4XIwCpr IEQuZonQ/p9Fkmpe3Bwf8KHDRRfCsJK2ZYud7PRlPeiOn8K3ZlrfsJ+Xvpg0DlDOlcDU 4S1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=FATIMyIM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b28si5999072edn.230.2019.11.08.14.58.16; Fri, 08 Nov 2019 14:58:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=FATIMyIM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727559AbfKHW5V (ORCPT + 99 others); Fri, 8 Nov 2019 17:57:21 -0500 Received: from mail-il1-f193.google.com ([209.85.166.193]:42533 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726349AbfKHW5U (ORCPT ); Fri, 8 Nov 2019 17:57:20 -0500 Received: by mail-il1-f193.google.com with SMTP id n18so6544225ilt.9 for ; Fri, 08 Nov 2019 14:57:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=15aP2JIo2un+I+5s0CvWGMu22FT6huOg3Ifbcx3TkJg=; b=FATIMyIMWI2cM5vk5yduPwEeoizGoSfyKtyHYbMALU237IVsQGNU05IOJKkdabxCbO 0m/DzALGw2i4wZ8zesh0KudOZ6vdFHsEHdC0u2B5kESkwOFnxSiA+yHfjNhCb/zwnfN0 YJxBlA5TLrD+LTxSdgzigyE+mVolF54tuLjCQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=15aP2JIo2un+I+5s0CvWGMu22FT6huOg3Ifbcx3TkJg=; b=MNEe7VPKyIKZ7eZ0kjczdXkZh3MbOXn2sSvGhXb2do45pp0o+wFonMtNIl6orJpJeT rr0G+wOMCVhSySnr4Q0s0buh+rt/OuJUCiyOBE0UEBrLfzkQYJ5nUMS+/hneufu07hLt f/2l4fjDYXkV5x6LLA00N0tjakXzuVLAkDrn08zXN2VuSa1n6Dyz2rJq29ATnPRmXr97 5WBNBx8ZpB/Ed8hGppqYgI3PLCOQOxmx4ANmO5pHrvSC5XIUJVrJh5U+azC1hNQpQwVr F0ScUFCHva0Ux9GD/jXzemhYZi0xFNSNeGsw6Wri6oEtVRtjEsyUcrEVxHCG/zv53gGK r3tw== X-Gm-Message-State: APjAAAVWhS01u8d0aiSLRuHJuawCj5NhGMXQHld7RGe3JcHoD2B4X1Kn TNCnWXddd4cBFQz/1OGaRyk1hyYmXyQ= X-Received: by 2002:a92:d7c2:: with SMTP id g2mr5821365ilq.81.1573253839599; Fri, 08 Nov 2019 14:57:19 -0800 (PST) Received: from mail-io1-f53.google.com (mail-io1-f53.google.com. [209.85.166.53]) by smtp.gmail.com with ESMTPSA id c10sm186415ilq.37.2019.11.08.14.57.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 Nov 2019 14:57:18 -0800 (PST) Received: by mail-io1-f53.google.com with SMTP id j20so7833513ioo.11 for ; Fri, 08 Nov 2019 14:57:18 -0800 (PST) X-Received: by 2002:a5e:8e02:: with SMTP id a2mr13245256ion.269.1573253837987; Fri, 08 Nov 2019 14:57:17 -0800 (PST) MIME-Version: 1.0 References: <1568411962-1022-1-git-send-email-ilina@codeaurora.org> <1568411962-1022-5-git-send-email-ilina@codeaurora.org> <20191108215424.GG16900@codeaurora.org> <20191108221636.GH16900@codeaurora.org> In-Reply-To: <20191108221636.GH16900@codeaurora.org> From: Doug Anderson Date: Fri, 8 Nov 2019 14:57:05 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH RFC v2 04/14] drivers: irqchip: add PDC irqdomain for wakeup capable GPIOs To: Lina Iyer Cc: Stephen Boyd , Evan Green , maz@kernel.org, LinusW , LKML , linux-arm-msm , Bjorn Andersson , mkshah@codeaurora.org, "open list:GPIO SUBSYSTEM" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Nov 8, 2019 at 2:16 PM Lina Iyer wrote: > > On Fri, Nov 08 2019 at 14:54 -0700, Lina Iyer wrote: > >On Fri, Nov 08 2019 at 14:22 -0700, Doug Anderson wrote: > >>Hi, > >> > >>On Fri, Sep 13, 2019 at 3:00 PM Lina Iyer wrote: > >>> > >>>diff --git a/include/linux/soc/qcom/irq.h b/include/linux/soc/qcom/irq.h > >>>new file mode 100644 > >>>index 0000000..85ac4b6 > >>>--- /dev/null > >>>+++ b/include/linux/soc/qcom/irq.h > >>>@@ -0,0 +1,19 @@ > >>>+/* SPDX-License-Identifier: GPL-2.0-only */ > >>>+ > >>>+#ifndef __QCOM_IRQ_H > >>>+#define __QCOM_IRQ_H > >>>+ > >> > >>I happened to be looking at a pile of patches and one of them added: > >> > >>+#include > >> > >>...right here. If/when you spin your patch, maybe you should too? At > >>the moment the patch I was looking at is at: > >> > >>https://android.googlesource.com/kernel/common/+log/refs/heads/android-mainline-tracking > >> > >>Specifically: > >> > >>https://android.googlesource.com/kernel/common/+/448e2302f82a70f52475b6fc32bbe30301052e6b > >> > >> > >Sure, will take care of it in the next spin. > > > Checking for this, it seems like it would not be needed by this header. > There is nothing in this file that would need that header. It was > probably a older version that pulled into that tree. > > Is there a reason now that you see this need? From the note in the commit I found I'd assume that Maulik Shah (who is CCed here) has history? ...but looking at it, I see that your header file refers to "IRQ_DOMAIN_FLAG_NONCORE" which is defined in "linux/irqdomain.h". That means it's good hygiene for you to include the header, right? Otherwise all your users need to know that they should include the header themselves, which is a bit ugly. -Doug