From patchwork Fri Jun 16 11:25:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 109058 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1274575vqr; Fri, 16 Jun 2023 04:38:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ74aHeIxWKY6dqsjBhGQmokRwlOALAe/4r9JaCueK9C3VyvfIPzUxsw7HHsc07pcVbszliX X-Received: by 2002:a17:902:ec8e:b0:1b1:8730:8d9f with SMTP id x14-20020a170902ec8e00b001b187308d9fmr1785218plg.14.1686915537115; Fri, 16 Jun 2023 04:38:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686915537; cv=none; d=google.com; s=arc-20160816; b=E0E9MQXKSqTS/Msu56iN+mq1V1bW5SF+DwD4VtMRVgoAoCdM8W4aasMECe6DtWyoqc Mv43wZhsX5BE6VjP0LVyMOIpRPMMazn+Oqq90kWZg5j6blGgm+PYBOvq86ySrc+bNH5O CejyFJH8sr2AGpViNJAkXACtL+jY0Heh2H0d05c3OYCQghvy9hlx8s4RlB/U82Vvymj0 Q7+OlBlF8bf7zmqiwSqctDQLjQMpQKQjF9JkTNXs6BAs+wjxtwIoq8yy8a0eLc5Gtg8O 5hhCm4iHjBrewpgTX4GhVqohX79xj8SySqmpb+vKQbUmjpSPP90mOCPc7VN3y6JekUTm woPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=1cuNySetNojI9OmJ0j5cezEnA9razppVCvsqmKhnzHI=; b=gaoTjLRSPptaBDLAms11o08hOwFH9+itOxRWgHAYAFKEUpCxIrxK+tAXJoKxbVRKJQ QSr1aUEFBrgKZ02b9MGKN+BTp/jluAr3DKTP9ixz1aqO2k0MmVU+68UBWXWJol1GFHsU Guwi86D2iEPfeEyUAwsxoqFBNb6OHwuSgx+o3cUt4vmBb4PrXnB0DyYgKdDKxsPa0WqA o5LVFvGB7UfYHO7cgjogf1XKwBsp6LZp0GcRSrSrHLP+MjLidJ7ugaTtMYMPBy41wPxH X3hNSjXJD1jUVd8tY7BASJKTfVosiDN68ilR9rmjq5HVk7PInAMiYpt3LQyDJWI9dC1S MdnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=gV2yQl8S; dkim=neutral (no key) header.i=@linutronix.de header.b=OtsPe7X1; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a13-20020a170902eccd00b001b0732ccd7dsi7875369plh.391.2023.06.16.04.38.44; Fri, 16 Jun 2023 04:38:57 -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=@linutronix.de header.s=2020 header.b=gV2yQl8S; dkim=neutral (no key) header.i=@linutronix.de header.b=OtsPe7X1; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345445AbjFPLZd (ORCPT + 99 others); Fri, 16 Jun 2023 07:25:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbjFPLZ3 (ORCPT ); Fri, 16 Jun 2023 07:25:29 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71BF91BF8 for ; Fri, 16 Jun 2023 04:25:28 -0700 (PDT) Date: Fri, 16 Jun 2023 11:25:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1686914726; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1cuNySetNojI9OmJ0j5cezEnA9razppVCvsqmKhnzHI=; b=gV2yQl8SzEwOx8y1wbiNu3UNlr5/VDoDPI6OGKlzCRG9cK5zrcxf/oPVJoX8toTHIhvjI5 bbTyoUo6niVKcjzpXikfJhrO+z7cuoFvaBSsonAPNE341iASsNwQ5gE27gBPwn2T9zfCxW dM3fbhEaxVlogI7ZxMSNfTg8fhF84uPvek8FlapGFWj4Kdz0n+sKyXxNrZwoYiLVuPrlma LMFHNK8H1Qs2tgh0ruY31kfKbjtJVKZITC12KI5JVXo5asiqoz3VT6/BpBi4uJAbQMrC6+ lrGT1ugsh09rczO5eCMXesA7DOIMFC+B0smmJX6pxTlNirQWAqhyrwUDDApG+Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1686914726; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1cuNySetNojI9OmJ0j5cezEnA9razppVCvsqmKhnzHI=; b=OtsPe7X1oeLIHasHoBJcun1mOe2hqVT4Euv7GvF4Iq2bFqa1ccTl3Fhf1GIfnwf6niTdJb 4T1IMoq9XwqQSkDA== From: "irqchip-bot for James Gowans" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] genirq: Expand doc for PENDING and REPLAY flags Cc: James Gowans , Thomas Gleixner , Marc Zyngier , Liao Chang In-Reply-To: <20230608120021.3273400-2-jgowans@amazon.com> References: <20230608120021.3273400-2-jgowans@amazon.com> MIME-Version: 1.0 Message-ID: <168691472619.404.8619258903421103207.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768137689554121177?= X-GMAIL-MSGID: =?utf-8?q?1768859146108043123?= The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: 7cc148a32f1e7496e22c0005dd113a31d4a3b3d4 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/7cc148a32f1e7496e22c0005dd113a31d4a3b3d4 Author: James Gowans AuthorDate: Thu, 08 Jun 2023 14:00:19 +02:00 Committer: Marc Zyngier CommitterDate: Fri, 16 Jun 2023 12:22:05 +01:00 genirq: Expand doc for PENDING and REPLAY flags 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 Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20230608120021.3273400-2-jgowans@amazon.com --- 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 5fdc0b5..c443a0d 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