Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp819965rdh; Thu, 23 Nov 2023 21:06:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IE5HbJxEmH6BJtZeuFhLUtLLelZRGSIWpmatSeAl6bZQiL6mP32ju0DAkILClm3QCM3ahEF X-Received: by 2002:a05:6e02:1789:b0:35b:163:1c45 with SMTP id y9-20020a056e02178900b0035b01631c45mr2488844ilu.20.1700802391903; Thu, 23 Nov 2023 21:06:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700802391; cv=none; d=google.com; s=arc-20160816; b=yJuixnFJSfJ/dRdbkdli15sz6hwTtcVprwKT8p2Av281gdDOt3gChcDQ6B6NrhfUwZ Op6betOAlf3x2YxUCnioYpVKIswJGRepOtbH0uMvLZELuKuw3xQEg16vK6tWwCW6QheW S5CLgZZfqwjtyAGL+JNcFy+vlB1Jnk/6xkmdvKmWlgvVLM2V9cDhmic8/2F6sMzTrm9O vcqLqmKF3rfn49s+qswzKO3L5mBrsP9ospdcOMJumjhpgJznAxXg16C0mH1zTzXat4ZD Coxaf0k4aTtEhCFJbpZdi6YPj2CjFeQceI5kar4I23xTFkOLIrHjVifEtc9YTHu0UG2g o9xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=NSqVVlNqay+tkbRQW9+dH1P4yW/ANJSftxzN49AnClI=; fh=jzvCS3QaPHX23W+jm6nFcXo3Zr6aj2qRZr98wqs0BJw=; b=zenESnFpk01ZEpKi4oMfNt3TT9FxfQDUqtejaPI48qJX1ApDW+yJ1llKziYg0dYMmB rxZfwh6QEZ3DIj7G/4bMaXoQoctnrn2P4J9If4yE/hnQILb/vfiULMd+muA9zFVvGiUL UujudqTne/3uizG9wJY0+5/tCjvX0WKU2YzCwumCFZvu2igayr9LQedhchdMR9NuomCj ML/qwgH8A9GBzuBoCWYMMBcTMX7yVN/oLYtyxTw1tKvYiKm/kfqTaF7NTHM76LXHRPKL p2YHXt7vAOUTKbvhGb6xNYBC59WYfJexLBg2nrt2cnbqoCSEn/InVO2rL9vMnXShYLfo smBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=NPjepY7d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id j6-20020a056a00130600b006bbfc944748si2707787pfu.315.2023.11.23.21.06.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 21:06:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=NPjepY7d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id CC2F481FD9C3; Thu, 23 Nov 2023 21:05:41 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229518AbjKXFFV (ORCPT + 99 others); Fri, 24 Nov 2023 00:05:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjKXFFU (ORCPT ); Fri, 24 Nov 2023 00:05:20 -0500 Received: from mail-oa1-x31.google.com (mail-oa1-x31.google.com [IPv6:2001:4860:4864:20::31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB760D6C for ; Thu, 23 Nov 2023 21:05:26 -0800 (PST) Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-1f9460cb66cso940195fac.3 for ; Thu, 23 Nov 2023 21:05:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1700802326; x=1701407126; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NSqVVlNqay+tkbRQW9+dH1P4yW/ANJSftxzN49AnClI=; b=NPjepY7dWhIrtAkquUq71j4etkz/UIfEg93n4qluwjGcJo9tvR7kCy8HbfZMT69Vfb 3AIudzb1GbM+EboKZ1pywajMjOsASyNab2yonYDZw5SRm61prIckA6KrCQuMJLpB/WMr vuIsV0TBjVD9DhlLG2HcOI8zxfYFZ+vK/fyRTRHn9MCdvLIjKA+pLm8d1GHModY2WMPS mZ7dWf/HAvek1pHaNTUi8dAItJo2hv8G1q/y1BF7l9JswzmEbW0hafb5AEborbG0Chth LccFFPVFo2Qa5fIH3FPFABdCBjrUnJ4//tw6bHbQvpn11KpxSUSXidraQEpZVqOt+IgZ SY9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700802326; x=1701407126; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NSqVVlNqay+tkbRQW9+dH1P4yW/ANJSftxzN49AnClI=; b=CcgW8cbJH229/u0Yu+d1GtLEwLPovJVVybXZq/bOZe71LCSKep06/VCZ1xeOxVd9e2 PsSX+4mplaAUfFnQhW94d9eInpVg6x9Zpl9K8Y9Xf4wKn1MZjh2Soo9EGh6wNZ3BYkLz dZcMa/DdPsdzHuHh2vQ5x1yVw0kQlbVBgwTrJr6z84N14p5xpFVbdhbQu/6PPeg7BOYi 7Md2FDkBUXShaUXvthqdthaVJ9aEVsQSFcV9Jj861DfPHyR0zSpLYtV2sasP3XPh7khW EvJOS9EqKn/bHznW9zki0BTmQyRAD1cXDkjT9Qi1wPeXeb+qUgrA/sGn7h+0jzlXybb5 H0AQ== X-Gm-Message-State: AOJu0YxaBjFkSM0peyTIT3k5oQxKj+Tma7enDzjEFmFETDcxJdLkIow1 i0kw3k1lD+Nwtvfqbxx+9tItYtC1lFE1dSyPEj4BhYqzQxlD9YUv X-Received: by 2002:a05:6871:5315:b0:1f9:a468:dd01 with SMTP id hx21-20020a056871531500b001f9a468dd01mr2133739oac.53.1700802325856; Thu, 23 Nov 2023 21:05:25 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Anup Patel Date: Fri, 24 Nov 2023 10:35:14 +0530 Message-ID: Subject: Re: [PATCH v2 7/9] irqchip: Add RISC-V advanced PLIC driver To: =?UTF-8?B?6LCiIOazog==?= Cc: "Alistair.Francis@wdc.com" , "anup@brainfault.org" , "atishp@atishpatra.org" , "devicetree@vger.kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "linux-kernel@vger.kernel.org" , "linux-riscv@lists.infradead.org" , "maz@kernel.org" , "palmer@dabbelt.com" , "paul.walmsley@sifive.com" , "robh+dt@kernel.org" , "tglx@linutronix.de" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 23 Nov 2023 21:05:41 -0800 (PST) On Fri, Nov 24, 2023 at 8:33=E2=80=AFAM =E8=B0=A2 =E6=B3=A2 wrote: > > Hello all, > > > I have a question regarding the handling of potential issues during the M= SI interrupt sending process. It appears that if the APLIC target register'= s value is modified during the MSI interrupt sending process, it could pote= ntially lead to MSI interrupt send failures. The code doesn't seem to accou= nt for this scenario or take appropriate measures. > > I am reaching out to seek clarification on whether this situation has bee= n considered and if there are specific reasons for not addressing it in the= code. Your insights into this matter would be highly appreciated. > > Thank you for your time, and I look forward to your response. This has been taken care of in the IMSIC driver in the irq_set_affinity() because the IMSIC driver manages the re-writing of MSI messages upon IRQ affinity changes. Please look at PATCH7 and PATCH8 of the "[PATCH v11 00/14] Linux RISC-V AIA Support" series. (Refer, https://www.spinics.net/lists/devicetree/msg643764.html) Regards, Anup > > Best regards > > >