Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18662rwd; Tue, 30 May 2023 15:27:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4W/qcjy8rmmPvdsjKuC9ujNbuMitWfYtquVWfYGOmD6FRYIKmtzHv6Ii4LvU0tdgHzO0Ih X-Received: by 2002:a05:6a00:8c4:b0:639:a518:3842 with SMTP id s4-20020a056a0008c400b00639a5183842mr4926531pfu.7.1685485634296; Tue, 30 May 2023 15:27:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685485634; cv=none; d=google.com; s=arc-20160816; b=ap1E5SQidtSlxc6VuTSxkee7T/RWoK2UUyGCWqK3a8IBCYrdZ9IKEBPyGroRYh4O5r e6a0dlvGPcRse3uIKsU/rXh6U9FSDhMvbdP6QMNszlbWgrDxmblZSYcy44SaS40UTgoI Vo/GsYK4LbzFlIOK9AzmCRz3xeXTk35QG3mm6sOQgu6IcO/IsQZZ4N+Hus2ladGUJ3ez oMTb+CFVTEVLrsYuGqaI1y0lP2HPG0Fvie3FiRBlOTHuEwvadwigAdZbr68tiFdaP9Hk k+C6xAGUk/Wg9ADT7nCllp75LB9osZzYfPqHC5oud92oI7hn0MxlNMF5KaKtqRLMS4yG 3vLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0lAuoGk56JFzvUQpYQHSf87YsEVvoUcUI9dkbr4Ucg0=; b=cFTjWp7gx9sZpvcfrlXr5Ibpor1y+B02kDP4YoujKX4gAoNjwY9bM6GvZTPXS/xWPb TgVKC28/RoNS/epfPMN2wYanU64uy7beIClJNmTJ+qGkVzKko95yz7MvtsChyg2Ce9Jy yyZzkHUPe+7C0uYNrf5eAJZlvyAJqx+TneYR5d3RRh/FpFW2JLgOMx2rhN4rh4wCs6H7 /DW7mhU8UlWL2I/iKIqDP43y+HKfoqT0PEOGGm0zItv6aLDON2lsy+IlbilMhXKnAF9x 6dtijiglvL5UJXh37lEMz5IZvMYSbx5ogGRs7ufomzQ3lAKHbhn0ZAJ12cQzH9w3jKwG PLkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=rGgQWTht; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j8-20020a636e08000000b00534919e40fcsi630561pgc.626.2023.05.30.15.27.00; Tue, 30 May 2023 15:27:14 -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=@amazon.com header.s=amazon201209 header.b=rGgQWTht; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231409AbjE3VkP (ORCPT + 99 others); Tue, 30 May 2023 17:40:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232253AbjE3VkN (ORCPT ); Tue, 30 May 2023 17:40:13 -0400 Received: from smtp-fw-80009.amazon.com (smtp-fw-80009.amazon.com [99.78.197.220]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0E2111C for ; Tue, 30 May 2023 14:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1685482808; x=1717018808; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=0lAuoGk56JFzvUQpYQHSf87YsEVvoUcUI9dkbr4Ucg0=; b=rGgQWThtEoTsvcIi2kGPoAMR8vnSdKGvnwjrIXoL1E14TxDFlLRLDtgC htx6uQJzJycrhGkBOa7BkYhO80ssaWc/OtIDXmQMmaYGfrOhvAVeiyiUu 8WH7lb1qXOcT8T/KcWckh7MCP8saBXQtX56B5HlneU8EdRMoCuGvQAnnp A=; X-IronPort-AV: E=Sophos;i="6.00,205,1681171200"; d="scan'208";a="6913183" Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-pdx-2a-m6i4x-8a14c045.us-west-2.amazon.com) ([10.25.36.214]) by smtp-border-fw-80009.pdx80.corp.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2023 21:40:06 +0000 Received: from EX19D014EUC004.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-pdx-2a-m6i4x-8a14c045.us-west-2.amazon.com (Postfix) with ESMTPS id BA4F1805EA; Tue, 30 May 2023 21:40:05 +0000 (UTC) Received: from u5d18b891348c5b.ant.amazon.com (10.146.13.226) by EX19D014EUC004.ant.amazon.com (10.252.51.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 30 May 2023 21:40:01 +0000 From: James Gowans To: Thomas Gleixner CC: , James Gowans , Marc Zyngier , Liao Chang Subject: [PATCH 1/2] genirq: Expand doc for PENDING and REPLAY flags Date: Tue, 30 May 2023 23:38:47 +0200 Message-ID: <20230530213848.3273006-1-jgowans@amazon.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.146.13.226] X-ClientProxiedBy: EX19D046UWB004.ant.amazon.com (10.13.139.164) To EX19D014EUC004.ant.amazon.com (10.252.51.182) X-Spam-Status: No, score=-2.3 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_NONE,T_SCC_BODY_TEXT_LINE 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 Adding a bit more info about what the flags are used for may help future code readers. Signed-off-by: James Gowans Cc: Thomas Gleixner Cc: Marc Zyngier Cc: Liao Chang --- kernel/irq/internals.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index 5fdc0b557579..c443a0ddc07e 100644 --- a/kernel/irq/internals.h +++ b/kernel/irq/internals.h @@ -47,9 +47,12 @@ enum { * detection * IRQS_POLL_INPROGRESS - polling in progress * IRQS_ONESHOT - irq is not unmasked in primary handler - * IRQS_REPLAY - irq is replayed + * IRQS_REPLAY - irq has been resent and will not be resent + * again until the handler has run and cleared + * this flag. * IRQS_WAITING - irq is waiting - * IRQS_PENDING - irq is pending and replayed later + * IRQS_PENDING - irq needs to be resent and should be resent + * at the next available opportunity. * IRQS_SUSPENDED - irq is suspended * IRQS_NMI - irq line is used to deliver NMIs * IRQS_SYSFS - descriptor has been added to sysfs -- 2.25.1