Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2752184rwb; Thu, 29 Sep 2022 14:40:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5T+RHxrKsJusf107DOwwbEFWU+BkkezFe4fRwnag/9GqZvIfbAY1OJplfnCTBI/MT741gf X-Received: by 2002:a05:6402:2692:b0:451:6515:1946 with SMTP id w18-20020a056402269200b0045165151946mr5117661edd.417.1664487647109; Thu, 29 Sep 2022 14:40:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664487647; cv=none; d=google.com; s=arc-20160816; b=paHp3s8OBVS3eK5RowJ4fjRMNXWN8RsPaMwsWQkqzIl3nU5h3t9l9Kofqqsm1zpygK ntFhMTLXljH+/uzp1YC4HXTBkX0l/+jft88SsmNS8cAA6278GNzH2gITt74Qvw3JeGBA N2JHSy7VVX1FVZd4pUSTzd1tQSKA+O4rq1DkpJUT9o1XElMIcb2sic3cURMbx47enjEm ZK0kTAF82dOFrkKjj0TNmdwUr4mSrV3W8xZOYzTmQaBTLoXUrChIgoOgVWmtBXwN+vSR MFb8mqXgI41Cs5KdQ+bU6PxVmIzrAusOQrNSGFW6SRcIjk7VRMKPbkCZSi7AGv94/jx2 pe1g== 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=hVuUBdHRNun2PF1xzmThnbMizdtrsxsLtgkxiMk9ltY=; b=P0n3Kq9zMTJw/Jy6r9Ql1S/X6oyriIOmhJzvGso4okJ9djRH6AK97UPndOeMszYpfJ 74zLImAjelTOYkJIvqVM6s4DVPQWZimwrORQWray44IQY3ejjWwgCQJmswZNVQ5pAAtb XvttxdyVu6a0wHomlokaaLSnszdWDksjJLSkspFNq6JhqL7UBNTdo5b0gsZMX+Abq9cC WNR+nRh+W2eDSUqF+Pvch9n6xSgMkz9JkLJtj0pJ2JT/t1dGIMGZTlaVUT5hqOmx1sAc GlpFTdlOf2XDce5f7Td1JDtY3m3zPUQNu0ONWPotnhzt9a06uiODSJ2ki5aUtxgj4UAD NXGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=W+2EuiiJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b6-20020a056402350600b00456ea7cddbasi645392edd.114.2022.09.29.14.40.20; Thu, 29 Sep 2022 14:40:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=W+2EuiiJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229583AbiI2VUb (ORCPT + 99 others); Thu, 29 Sep 2022 17:20:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbiI2VU0 (ORCPT ); Thu, 29 Sep 2022 17:20:26 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC7774F65B for ; Thu, 29 Sep 2022 14:20:25 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id w10so2289461pll.11 for ; Thu, 29 Sep 2022 14:20:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hVuUBdHRNun2PF1xzmThnbMizdtrsxsLtgkxiMk9ltY=; b=W+2EuiiJpqD/S2h8tV/F6pXSQKY+JUj+Vneixxc62ca+jIwCSRL0WQWdUXYadGg80b Y1OwBqrTPzS1SR00oFZx0dsVjbzSdVSMoDQCcx7C5dbUvFQxq/SMsLCcM79OLEM4Y7uD JZwZF1e6iquZYjlkdPOzpWGIvlJgtu+wY6SsY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=hVuUBdHRNun2PF1xzmThnbMizdtrsxsLtgkxiMk9ltY=; b=jxLXv3TS8DqOYtzFlQU+zQtCToK+cfINkzIlHEHfUlRbCaTHb0huA6W2tSgZRAo6Em SmjxucN2HZbDZiN4oE3GtRK1LHGPNl6jRvB9VUVRE6KqE2vvcD2HMHLZhJuholIBGk7G QwHkofJEzONxZMVu/o0Y9nn6Isp3l3rJLPKlqhFO14KCVl2+/JeIHHei0uFwKSYkpVOM lrBh8qGbwKN+jiIov/nCfD8b9frUUA7oqfSAUnI7liChoDHFnqBwCc7dlYDLsok5rOfU AnWLr2H2jqErLQROONEecpM0G1RpXSbacVdr/kP/uDyr7unOvq2rXljc8pfZVUf5JJFl e8kQ== X-Gm-Message-State: ACrzQf2t0ZCIw7YTBA8Q7TD1XBs9ID9452BNLoIINN3+Ulj/A1uQb1vG YKv/yGMWVQlbSo9gzqy/JhiQ2uQswdLBbA== X-Received: by 2002:a17:902:d4ce:b0:178:1e39:3218 with SMTP id o14-20020a170902d4ce00b001781e393218mr5310256plg.144.1664486425208; Thu, 29 Sep 2022 14:20:25 -0700 (PDT) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com. [209.85.210.178]) by smtp.gmail.com with ESMTPSA id jn15-20020a170903050f00b00178650510f9sm333857plb.160.2022.09.29.14.20.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Sep 2022 14:20:24 -0700 (PDT) Received: by mail-pf1-f178.google.com with SMTP id a29so2530545pfk.5 for ; Thu, 29 Sep 2022 14:20:24 -0700 (PDT) X-Received: by 2002:a63:ff1b:0:b0:43c:e4ee:e5e0 with SMTP id k27-20020a63ff1b000000b0043ce4eee5e0mr4439543pgi.540.1664486423681; Thu, 29 Sep 2022 14:20:23 -0700 (PDT) MIME-Version: 1.0 References: <20220929161917.2348231-1-rrangel@chromium.org> <20220929093200.v6.6.I8092e417a8152475d13d8d638eb4c5d8ea12ac7b@changeid> In-Reply-To: From: Raul Rangel Date: Thu, 29 Sep 2022 15:20:12 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 06/13] ACPI: resources: Add wake_capable parameter to acpi_dev_irq_flags To: "Rafael J. Wysocki" Cc: ACPI Devel Maling List , linux-input , Andy Shevchenko , Dmitry Torokhov , Hans de Goede , Mika Westerberg , Mario Limonciello , Tim Van Patten , Linus Walleij , "jingle.wu" , Dan Williams , Greg Kroah-Hartman , Jonathan Cameron , Len Brown , Nathan Chancellor , Nick Desaulniers , Terry Bowman , Tom Rix , Linux Kernel Mailing List , llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 29, 2022 at 1:38 PM Rafael J. Wysocki wrote: > > On Thu, Sep 29, 2022 at 9:27 PM Raul Rangel wrote: > > > > On Thu, Sep 29, 2022 at 1:18 PM Rafael J. Wysocki wrote: > > > > > > On Thu, Sep 29, 2022 at 6:19 PM Raul E Rangel wrote: > > > > > > > > ACPI IRQ/Interrupt resources contain a bit that describes if the > > > > interrupt should wake the system. This change exposes that bit via > > > > a new IORESOURCE_IRQ_WAKECAPABLE flag. Drivers should check this flag > > > > > > I would call this IORESOURCE_IRQ_WAKE which is (a) simpler and easier > > > to read and (b) it sort of matches the "wakeirq" naming convention. > > > > It was Dmitry who originally suggested the name. I personally like the > > CAPABLE in the name. It makes it clear that it's capable of acting as > > a wake source, not to be confused with being enabled as a wake source. > > Well, so be it then. > > As I said elsewhere, I can apply this patch too if that's useful at this point. > We just need to make sure the ACPI patches 5-8 land before the i2c patches 9-13. The i2c patches 1-4 can land before or after the ACPI changes. I'm not sure how things get coordinated across subsystems. > > > > > > This is not a big deal if you insist on this name and for a good > > > reason, but just something I would do differently. > > > > > > The patch LGTM otherwise. > > >