From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 546F9606A6A4 for ; Tue, 1 Dec 2026 07:17:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=md+LRX1j; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=NQaa47W+ DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=u4SWhtW0MTaNigydCEfm+MfPJ7wwII3KPE1PiBakxNY=; b=md+LRX1j4LXyTT3BexQByBvoMV G2UZranmu8p7fJdtY9cbsLizR1LPvDzoOc+qkTUZCnct/R6J/ffTmNvK36Uv8MYs0Z4Fv72M2BOz/ TzFWjwx4s28wjdaigJOevxeRPKhnmPh5Q0ywVetDmJMvcyDzsIuWiAYpUxKudUHwVOYXoFlxJMHvb IPOWsx7d6LF/PmMMN0QBZsI2HraQ6L+Y39fDs9ny7MZMqJaUA2tUjZ4uqPf6lcGiZH/igGEapRLRK kpch3CjEXbhmlBxmNGTAZxGAVi1HfVja2RvysluDWEcVcoEMZxRFEhnvFTECqHL8ZTzJ2Kiia6+Hc QwcqRh7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYI6r-00000006smx-3kvc; Tue, 01 Dec 2026 07:17:05 +0000 Received: from mgamail.intel.com ([192.198.163.14]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYI6p-00000006smQ-065j for linux-phy@lists.infradead.org; Tue, 01 Dec 2026 07:17:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796109423; x=1827645423; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=FQ9j6pIs+P7BFiaEempdDEKpJ0D8Jdw1y7T9dNUj+Aw=; b=NQaa47W+/Wm9sB+B6oSoCRsuwsxhmGFIs1gU1u/Q1CaGjdoBHalUMJ9e oFM2nYoC+QF6ysuclqjTNvoV+vG3xsmywK81VGu43YDs0tEMmvCtn+lvI SdC115P39xBJyEONoHM5hbW5psGILRMMzvXPnCx4fvqtOPnhjzlPKmHvM tItahdIJuIrTiLR4SxAA+yg8aOm6qn8osMI4kzutiIpZeDJt6oWBENF8Z 6I/U2hs/VvRih1ApF02uM8xrmpWBZWjxrSPUe06hONjFS8UoPteP3/Ev8 KGdxb+Trma6FJEeUaQBh/QQKn4G4BB3gfqocWdLVR+ZpXhwv0kpdcWxDe w==; X-CSE-ConnectionGUID: J2mISLT8S2SFzHMDVqo1kw== X-CSE-MsgGUID: GoGlCT/bTwWoWMht120+3g== X-IronPort-AV: E=McAfee;i="6800,10657,11982"; a="4933892" X-IronPort-AV: E=Sophos;i="6.27,244,1787036400"; d="scan'208";a="4933892" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 23:17:01 -0800 X-CSE-ConnectionGUID: 5GtFPPKNTEydof82Fp/dmA== X-CSE-MsgGUID: zaGeSXlOSBavoNGfzDg+7w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,244,1787036400"; d="scan'208";a="13335284" Received: from black.igk.intel.com ([10.91.253.5]) by orviesa001.jf.intel.com with ESMTP; 30 Nov 2026 23:16:55 -0800 Received: by black.igk.intel.com (Postfix, from userid 1001) id A0E8298; Tue, 01 Dec 2026 08:16:54 +0100 (CET) Date: Tue, 1 Dec 2026 08:16:54 +0100 From: Mika Westerberg To: Konrad Dybcio Cc: Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , Bjorn Andersson , Konrad Dybcio , Abel Vesa , Stephen Boyd , Brian Masney , Jerome Brunet , Andreas Noever , Mika Westerberg , Yehezkel Bernat , Mario Limonciello , Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-clk@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, usb4-upstream@oss.qualcomm.com Subject: Re: [PATCH RFC DNM 06/15] thunderbolt: nhi: Clear ring interrupts when not using MSI-X Message-ID: <20261201071654.GQ953667@black.igk.intel.com> References: <20261124-topic-next-20261116-fsm-mvp-v1-0-a9b45c69cd38@oss.qualcomm.com> <20261124-topic-next-20261116-fsm-mvp-v1-6-a9b45c69cd38@oss.qualcomm.com> X-Archived-By: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20261124-topic-next-20261116-fsm-mvp-v1-6-a9b45c69cd38@oss.qualcomm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261130_231703_856123_B9B8A4CC X-CRM114-Status: UNSURE ( 9.28 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.2 (----) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" X-Spam-Status: No, score=-8.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi, On Tue, Nov 24, 2026 at 09:01:35PM +0100, Konrad Dybcio wrote: > Commit 468c49f44759 ("thunderbolt: Disable interrupt auto clear for > rings") made the hardware stop clearing the ring interrupt status on > read for all routers except Intel ones, and added an explicit write to > REG_RING_INT_CLEAR to the MSI-X handler. The single-interrupt handler > was not updated though, so for such routers the status bits are never > cleared and the interrupt keeps firing. > > Write back the bits that were found set in each notify register to > REG_RING_INT_CLEAR, before handling the rings that they belong to. > > Fixes: 468c49f44759 ("thunderbolt: Disable interrupt auto clear for rings") > Signed-off-by: Konrad Dybcio Applied to thunderbolt.git/next. -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy