Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6457096rwd; Mon, 5 Jun 2023 19:14:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5jNr9o0Z+c9YrtLz/YbuK+dgJMiCvcufe7z3/EAv1eLF/13zw7/ci4UKmQ5QLgfPZVxShg X-Received: by 2002:a17:903:1252:b0:1b0:5304:5b4e with SMTP id u18-20020a170903125200b001b053045b4emr1040301plh.43.1686017660606; Mon, 05 Jun 2023 19:14:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686017660; cv=none; d=google.com; s=arc-20160816; b=YFigMZFA01NDkokyO0EUfdyfHAIVoQYqjGtVtbt8aDv3WR5X+206IzOJ1Xg8frd3KN N6rv8DWhbOOt50iYXyiTRdTOc+oJK+eVOiu919d+X9TG17+6SIRMw6QU+Zb6HhZ8CZ/E Fr0BwZhVXecPCOYzdgJj2Kpej4MWSkiANwjAjqdcGpBrn6mPGashGDyiUHVcUSyU0xIl e2xikbByuAj8xg3VfermSEmi1BZDcFutkgqD9mrDkkyUDCCBdVNIwMTZpivBuG90a3l4 76byDOgQwC8XFEyQT8Lzig5GizGY+MLIxid4Ja+9FMj5RzjUOxiktK0DQU988SJCd4zh bo4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=tUW1bJ+tB9k5TLZHiDOx5PP7jx4dWCA5NxY0A9E66mc=; b=OPI7v8079aY6jjcSON8BYghFJmCVtC8ZLgZQOToDWIp8/NV8OLznYqNK8dDwt7UTT2 WVAKRmjlQ4tBaYU+j89GqwBhj24vIu36FISYgWzHf8aJN3w6kQ4DwYAbhsBU4ezWS0tf mwl4a9KxUvSRB7jtz3ZrmEnuHbWA+pnQ71teoSch3zFEFxDr8Cxu2D2dKGCQ9DjjWO/y MQTFuptzHPZxP5pW65lg0UyZf6O7RHYgbsyO6z0RMBe5k6KnzCSJ6xgVBTIx+KE19ygV fpfoDxnVI9ijJeg8lpjQotglJhGKVT2aPMhFmqEMMoSD3foKmPE6bcc3m+Ih3zmv2oW2 qzjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=VqVoYPkp; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020a170902d34c00b001ac6189cac3si6223110plk.187.2023.06.05.19.14.08; Mon, 05 Jun 2023 19:14:20 -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=@infradead.org header.s=bombadil.20210309 header.b=VqVoYPkp; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233358AbjFFCGL (ORCPT + 99 others); Mon, 5 Jun 2023 22:06:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233223AbjFFCGK (ORCPT ); Mon, 5 Jun 2023 22:06:10 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18A5311C for ; Mon, 5 Jun 2023 19:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=tUW1bJ+tB9k5TLZHiDOx5PP7jx4dWCA5NxY0A9E66mc=; b=VqVoYPkpGU6vh1KSVQuo1/2fEw uNC2ACr0hAuefq/ETJpbDFKMPGlksOlsqyzbLKNO/62bsjyecdTP7UGXnVijb1uzcd2EWZTTK6oho YVGH9KrRgh8OJ4JGUcIoc/42JlRY3MHW10W8m4HUAgIMOU4XdeHfxf/WWHvU7sHYBN96pmZqmh7fp xPASMV0PiQ5nmE/b6lDT3qf5nlatWTu4bxabQ+ljv3ZAr4QSZZpoGEm2C0geQFZB2Y4hj+5ZKPtiZ IkXwfOowzLz2ac/Wf244Qf917XYMKA8KlPHsalO5yAk5CNRCyasQCk5MI3YssqNvFKgd+nJRfmuii s4JmCIiw==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1q6M5F-00HPKc-2p; Tue, 06 Jun 2023 02:06:05 +0000 Message-ID: <05e61770-1a20-6210-1a03-162cf27ba206@infradead.org> Date: Mon, 5 Jun 2023 19:06:05 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v3 2/2] genirq: fasteoi supports resend on concurrent invoke Content-Language: en-US To: James Gowans , Thomas Gleixner , Marc Zyngier Cc: linux-kernel@vger.kernel.org, Liao Chang , KarimAllah Raslan , Yipeng Zou , Zhang Jianhua References: <20230605155723.2628097-1-jgowans@amazon.com> <20230605155723.2628097-2-jgowans@amazon.com> From: Randy Dunlap In-Reply-To: <20230605155723.2628097-2-jgowans@amazon.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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 Hi-- On 6/5/23 08:57, James Gowans wrote: > ... and enable that functionality for GIC-v3 only. > > --- > drivers/irqchip/irq-gic-v3-its.c | 2 ++ > include/linux/irq.h | 13 +++++++++++++ > kernel/irq/chip.c | 16 +++++++++++++++- > kernel/irq/debugfs.c | 2 ++ > 4 files changed, 32 insertions(+), 1 deletion(-) > > diff --git a/include/linux/irq.h b/include/linux/irq.h > index b1b28affb32a..b76cc90faebd 100644 > --- a/include/linux/irq.h > +++ b/include/linux/irq.h > @@ -223,6 +223,8 @@ struct irq_data { > * irq_chip::irq_set_affinity() when deactivated. > * IRQD_IRQ_ENABLED_ON_SUSPEND - Interrupt is enabled on suspend by irq pm if > * irqchip have flag IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND set. > + * RQD_RESEND_WHEN_IN_PROGRESS - Interrupt may fire when already in progress in which typo? s/RQD/IRQD/ > + * case it must be resent at the next available opportunity. > */ > enum { > IRQD_TRIGGER_MASK = 0xf, > @@ -249,6 +251,7 @@ enum { > IRQD_HANDLE_ENFORCE_IRQCTX = (1 << 28), > IRQD_AFFINITY_ON_ACTIVATE = (1 << 29), > IRQD_IRQ_ENABLED_ON_SUSPEND = (1 << 30), > + IRQD_RESEND_WHEN_IN_PROGRESS = (1 << 31), > }; > > #define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors) -- ~Randy