From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 97E71A046B for ; Sat, 27 Jul 2019 13:57:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AD3A41C362; Sat, 27 Jul 2019 13:57:01 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id AEFB61C361 for ; Sat, 27 Jul 2019 13:56:59 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6RBtsLn018357 for ; Sat, 27 Jul 2019 04:56:59 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=KrtSl+BPmYavUFcLnsWmz6xFG21E7wSRLXi3C6NfJhI=; b=ud/SPEZc+16I0uLfAGqKVZlU9eIc7cz4PX7PzvBPKRP4Jbj34Z6occtjZ7zKJjxGGCdA uS9jVGvtZQzq6+7wBodN26R0DpKGw51kMelvzavFhMmBJhauF0DA+OLxjW3k6F6rIeXo IoPoc51dXniNgfgjSCTu1Ek9d6zBsGWSTcOf49RTq2OyQam6WLc0lmO2Tk5uvpUHcG7B 5NdXwYuN/zzehEHahIZCXmADhGOzgRKTq2u7+x97JTEOGVkMPzab4beXx8V9+vjFk0OI DhAcG/jCxXFkbBkxQtXBLKHyDwdAvMkQYzdxMQoR3j77H+In5wL/bWORU3rV/P/ehEkO 3g== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2u0p4kr0bp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Sat, 27 Jul 2019 04:56:58 -0700 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sat, 27 Jul 2019 04:56:57 -0700 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (104.47.34.51) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Sat, 27 Jul 2019 04:56:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H4odo5u12EZqHruvHmqQpqALoOUOZWzFXV2RlM25RrVgyWinNgCP6KH2ABQqgzfG5l24dOlY7AwSGNY0TV0XSaoqaxhAuZ9cI4o30tZcIDfzYE2LMigAf1O9oTyd64UdxeRMAfqs+TpQib7TEc60D4G8Yd4kGIzlLp+iy6nOCgb2TwMg6W7d9Q7bnDeS8JrWVM7CLL5NWKBHuph+Jhtc3qDMlQklUqzARlVD/8aZSrTM/uajo7Zui4V38K8c/zYL6wnSuICpRDmk9a+U9Uix/1bKG4dcxSQoTa4fkMSaWD7rHUj8o5gAJDkFEBdPo30c9l2yaTQ4IIoQsyBza8NY1Q== 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-SenderADCheck; bh=KrtSl+BPmYavUFcLnsWmz6xFG21E7wSRLXi3C6NfJhI=; b=nr/D0VG6LxjyCuaFfRmJlC//jzbMnhj6nAzYjqHFObE4i9HwAbnf8j+MhhssBUt7cj8SgUzFoG9v3T5qg3YezuGmhMUodr4fp3nJlwlwEj3DC3cWtIAvGSWY/YpJvWaunVjhp7OPFu5XrIaooLcqf9pp45q9gwKjumtjcvlfJ1BlYO6xTAjehKMOM4soEvcUlFTKRvP4FpFuK0YQr+hyA6sWG2VEIJQgpCGkNpCm5pHFhFzxDPwbZSdOnHTx+hd5cO+vUryQBJaX9kVh4HaicnHnTDfApgyOycXl3DcvejxpfcewxCVsdUsN9/cVbL/VDcZinWG0s/HshqWTs68zzg== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=marvell.com;dmarc=pass action=none header.from=marvell.com;dkim=pass header.d=marvell.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KrtSl+BPmYavUFcLnsWmz6xFG21E7wSRLXi3C6NfJhI=; b=D943m3pBKXxhbveJCUcGXYz2CI/4VC9xth/bVhER9W9NG6gURpz6yoeGg5wDDZzcxvsDQDmPiW9Y8ePcbOFl5rS6hFkHrju1sT04kPBi3IvAxexPVy8YN+3QH2dvdPelMRzsPjQcopgYkkAXa0tWoOo4U1ZwDBAdJn0qoJA8RaI= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2742.namprd18.prod.outlook.com (20.179.56.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.15; Sat, 27 Jul 2019 11:56:55 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862%4]) with mapi id 15.20.2115.005; Sat, 27 Jul 2019 11:56:55 +0000 From: Jerin Jacob Kollanukkaran To: Harman Kalra , Nithin Kumar Dabilpuram , Vamsi Krishna Attunuru , Kiran Kumar Kokkilagadda CC: "dev@dpdk.org" Thread-Topic: [PATCH v2] drivers/octeontx2: fix recursive qint interrupts Thread-Index: AQHVQtN61dn6MKptXkOVZBOe0R4QKqbeXv5Q Date: Sat, 27 Jul 2019 11:56:55 +0000 Message-ID: References: <1564050397-12361-1-git-send-email-hkalra@marvell.com> In-Reply-To: <1564050397-12361-1-git-send-email-hkalra@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [106.200.230.107] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0fb82d47-11dc-4991-dd54-08d7128985a6 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2742; x-ms-traffictypediagnostic: BYAPR18MB2742: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 01110342A5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(136003)(396003)(366004)(376002)(39850400004)(13464003)(189003)(199004)(66556008)(6116002)(66476007)(55016002)(99286004)(76116006)(486006)(53546011)(64756008)(66066001)(14454004)(6506007)(102836004)(66446008)(71200400001)(186003)(26005)(5660300002)(3846002)(7696005)(66946007)(6246003)(76176011)(71190400001)(53936002)(305945005)(9686003)(110136005)(229853002)(316002)(52536014)(256004)(81166006)(81156014)(25786009)(68736007)(4744005)(2906002)(11346002)(74316002)(6436002)(4326008)(8936002)(478600001)(446003)(7736002)(476003)(86362001)(6636002)(33656002)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2742; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: /dXP3Jky6wDIiAF8FND6Q/KQ0PkvuzIchDKdJNkH8s+3ALTSaTQcoNoerqEUKRgaAYS/WnrQNt0vCnTDAvySri7aK08jXglRDjNA/vayrKH+X6zMqXmCEJON9B90Xj6mWC46+/s6iYgTZLNpejUXAnWcKzhE+sENCpkjlYkg6wRJFWfrGZ9XOa8C17TlwO0vTMGNEd/uQLO+MeWTxbkVVTe5K/gE6iX320hKymy1mC8OcCY5cbz5/X63zQRsAtuMSZJq92V/4ywWhyZhWXKYY3j2LoRVH1kppZ4igBA50fYTQfdOjCAjRxlBx5fAFM4NqFctbhf03GVx+E4dr3VCy0eLqHpRvaT8MJ5kc67jMVooCn8gWyy7sUhD1rtJrLQiLnP15aXLGjz11kzeMw/pkkIXYGk++g823IrLcUX770w= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 0fb82d47-11dc-4991-dd54-08d7128985a6 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jul 2019 11:56:55.7180 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2742 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-27_09:2019-07-26,2019-07-27 signatures=0 Subject: Re: [dpdk-dev] [PATCH v2] drivers/octeontx2: fix recursive qint interrupts X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Harman Kalra > Sent: Thursday, July 25, 2019 3:57 PM > To: Jerin Jacob Kollanukkaran ; Nithin Kumar > Dabilpuram ; Vamsi Krishna Attunuru > ; Kiran Kumar Kokkilagadda > > Cc: dev@dpdk.org; Harman Kalra > Subject: [PATCH v2] drivers/octeontx2: fix recursive qint interrupts >=20 > In case of QINT interrupt occurrence, SW fails to clear the QINT line res= ulting > in recursive interrupts because currently interrupt handler gets the caus= e of > the interrupt by reading NIX_LF_RQ[SQ/CQ/AURA/POOL]_OP_INT but does > not write 1 to clear RQ[SQ/CQ/ERR]_INT field in respective > NIX_LF_RQ[SQ/CQ/AURA/POOL]_OP_INT registers. >=20 > Fixes: dc47ba15f645 ("net/octeontx2: handle queue specific error > interrupts") > Fixes: 50b95c3ea7af ("mempool/octeontx2: add NPA IRQ handler") >=20 > Signed-off-by: Harman Kalra Acked-by: Jerin Jacob