Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2640415rwb; Thu, 29 Sep 2022 12:57:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM52EmCShpyFzlaruoOjnwL/PPZR2SlVmw01bCJSderutWETmul7OQebdXI8bxe2vgYrKhhp X-Received: by 2002:a17:907:3186:b0:777:3fe7:4659 with SMTP id xe6-20020a170907318600b007773fe74659mr4046302ejb.336.1664481435369; Thu, 29 Sep 2022 12:57:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664481435; cv=none; d=google.com; s=arc-20160816; b=L4cxcryfoufi/ha8aH3vloiIkfojHhXatbTa609LWrp/32dzGmBu2A08kD7YijhwaA z+hM3Xuu6fl2IQQkt/67y4ARdtnzzumsnllpvwlamcAYK7Jot9IqgWOJH7wFGFWlhs2u WwatW95dDkn2X30K6S3+mDgWbpbUhLwqsbsQGJEINLOH1ggcNwEwDV2+b9Gdek6Yo+YT g7wQpMlCzERwOI2TjsG4xSjFSMDpPqMdmYCIn7tkmy+g2pK5oDAsyrnoyTjExCb7zXYk eorXM7o+OXTVtx/mcbzZFOb50xciLr4YIOQ1Tvgz2s4tNayOt51pxBtFo5gm3ggKPF4E HGTw== 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=/2GwsSTauJmjYfkTPtC2/6DT6emkrfoGXZJnJAKA7Q4=; b=0escESeJURGbmdWQq5FK4vVr5uirAOgDC4gB45zKtRjkXe3MB6zb0+AXQlxdgdFZkw Ki8j74OfVrcwRbd6UOq5P4ughuUgafkLd3DdmauGPKnSbQbFnTVvJrUksSr5HiIXrtOm D4NN5fXcJjhI0DSCX7CcWE10upCx4+jdKepOW37MApQw2/PfK93EE8MC0i66wZ3dNluc daAbcaCHi8wx/5u80jkbtHLxJO5fTg3PfxPlcvcyW57AR64263DFq18QCm0KGXg+AzyB J91E041XHzj0atALyqhyrzodY5XUjSCAUdqP6yYevQxhbBUd1fl8YTlGfNnQO4f9a76U lhJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=foDx98KE; 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 x12-20020a05640226cc00b00454c5d9eae7si354259edd.35.2022.09.29.12.56.49; Thu, 29 Sep 2022 12:57:15 -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=foDx98KE; 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 S229623AbiI2Ted (ORCPT + 99 others); Thu, 29 Sep 2022 15:34:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbiI2Teb (ORCPT ); Thu, 29 Sep 2022 15:34:31 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE397139423 for ; Thu, 29 Sep 2022 12:34:30 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id a5-20020a17090aa50500b002008eeb040eso5728601pjq.1 for ; Thu, 29 Sep 2022 12:34:30 -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=/2GwsSTauJmjYfkTPtC2/6DT6emkrfoGXZJnJAKA7Q4=; b=foDx98KEnUwOdRff85G0E13/0WM6bs/iCCF+h2oxTRfhB7Y8cg42aTZN6jyESeGP+M SMXoHJxaNBf/dU4aqoq9XMjty27bRq6o4egGu9mjF8HT6/tzgOCXTI19ixxEOtuJv4Hq BZNIv06QP3dxoJFec7uxD64LNaJdcxUwDvWos= 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=/2GwsSTauJmjYfkTPtC2/6DT6emkrfoGXZJnJAKA7Q4=; b=I2gn6QcuoXizkF/BbRshR0RV/maAJAO1Uv/za0XcRGYu0OM/OxudCjmrLQQ0UnE+EO kwrDHrbneNUKzHg5XsGsxzZusbPjBFHCjV+9JfrN3vyqnnuIl8WxMjA4wmu2e7FBST0q RU9GU90tf8fLBQGiBnr8EvlXu2g/UhtvQfZhD2wQoZMxWZOQFVfvNxvtGvNDRYeHbQCI j781+zmW1hZKmZH740fhsfhq1KbSXseXe/3rDLXVwVodaDgNp05uQUu5vG9b2sdz8hnI YjiiNeDeWhbm+YJ8JVa9PrJ6v9PFxdoVc/hu1a9GS5eFEpzfDRz008g9P9iv4WHfaESx j6uQ== X-Gm-Message-State: ACrzQf3eslM+aQ8ghSciaYBIXIYgvn1yVb4+iR5FPdLdAYCOkWbPrD93 6BNDyttH4TbMHAZcuQcQdYawx8WHCXGrmg== X-Received: by 2002:a17:90b:1b09:b0:208:4e74:7315 with SMTP id nu9-20020a17090b1b0900b002084e747315mr4128556pjb.103.1664480070313; Thu, 29 Sep 2022 12:34:30 -0700 (PDT) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com. [209.85.210.181]) by smtp.gmail.com with ESMTPSA id nt9-20020a17090b248900b00200b12f2bf3sm118624pjb.51.2022.09.29.12.34.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Sep 2022 12:34:30 -0700 (PDT) Received: by mail-pf1-f181.google.com with SMTP id d10so2312152pfh.6 for ; Thu, 29 Sep 2022 12:34:29 -0700 (PDT) X-Received: by 2002:a63:e16:0:b0:43b:d646:1bb7 with SMTP id d22-20020a630e16000000b0043bd6461bb7mr4327148pgl.53.1664479651010; Thu, 29 Sep 2022 12:27:31 -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 13:27:19 -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=unavailable 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: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. > > 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. >