From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from BYAPR05CU005.outbound.protection.outlook.com (mail-westusazon11010000.outbound.protection.outlook.com [52.101.85.0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 29EF72D838A; Fri, 20 Feb 2026 04:13:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.85.0 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771560797; cv=fail; b=VjWR4CeWVwsjqu9EZAgLaMaUb0WiYYkxah0V0E3xg3Nhp6YrJjya6eltxKl2/dGAWiWcLFwHzqqBYCCEHbYri19a9M9KpJ9w0NHYZKZANNYFB3not+gCBSTpvUPaYEnEDZqXuNS5tFlOXYOCCAuLsUQcvqNfV3GC8q581hFh7Iw= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771560797; c=relaxed/simple; bh=mfxcCalBqcqA7sW4tbUutKE9H6TK+CTil16hEUtRUV4=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Yexasb3kh40t3LO8Oi37fB9bxTIHmZ5QelzJQmNOWV4bIKYzNfIVkhRtmgrngoLNNqywgbYOC3vX2wAcVmKX16DO+AQlvTc9nVO0rfIGDRUUDH5l8n7XSD90PSqhefRL+b0lxtuxL3xLcvxLyaTr7txCsslRJisdENousqms/6U= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=lt3Nlh9o; arc=fail smtp.client-ip=52.101.85.0 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="lt3Nlh9o" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Nd/7T/QL5EwEOIuGhDYE/bVGW2kUkom+Uu9+MUOr7CjWxSSlsQpOsDW8SCRnWZR34w/t6AArLuN11NDNFn+6QAg7AP3U6+BU48PHT9vgdCjwM1wOIkJVvYpEKVFr/B9IH3XNW/gljISGLZciLO4NBVKtXykP0ULX86IOIoV47twsJGDESxzEUkm2zXPg9J6zCKJJnzLBEG7RR+xe99jUAew+zadcWeZ6bIRPfjMKRVbM7GJkOfy+BlIEm+g8YtvR9Q5dT3Ys1TCue2+MmzIzH338AByAtYNYPBWUC3777k0s1DHLUGKGBqpteSdqa2a9UGaGTCIFWHl0ElyM7KZDJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jFiDUoJSEDEpiJ7fPzEEnqxwlGjetZigBJkDMufdJR0=; b=pXGFwikgHJZwhJIyOyP2jsm4q57LS1U1bdNEWzNeYUT59rq8u3UtkaGLFb3CSShMZoYP9NqtsN7YwX3FYbhnues8PcUm+OTKmOdWREL3BpeQxOmPcJeKpH3PNdU1Rs7yCSa+lJnb2f9U19f/g170EamBdMyTBOSj1ioixNK1O3L2PQKccrF4b5rSHW4akWYTowvqHYFewSa82Qtd8j25VpAcwL+IGuo5H/ybZW6GXmPrIA5snc9n5eGL2qYFDYQhcepoA0JnJcHru/qHiVvxTxq5FAczQfBQ3+IXjZp/vmknr+wDusyn5+jx7Tn2i1Yad3qpjYvvQc4rEe2WPyMyKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 198.47.23.195) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=ti.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ti.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jFiDUoJSEDEpiJ7fPzEEnqxwlGjetZigBJkDMufdJR0=; b=lt3Nlh9oA5WDm62uq1rQPNiesbRic1FkirtACDGLK76CfCP7xHnKpoKoqaAa7/6YkmZpl9rUOec79cMeOq1F6JTw3NR1FTuri7JyEGuL38u0I+AcfLDTR3jssmhSZVoTZJ1b/FzPIPL9mdIuDlBeCW/mxg36Dzd9lPfmLRC/yWI= Received: from BYAPR05CA0039.namprd05.prod.outlook.com (2603:10b6:a03:74::16) by SJ0PR10MB5695.namprd10.prod.outlook.com (2603:10b6:a03:3ee::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9632.16; Fri, 20 Feb 2026 04:13:11 +0000 Received: from CO1PEPF00012E62.namprd05.prod.outlook.com (2603:10b6:a03:74:cafe::a7) by BYAPR05CA0039.outlook.office365.com (2603:10b6:a03:74::16) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9632.15 via Frontend Transport; Fri, 20 Feb 2026 04:13:06 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 198.47.23.195) smtp.mailfrom=ti.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ti.com; Received-SPF: Pass (protection.outlook.com: domain of ti.com designates 198.47.23.195 as permitted sender) receiver=protection.outlook.com; client-ip=198.47.23.195; helo=lewvzet201.ext.ti.com; pr=C Received: from lewvzet201.ext.ti.com (198.47.23.195) by CO1PEPF00012E62.mail.protection.outlook.com (10.167.249.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9632.12 via Frontend Transport; Fri, 20 Feb 2026 04:13:10 +0000 Received: from DLEE205.ent.ti.com (157.170.170.85) by lewvzet201.ext.ti.com (10.4.14.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Thu, 19 Feb 2026 22:13:08 -0600 Received: from DLEE215.ent.ti.com (157.170.170.118) by DLEE205.ent.ti.com (157.170.170.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Thu, 19 Feb 2026 22:13:08 -0600 Received: from lelvem-mr06.itg.ti.com (10.180.75.8) by DLEE215.ent.ti.com (157.170.170.118) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend Transport; Thu, 19 Feb 2026 22:13:08 -0600 Received: from toolbox.dhcp.ti.com (uda0492258.dhcp.ti.com [10.24.73.74]) by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id 61K4D1Sq3237911; Thu, 19 Feb 2026 22:13:02 -0600 From: Siddharth Vadapalli To: , , , , , , , , , , , , , , , CC: , , , , , Subject: [PATCH net 0/3] Fix Unbalanced IRQ Enable for CPSW and ICSSG Date: Fri, 20 Feb 2026 09:41:56 +0530 Message-ID: <20260220041431.372610-1-s-vadapalli@ti.com> X-Mailer: git-send-email 2.51.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF00012E62:EE_|SJ0PR10MB5695:EE_ X-MS-Office365-Filtering-Correlation-Id: fbfe6857-195f-4b24-c4e2-08de70365bfc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|376014|7416014|1800799024|921020; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?q7/eFvyUqRh9M0QtUpRUOn1DOlFG6eqdEHywG99cLrVDrqpuMTR2t9TqSWFW?= =?us-ascii?Q?UpmdfZhHTqFENaCI43VaLD6WzP5SaqgA/bk4D4LCRzDx/BojPXGy+9z/aFo7?= =?us-ascii?Q?To3AQuEhyF7ErI6u3SvwRNKeNUakgozpHs8QIO80YcvUuQQEg+b6klTPzJD0?= =?us-ascii?Q?T1/QIvH64atvQL4yRZcut2aPdPkphpZKO2xTMbF+tc1EqZZjlmUrefemC6e9?= =?us-ascii?Q?suvFPO5gEG8TDJ3oWBbGtZy3EsP+Yqs5a3mTwr4Pji+wpTKeFhbRirJ80mvV?= =?us-ascii?Q?rSTCZgirWy7GVzScEm19i/NBp2alcGdtAfIX4Ot6prFoN2nz8yWwNioqtXKP?= =?us-ascii?Q?NwDbohyo37bz4nonpCH2QchhiUZKZE0p41RIFECiZweLRmuaeR3ryrcIl32Y?= =?us-ascii?Q?mn2cJCmD+2ksRoMbmj+PMeRCmxLAVvCfc6LhLnYpjvxmmHqjU/ns+tYJuMLJ?= =?us-ascii?Q?JW5jHMq+t5tYd9s/8p8AfHnH90yM3cngipLDy3cjZ+9UdP8pgunxjKGkxH7E?= =?us-ascii?Q?NP5sAUOYTplM+RSVIgCZnxWIMNoANCAnIEPDRIDKIPEBwKlAtpIxsjD3kEeQ?= =?us-ascii?Q?WZHEns+WYhDrioEeJfoR/3kdspUAwH+Ewp/DsH36mqOeyDBM0mziuEhd86DC?= =?us-ascii?Q?r1QHf0lGFbgdgh7UJNaIbwKmtd4YXp2lLDFJE6E83WNvq9/sl4IVPP4bgRkE?= =?us-ascii?Q?fFAK3ut/edrY6eh9CDUFx/Ak//4LTo4PDZ2Vunc3qNE6NgGFuQUB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n16Ryn+K6ZJy4JGSPc/abrUqdlil1xLxUDI?= =?us-ascii?Q?0Wltcv8pyqCU50/3QKwrQqbHIK4=3D?= X-Forefront-Antispam-Report: CIP:198.47.23.195;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:lewvzet201.ext.ti.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(36860700013)(376014)(7416014)(1800799024)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8TX9BFjKgwrtbiyoNrshRdVuMj+L0354FVoNaCpG7e5279AqIoLGP4uoWKfn/pGTd/TCcvYUj8A/YP0mnuXrpUghf3N4TTq50pCSwIiuQ9e/bgGQdb5623Z/6GMUTtcV1Nsz8CWtqAxNjQNfFIokH4gtURtu6/zxJi8T8cFV5Srz/tz5jYlqpGZEoUotN3ONH7EB/hzKhcrFRFujRZhOuZo+NVkEdG9PcK1mT4WRvW+1AjXx9VQiRoqFl1/5n7y5jGyZqjQZNDKML/lKROEAYViJSjtU9Uhg3ZeEiw6IKXjF956+QZnFaXYV0xTXUDSaCB3tFpVttgnsqsK+w6aZ+dGkGrGC9IIOo3WzF8pqKlnJET0JYRBd287kTm8QENMsAbEK40+zD+p2lSdreez8ZKLMWun7biqa1EDxU3a6KX9X6Jt1zDH838P106zPedYt X-OriginatorOrg: ti.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2026 04:13:10.5715 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fbfe6857-195f-4b24-c4e2-08de70365bfc X-MS-Exchange-CrossTenant-Id: e5b49634-450b-4709-8abb-1e2b19b982b7 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7;Ip=[198.47.23.195];Helo=[lewvzet201.ext.ti.com] X-MS-Exchange-CrossTenant-AuthSource: CO1PEPF00012E62.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB5695 Hello, This series fixes the warning: Unbalanced enable for IRQ ... for the CPSW and ICSSG drivers. Under heavy traffic and in an SMP environment the warning shows up after a relatively long time. The issue occurs due to the order in which the variable 'irq_disabled' is set and the function disable_irq_nosync() is invoked. I have examined other drivers and they follow the right order which is to invoke disable_irq_nosync() before setting 'irq_disabled' (or its equivalent variable). The first patch is for the CPSW driver and it has two Fixes tags since the code change associated with the fix is for a recent commit while the incorrect order was first introduced by a much older commit. The second and third patches are for the ICSSG driver. Although they are both for the same driver and could be squashed, I chose to split them since they fix different commits and need to be backported as Fixes for the respective commits. Regards, Siddharth. Siddharth Vadapalli (3): net: ethernet: ti: am65-cpsw-nuss: set irq_disabled after disabling RX IRQ net: ethernet: ti: icssg_common: set irq_disabled after disabling TX IRQ net: ethernet: ti: icssg_common: set irq_disabled after disabling RX IRQ drivers/net/ethernet/ti/am65-cpsw-nuss.c | 2 +- drivers/net/ethernet/ti/icssg/icssg_common.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.51.1