Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp231252lqi; Wed, 6 Mar 2024 15:43:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWY1ms2l8fcEM3N0JtvFXilF5i1cMvlqrcecX9q/UwwTIlIv6h3g0XDMv1+nd4pEKILg9PZ67QDgd4I4sEzs2xWNBmJ+YuA+MDsQSgvWA== X-Google-Smtp-Source: AGHT+IGC2OYMrWDmOkjnAW+teMZ7AEdm5B+C2RtgOeOEL5rvDmmE6+/IE5Yft/l/ZJr98Nsn5mY1 X-Received: by 2002:a05:6a20:a926:b0:1a1:448f:d7b8 with SMTP id cd38-20020a056a20a92600b001a1448fd7b8mr4888365pzb.62.1709768624476; Wed, 06 Mar 2024 15:43:44 -0800 (PST) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e6-20020a17090a9a8600b002997d3984e7si500567pjp.100.2024.03.06.15.43.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 15:43:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94741-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@microchip.com header.s=mchp header.b=nTQiMvLI; dkim=neutral (body hash did not verify) header.i=@microchip.com header.s=selector1 header.b=5gsk486y; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-94741-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94741-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 10BDF280ED8 for ; Wed, 6 Mar 2024 23:43:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 003EE1CFA8; Wed, 6 Mar 2024 23:42:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="nTQiMvLI"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="5gsk486y" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 23FF11CD05; Wed, 6 Mar 2024 23:42:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=68.232.153.233 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709768555; cv=fail; b=V1kjlMU37sgNq59o/JdRqZ0Oz7wmnSp18CoIJ9CTUPw7eTMwMDzuNVHL8q0f2FGl+SOsE+/DhmWz/UggBxe0FYW8HohYOJEaF6bkGMZRyuJYyeOF9QCUv0FTVuLRShajAsFia+lSmZXxCZII4YSLgYNtAzGLDtv6459Ll1QewI8= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709768555; c=relaxed/simple; bh=qeQJWO2G8/QCKH+z70nTXhj0ecRsQT6f8dSQ1h6/CJY=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=YDIcKsZfj3B+A4p3XZnlGgWIcg0Kma6w0pQgTaYbmc78TstKdg/98Mqmka7w0Hfpy2Ltucgn7njlIwF3AEr4+GgiTXXeuK0WxDseWf+vfouC5ujKwLMIbRle2jhQSknitrfJ2lnb6CY3J4Pr97gRpdEHKpCCXord0WA8mum3nKE= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=nTQiMvLI; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=5gsk486y; arc=fail smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1709768553; x=1741304553; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=qeQJWO2G8/QCKH+z70nTXhj0ecRsQT6f8dSQ1h6/CJY=; b=nTQiMvLI3lGyZjOwGuwcpIV+irnYfzynG3zoo/N3Ys4G3vqR3QOVhb28 EVZM7TyvX/JbyXd5/iy+Q+YQNlD6b84S7PSYz1iWRqdbR2YC/KfRE4Zop MYREKpcrsLuieu/8TY+ugcsJCbceuDFqqDFf+o2zHwyRm/joBE7FV2Bt9 AdP29FHzJeH2NZ4DbSrg9wgDu4mzA5x7+YmNTNzZ6H+tVuyl23EoHC3tJ GWCX4+dgpGD4VwSaEwFLbJEY/Q8N4aU3mChWQNLqn2PvfOuXSizFI5TVb SEaKBzJAA/FuQEtd2QTm42WgiF9ri9vYNTmBH05ubOwxZF3eQxu0djNDN A==; X-CSE-ConnectionGUID: dbnFdkp6ShCuS/nAFeXjpA== X-CSE-MsgGUID: mdYaFwf3SGaA1UYCA2kZeA== X-IronPort-AV: E=Sophos;i="6.06,209,1705388400"; d="scan'208";a="17317514" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 06 Mar 2024 16:42:32 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 6 Mar 2024 16:42:18 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (10.10.215.250) by email.microchip.com (10.10.87.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Wed, 6 Mar 2024 16:42:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XnseMIR7sqt7BTOn2NK7jd3ysC/XUy0vD+Y8nkwcmLJRGULNQSAWHUzq8TIuRj1YbCjzLrS+299mdaAlXoxhvXW9KTDT0Pi1z9kpdZCN0lwM+sT4Gfnkr/xswFjrD9/b8sy+sSgYEKoA+IeI79Yqc256Zbp0yFhbno7hI7mGvGNP3u8fx9oeD0ZljQtOMj2FvKbgnSw2uWHMuJLeQXjHDwo+8HS12NyKafJW/q9SNWuPolR0q/0HWUgAY6NN8E7o3LZ5r5NGxQq63oGE9B3NE2WsTilHK8ATQ13537b9tcWdZUueg44LYnbJ0J8a5HBCAYCDbgNITR9GJWA7/k3Qrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=xKnBnr4q43eTYbi5DRUeoElN8Gt/yKq7V51HN6YRaNU=; b=NItiMwTaXHLOb1WEZWc9XswFDn0DtFtY/+SWqSFh/ClgMml2WZOp90f95V0dYFAbatLP868Igue67XvSIgfObuKOjP1NmOBdcqo0lb1Qt3rcm0Bp62OOGsZE02qLyNK/CQXFQPorEuaY+U/EuGN7L5c0N5dGhduotl4g/Cwx/WSn3fn4VCGWh71IQc9c1zaLnULFwER9qN1SRJwaDOGPDeG0PY+NHJqkmWPEyUCB4D9ODPCt/X63KOFTJiljOKAS4WLxnXd4WH5CFwJbDhsSVFhgfL4mcPVYPk9alDRYy2yGOw1FFm+xuBygNVqndOW+R8naWHrOalSb4dSDVt0MfQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchip.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xKnBnr4q43eTYbi5DRUeoElN8Gt/yKq7V51HN6YRaNU=; b=5gsk486yGq7ld+iHfZKxe30MbMj+h0IfRQejbiG2WzuWc3Qcfx9nr2syo1YmPSZqE3LjMRpCB4NK13f5kKfBFlgBfpE81u6eYaktACjPCmdF9pCqGLJgdZLunDJuDgg+iJR4nWYHnXN5hGizhn2l2rIiGHIKek0RbakHw6D5zUODyow4/XtiR5SqL2aBRd/BmaLIwj1lT3/0wmJHNeIqB/N4APJ85DYWNPQMp7bzJfiG2/zArZGZlqkCmVJv/dF2WHlxyyVcr5LDqcR77SkJPEm75XtiFNAHMvrdH/LohGR6AmDLThLXPr2nrul1YAOryGPhzSkxcjUWdu4llm6qXw== Received: from BL0PR11MB2913.namprd11.prod.outlook.com (2603:10b6:208:79::29) by MN2PR11MB4598.namprd11.prod.outlook.com (2603:10b6:208:26f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.24; Wed, 6 Mar 2024 23:42:16 +0000 Received: from BL0PR11MB2913.namprd11.prod.outlook.com ([fe80::dc78:62a2:5ccf:6248]) by BL0PR11MB2913.namprd11.prod.outlook.com ([fe80::dc78:62a2:5ccf:6248%3]) with mapi id 15.20.7362.019; Wed, 6 Mar 2024 23:42:16 +0000 From: To: , , , , , , , , , , , , , , , , , , , , CC: , , , , , Subject: RE: [PATCH net-next v3 10/12] net: ethernet: oa_tc6: implement mac-phy interrupt Thread-Topic: [PATCH net-next v3 10/12] net: ethernet: oa_tc6: implement mac-phy interrupt Thread-Index: AQHab6Ob/tWfers5YEGx5SyM6BefPLErX8qw Date: Wed, 6 Mar 2024 23:42:16 +0000 Message-ID: References: <20240306085017.21731-1-Parthiban.Veerasooran@microchip.com> <20240306085017.21731-11-Parthiban.Veerasooran@microchip.com> In-Reply-To: <20240306085017.21731-11-Parthiban.Veerasooran@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microchip.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BL0PR11MB2913:EE_|MN2PR11MB4598:EE_ x-ms-office365-filtering-correlation-id: 60f7df91-5319-4fb0-ef20-08dc3e370e4e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: X5+3JEukKXmqqRl0GhGdTxIwBko2Wk4/vsMloKSWK6rbdwVnkO+mBvJEc0LUTLkHJXhncInqE7HPBLaan8fXOSMMP4aaQHAhFr+NZL7CqE2312DorRB8DsOAF8PRrA+uX4jWo9nArnpfdB+Wzan2aMUB7etivSSdLH5xEvn4tJTIJhGO6YtbMOZWuG1AXRiq565fBX3rPNrkWU39Tz9WjdAcESvw9KQ7pN/T7wWshTLt09+OBMlHuVClcNbYow9qbTJVjgxAOtQYN7lBppewe1L/vw4T4afpjdfAppP4ywgRn50iAQDyekQlvmHRd4TbVtBcPIZelTv8t8f+22+MsJqvaqxzkTxNcY0JpdBQgU8iD+NQPQpFmsmwiBET8O3J5vb3k5YCszgzDLs1pHZ5U6tudGxpObdpkah3uSS19ezIRfDHWhaz6HoG+Llq46nv6hhSH5nPBKbPmLqUSmE1Wx30lFkPmgLAy1xVDDY5G2vPGr00ZrdaDJ+Qo2VxbxImxLvRxTSTl00w//e/wWSI6JIl3Xmn01Bvr4+F/6pHe6a2/GZDxog9Gd01I6zwIyvPVnNz/x9vBmRnhjjp1Wq6zjweZNBRv62ByQ9w0wpqK7ED4eb5TSJsOy+jkpCtoqkp8WrWVPSSbHrWmy3pw8YBwOqNAuuv7y6eReKZQKa2FoJMy/FCnjO1u5YHrRjyKHZ1PxWYGGZbkvcGZumXJKALn9frlpMaapRqNFCMX/DZOSE= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL0PR11MB2913.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(38070700009)(921011);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5wttjtQUtZvFN9CJMF/TaQBx+u+Y1azyP7qOPrljaexQ6DETwlEE3JFHkw9+?= =?us-ascii?Q?P1Km0uj5uPWCmbVvfaJU+UfUXWZWe1BkEqJbVwOOcTLfVQ1uTIykW2WYnBPl?= =?us-ascii?Q?K/ryQC+uskY566gK+tms1EouAF7gtIxTfy4q9ugmli0dnIW3lH0la+QU2gKA?= =?us-ascii?Q?qvTYM/1rhnWqYQArHzrdz1ROnpis4p5uj8J6ejVXrnH0h0BzLIfxk2MWaYmr?= =?us-ascii?Q?aPOSkyNpVxC/wtf9gAr9yQvKGJNBQg2kVYhtRWlyvpqqI+ou8wEudp0tmSmJ?= =?us-ascii?Q?kUZQ+qU3VsBi7k3zOXjqgKqCpDNAoy88OZtRfQVMXmVqDYs2wxgw0/1PNW89?= =?us-ascii?Q?69VWTORVpwLFm+XB6DWZqYomoux9Crg0V8XT/xeEg730xEK7ino1gpOEBwQE?= =?us-ascii?Q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JGW?= =?us-ascii?Q?GWqE4XN3BtyOcei4qs2UIjIzcCs9EbhstNyiOZ9DJgCHYtYQDI67uESUMuI1?= =?us-ascii?Q?ShHFQ6MgMYYBN2YHDST9wLkxPub8PDywq3mdt1bOWXKWdO3x5CskhC7Hzfyx?= =?us-ascii?Q?eTOtvm0ORgGLl/0Yi4uFIEsvgzslcgldJiQnKB4rsN8DQG69bKPCf3fwWWkn?= =?us-ascii?Q?JKaI3lFHHAvrIkkgJotqLRUNsLz/8Or10ava+x5cHYGnOdpkczjONKHlJp4r?= =?us-ascii?Q?h6yTPTUI9VKSJ3b6GthFWQGg/zNt1p4D+9Yu2m+f?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL0PR11MB2913.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 60f7df91-5319-4fb0-ef20-08dc3e370e4e X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Mar 2024 23:42:16.3313 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YnX9L5d5tHHiaWgtz/WQw9o4IA0xoY1jLoEgTq1qC3pGKXB+EOtOjuU/kW2mYrVS+a5au9T7lwygPyXK6IjQQjJwix4U/lgpQ5yhChN3+AI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4598 Hi Parthiban, .. > +static irqreturn_t oa_tc6_macphy_isr(int irq, void *data) > +{ > + struct oa_tc6 *tc6 =3D data; > + > + /* MAC-PHY interrupt can occur for the following reasons. > + * - availability of tx credits if it was 0 before and not reported > in > + * the previous rx footer. Per description above, it may be typo of "the previous rx footer" > + * - availability of rx chunks if it was 0 before and not reported > in > + * the previous rx footer. > + * - extended status event not reported in the previous rx footer. > + */ > + tc6->int_flag =3D true; > + /* Wake spi kthread to perform spi transfer */ > + wake_up_interruptible(&tc6->spi_wq); > + > + return IRQ_HANDLED; > +} > +