Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3981993rwb; Fri, 30 Sep 2022 10:58:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7KHMh0291EhtxQA493Bnf6wdN6t83x/lFNKXcYPzGMjI6x6TuDSiUQtJvh0uKnH/9CN2l3 X-Received: by 2002:a05:6402:4306:b0:451:8034:bcb6 with SMTP id m6-20020a056402430600b004518034bcb6mr9032195edc.198.1664560716025; Fri, 30 Sep 2022 10:58:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664560716; cv=none; d=google.com; s=arc-20160816; b=CPeX5Ch8EnHqvIgtEBPiMGhXzdKb+o6Zr6kby6R6j28EWErYq5gxMtNmytmrSvh3cP LjmloiJKaIvdSVwg5zLhkDbq7Zos5EseMZTRv1qYMZLPtyd3VC+MaT9CGZgN0RdX5c5X zMvrW7Khpe7MuUhzqfnZDTiwA/b6dXFVlGGXW50/NjJWwKoql8SJtj5+4sEfWtzd0DAS DClUOVzUbQbb6hVlGEc3zhV9SIY2ibKRuFLI/WZQebY2kCFRvOotrltQBPC4+cP5ZZ8C 4qjEwiyApvSUA/dvdiJdU4+NQXdIkWvP/fFgdJDDQbNoMr4+t6ahTHwQ8zzvX5aPFKKq yJ4g== 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=/wx9U+dObGcu3vd67LH5xUyn1SE13wYoTWeTVT1V/Xk=; b=Wz9eRt+KYGzka+pt94s0tCGjSMkPidkGaKdtnLEarxmYFUTY+NJIQeQvVxWOUiKTGK jaMPN153TG0tZqHb4SmX7Q+BW2WQfG0cxLfPju+qhpdgNJBU9brwrA4S+L1cBxQYKnYN 1q3KvedUkeUCdWbMJ9Mafo+qzF+xrf4mTgdHRfl1CPN59PVkQx3rJbpYRaJEXQl+c3nv IT0vVtkXviHaEh9uHHs2sbes4eeD3PFDzw3sa34W1hulsekR/V0QDfxViYe5AERFxVEt 02bm0jwjxkk2NdDWP/jNi65ir5PV2aqOKtMM8p/Fh94s8G+5y6eDz0S5uIveSdnhCClE 3ZrQ== 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 t5-20020aa7db05000000b00457463dfcddsi1980876eds.70.2022.09.30.10.58.09; Fri, 30 Sep 2022 10:58:36 -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 S231996AbiI3RNv (ORCPT + 99 others); Fri, 30 Sep 2022 13:13:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231605AbiI3RNu (ORCPT ); Fri, 30 Sep 2022 13:13:50 -0400 Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FF5B1B0E2D; Fri, 30 Sep 2022 10:13:49 -0700 (PDT) Received: by mail-qk1-f177.google.com with SMTP id u28so3205539qku.2; Fri, 30 Sep 2022 10:13:49 -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=/wx9U+dObGcu3vd67LH5xUyn1SE13wYoTWeTVT1V/Xk=; b=GmKkzNK5uL1Yq9YhVBrtlyFfHYHzJ30VTNpFhc2tjyl9fQVRra5xt0pZWp1ndi2xG/ M7ymwiGqZ6/HAOFONY3tRqiZHXeUKFFgXjLm9RgUxeR+AIecMdDUbHJcpH/9+HELjTLL 7YsYvH/4Dj2ap8YFkpf6E66LPuDPoWvVZEQD9mP9rUGXc5roTM8zvsBK8/bGuwPZIu2c tf2BzAy9kz7f7VVNd2pzvctbctqb2E1TojqJj/1KPd/wjS2sHXlfKuRxvLX4RrNU+ilx u1oJNE0m6LtiN2d054+QkUgEJ1QRjWafcSfWkj3X47YRaPMQsq3q7Mkc9Dhfuk/XrViY 5lzA== X-Gm-Message-State: ACrzQf1Kk6bzs39kMfDTaJAaYE12HPY8WK/iJz6bDXa15zksI8QwoF7d XIhjYNLXFDRyxkr+IcunrBf1xvaFuIdJjfd3AWs= X-Received: by 2002:a05:620a:4008:b0:6ce:8725:cb7 with SMTP id h8-20020a05620a400800b006ce87250cb7mr7047317qko.480.1664558028487; Fri, 30 Sep 2022 10:13:48 -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: Fri, 30 Sep 2022 19:13:37 +0200 Message-ID: Subject: Re: [PATCH v6 06/13] ACPI: resources: Add wake_capable parameter to acpi_dev_irq_flags To: Dmitry Torokhov , Raul Rangel Cc: "Rafael J. Wysocki" , ACPI Devel Maling List , linux-input , Andy Shevchenko , 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 Fri, Sep 30, 2022 at 1:22 AM Dmitry Torokhov wrote: > > On Thu, Sep 29, 2022 at 03:20:12PM -0600, Raul Rangel wrote: > > 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. > > I am fine with all input stuff going through ACPI tree to ease landing. > Or I can pick up everything if Rafael and Jiri/Benjamin agree. I think that patches [5-8/13] from this series are significant framework changes, so it would make sense to route them via the ACPI tree. If this is fine with everybody, I will queue them up for merging into 6.1 (probably in the second half of the upcoming merge window).