Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2641765rwb; Thu, 29 Sep 2022 12:58:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6jO7kJRnOgNI2I2/eNWqrJunl82hLDw87GirD8gBCpDO+pD/JaSw89BWEsug1LDnOdh2ja X-Received: by 2002:a05:6402:3890:b0:451:ef52:8f9e with SMTP id fd16-20020a056402389000b00451ef528f9emr4785664edb.107.1664481520460; Thu, 29 Sep 2022 12:58:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664481520; cv=none; d=google.com; s=arc-20160816; b=JJx5g8j6BHh8z9V/B10HVCB5kQGAH9wYxyM1oAljFaHD5KuK8vOlN5o366XRSc5IMK BkZdcmTpMCziK+oIkeMX6OPB++N0TjWm5FoqUzwhX+i1cNy9k36D9T3zFsUB1QyhzqR9 /b+DMRWHrowU2d7Dkr6Ln3fzbs2S/LTviDZK4P8WkCy2jj3Qy9wvto8gQc2bFmkOzEu/ qmMCcGTPcADoqSy+R46GvlVFA4fMxxyiTUfDpCM1XMqU6QMRMk+f0d6CdadEm02j4o5N SWjf3VQ4KTauHNy12UP4MvHaCKAiZ3oXyPURHdJ84G7ysmNg+Ks6nWFdyJD2a1MzW/uN 2v4w== 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; bh=jPC3WVw4976dpKvKKCFdU/lc0ZuMPbNLKCqStUeM09s=; b=eaG12DuqwGoo9ieOfxk/lkMEIK63cOTPd0CtMY+17SH8xSgOAGdWlkPoAfEm20bzxY jRUbsV7H0z7YeKcypW9pr9vHV4QhxOODz9/SZSIUZGPpuZhJEzzsOF1jeTsAbl/LVnPp 9GVDBNnTWohM2xc1wZh4DJeD/bj93WhbTw4cWkHEV+arrf8o/NtQz7SwyWHRh7WZi039 jWq12ykFHSm+ZSQNV1OenwxCZ1fpkctZiUoIth+R50NYzxAg0OhtTTut4FTAVmkhTrFk EuH7X9gkRQDlHsS9WQoxKPZEZOIE8d2qOeNL2XkHpHCMvkYycRhpjBaQTCSkv0gnMl5L 9GBA== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht19-20020a170907609300b0078265af9468si13802ejc.893.2022.09.29.12.58.15; Thu, 29 Sep 2022 12:58:40 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229805AbiI2Ti1 (ORCPT + 99 others); Thu, 29 Sep 2022 15:38:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbiI2TiX (ORCPT ); Thu, 29 Sep 2022 15:38:23 -0400 Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AD4718B4B4; Thu, 29 Sep 2022 12:38:18 -0700 (PDT) Received: by mail-qt1-f171.google.com with SMTP id s18so1432190qtx.6; Thu, 29 Sep 2022 12:38:18 -0700 (PDT) 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; bh=jPC3WVw4976dpKvKKCFdU/lc0ZuMPbNLKCqStUeM09s=; b=Bn8uRgVhbpOL9LXoGIjhCC3rG4s+CBBtqpxyR/+L0Frr5ryxCtUdsCM9ZWVlEjewS8 ec5HW8TwFAglYQB+WIjWcHdArOn1H80adwV+KA5ymx6fGJOP/w2GSiKF0xnZhpt1u9ij Kt1imFFhSiL//fAn4D3clrrNd+EOWo3HQzq85m/G9FYN51mkuvXAsYhy+SDeVnvulPO8 BXt3WtIwOpVs5pwrKIq+q35dzggwEb8H2LWzL+wE7lXJkuEDK0Hug1ECWR4K4T74q+dg 4KhBJyqLuLKdSf+vJtWwDNGJDdZle3Wz45UZe6o0+9zrKGawmMo0cXsunv6Fed+nwmlo 6mIA== X-Gm-Message-State: ACrzQf0BCiNtkIEZsWmvdo+ZMrTvLw3ePElP59zravTvwRRcj27zBd6C L7SbhcXnXhJj4WaNiCkrjQywZBWpHx3Fh4BVa3w= X-Received: by 2002:a05:622a:64e:b0:35d:5213:284f with SMTP id a14-20020a05622a064e00b0035d5213284fmr3863424qtb.49.1664480297559; Thu, 29 Sep 2022 12:38:17 -0700 (PDT) MIME-Version: 1.0 References: <20220929161917.2348231-1-rrangel@chromium.org> <20220929093200.v6.6.I8092e417a8152475d13d8d638eb4c5d8ea12ac7b@changeid> In-Reply-To: From: "Rafael J. Wysocki" Date: Thu, 29 Sep 2022 21:38:06 +0200 Message-ID: Subject: Re: [PATCH v6 06/13] ACPI: resources: Add wake_capable parameter to acpi_dev_irq_flags To: Raul Rangel Cc: "Rafael J. Wysocki" , 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=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 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. > > > > 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. > >