Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5844053rwd; Mon, 5 Jun 2023 09:15:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4pMXAWtWpGlYJNGRmBstvFtQJez2J1y9krhmcFOk+4MVqeipBkhnUvViVO1oka0A/akTfv X-Received: by 2002:a05:6a20:5495:b0:102:a593:a161 with SMTP id i21-20020a056a20549500b00102a593a161mr2718723pzk.57.1685981722788; Mon, 05 Jun 2023 09:15:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685981722; cv=none; d=google.com; s=arc-20160816; b=oKhA+aFHIWp0yPts8SYjcXmdOZpL+IISn7LVf2jdT1Osv5JMRZcBxzcwJABMrCOOau 6JO6YXt6N+GDr8Y7i9V2m5Wvk9zn1LgHB4jmQr6nhu0vU30T9GyUWfOTSzjcDjuE8GFJ Y0s95ZvKK0w58toiRqfZtfenDmJ2raI+c8N9BrecimXnX3hqIDjrHkQmKeZ/O/B5XGKF oDUPm0kazLn6IP5sZngJfZyqsJ+xKF0DIOjZDuSdK6G/E+IVzMknHrTzvUDQLblC8aMn GhNzBxrQ2zvPYNEoqwKoeorawXhng9MaUT3BOcudGfrn007cxjn4oCUjfbNhEYWWlBT0 C2BQ== 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=tXEWo7VvO6OyUto3xSNKn8eACZQAi7DNtT8K6sTTyYINrCMFLMve7+iDgW/5tn/mzj lzYKdVc65tsNQCspSqYfvkmiWij25n88L+AZIAWdfQ9pifMTvhf8BCj4SP++n7OtV+mA h4bgn/W+jlRrwoiDoTSaE+AygQAzUEGV+mUx+PHAKseLAlVXfQ4hkjmUHsi5t8l34KVI 4jShQYXeuD0uG5cSXeYBVoAlkhKxUkh8B8tRKeQ0Dplpc54/N8fE7T7GB8kuRiUbR+TE vCWromf2zIhcBUmHn4fw3x0fEmEHpnzOnIhekJcpAhio6ftR0OY0G9wMQc2MwfMb+Pzf pOUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=GqZ1OTUv; 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 j72-20020a638b4b000000b0051322a8d2aesi5697686pge.110.2023.06.05.09.15.09; Mon, 05 Jun 2023 09:15:22 -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=GqZ1OTUv; 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 S232331AbjFEP7J (ORCPT + 99 others); Mon, 5 Jun 2023 11:59:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231199AbjFEP7I (ORCPT ); Mon, 5 Jun 2023 11:59:08 -0400 Received: from smtp-fw-33001.amazon.com (smtp-fw-33001.amazon.com [207.171.190.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B124B0 for ; Mon, 5 Jun 2023 08:59:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1685980747; x=1717516747; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=0lAuoGk56JFzvUQpYQHSf87YsEVvoUcUI9dkbr4Ucg0=; b=GqZ1OTUv6KWi/iFEB9ayC3AiPzjyBC4nudiAI970uvbSfldFZH1ldhBW 2RJL9OhvvTt+/tbbTQeIQvf2KQ4NiPdvdieAkMqp7evkQScrAQFtlinzz zToB5zHmJH5ET1ZUMjMeR2D4lEuZzwdbCfRTDUZIq+Sna4ijVjQpuuBkY U=; X-IronPort-AV: E=Sophos;i="6.00,217,1681171200"; d="scan'208";a="289729654" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-pdx-2b-m6i4x-ed19f671.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-33001.sea14.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2023 15:59:00 +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-2b-m6i4x-ed19f671.us-west-2.amazon.com (Postfix) with ESMTPS id 1E548806DD; Mon, 5 Jun 2023 15:58:58 +0000 (UTC) Received: from u5d18b891348c5b.ant.amazon.com (10.146.13.227) 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; Mon, 5 Jun 2023 15:58:53 +0000 From: James Gowans To: Thomas Gleixner , Marc Zyngier CC: , James Gowans , Liao Chang Subject: [PATCH v3 1/2] genirq: Expand doc for PENDING and REPLAY flags Date: Mon, 5 Jun 2023 17:57:22 +0200 Message-ID: <20230605155723.2628097-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.227] X-ClientProxiedBy: EX19D046UWB003.ant.amazon.com (10.13.139.174) To EX19D014EUC004.ant.amazon.com (10.252.51.182) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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