Received: by 10.192.165.148 with SMTP id m20csp2751727imm; Sun, 6 May 2018 23:58:30 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqToqDqvpKP9qaCoEZFzB0YU85WViSktZxYiKiHEKpFTEAv4e8p+ebvEG9xD/xuf7lqOSg8 X-Received: by 10.98.246.25 with SMTP id x25mr27859173pfh.106.1525676310102; Sun, 06 May 2018 23:58:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525676310; cv=none; d=google.com; s=arc-20160816; b=0I1LgxGajfql+PAqLoqNNKljKzJjsZlVAG0wBo3w1TkPKBLmWwPFrfyH7o9vehoOsh i9kBR4P8ASMALC2bih/PEaOFtS48F8uTNO6NE4cG5CkHiVMIS6mWyL9/Olvl4qHOiLQw GqoVbgvV9SSunm2pSIEquCOZYU9uOIf3PTlQZHTy0rqnoP9lLW1Ewzq6omddoBCClBCR Y5/7FpQgwsoKMdugZv3veoo+EJ/xWC7YMcSDoFJekewxncyaoMjqaKZLZYUTd38jKH5o vPP2zXh80N7YpqkVSjapNMrxV8ss6woPCcqTIjZKsC3NkgEOnf7D6oMxSIupRPYcsF7d B19w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=SNBuFP/i9lnmq1y5QCxJNW+j8t7XShUB9JfMpXRcudA=; b=FOJLl0gNWmxq4G0IhngbYBoCb/AJwMH9n6sGmOTL5ZavzlhnXLINXBTpQ76YtYf1Bs IatX9lWvv8xoxPFcufEzWfqRNOmzEX3fciI47owgwttHp8xukNp6vMDVja5dlqCn2eaG Vsjur8HLEJorpfNV49qmhtJitG3OLeu8/LKVql5j+3cELDCYTeIrRKb4so5SvtzPAeIE E8jnu/wE+GiNhNf2YD0q5kOkEuSwiEml3BLf+GBRt3MxDymQddGyn2wAwR6PDXIxsyEz BMuifRAbYeKjuzfJt/PjqD9+GGHaGbactpsKupuCP//024ktxBbFbrDcUNY3RYxJtVyv r1KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=1S8Sd9b8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c2-v6si21741300plr.454.2018.05.06.23.58.15; Sun, 06 May 2018 23:58:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=1S8Sd9b8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751943AbeEGG6B (ORCPT + 99 others); Mon, 7 May 2018 02:58:01 -0400 Received: from mail-bn3nam01on0040.outbound.protection.outlook.com ([104.47.33.40]:52447 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750716AbeEGG6A (ORCPT ); Mon, 7 May 2018 02:58:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=SNBuFP/i9lnmq1y5QCxJNW+j8t7XShUB9JfMpXRcudA=; b=1S8Sd9b8w9JFkS3zKny4V9gaO8d3/YFnzYs5rF1glChalaaI9tiKPHQZzzyl58wkI0Lsy43Pzl3EDIzlI72WWL/s5h4FSesLE3u1T649p9LKtr2j1Lnp8jY9nWCOOCIMZ+WAL2EFoHCDJZTog0hE1I2qIH2pM2MzlAlfgx4UfmE= Received: from BLUPR0201MB1505.namprd02.prod.outlook.com (10.163.119.16) by BLUPR0201MB1586.namprd02.prod.outlook.com (10.163.120.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.735.17; Mon, 7 May 2018 06:57:55 +0000 Received: from BLUPR0201MB1505.namprd02.prod.outlook.com ([fe80::69e2:64c3:da59:4b9f]) by BLUPR0201MB1505.namprd02.prod.outlook.com ([fe80::69e2:64c3:da59:4b9f%3]) with mapi id 15.20.0735.018; Mon, 7 May 2018 06:57:54 +0000 From: Bharat Kumar Gogada To: "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: "keith.busch@intel.com" , "hch@lst.de" , "axboe@fb.com" Subject: RE: NVMe Poll CQ on timeout Thread-Topic: NVMe Poll CQ on timeout Thread-Index: AdPdbaKnll1ikIRyRXyNIhFzf8HT4wIYrQ9g Date: Mon, 7 May 2018 06:57:54 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=bharatku@xilinx.com; x-originating-ip: [182.72.145.30] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BLUPR0201MB1586;7:1x4a0LRfHh1GLbChb+1WNJE3XaaGLjwMpDfMVml5bSWf5yPNjh7KszM+f/AqAf9MZ1topc23xatTFSZpKSM1v2S8mbPqM+kALycQC2tLVrOKHkz6nPwLRrIWNMZz8jXpc2AbriKfAbcMrbT56P4YBbedFwFUL7SAdcu1QWVykeKzEO1SHYTIph/EiMUttCu5PvNNFf8LplUYSioCDR0bSerN30SdOb8HeuiLJgGEqdzxgwZIWQkj8bdUSgiRUi5L x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:BLUPR0201MB1586; x-ms-traffictypediagnostic: BLUPR0201MB1586: x-ld-processed: 657af505-d5df-48d0-8300-c31994686c5c,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149027)(150025)(6041310)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011);SRVR:BLUPR0201MB1586;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0201MB1586; x-forefront-prvs: 066517B35B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(39860400002)(346002)(366004)(396003)(39380400002)(189003)(199004)(3846002)(316002)(6116002)(97736004)(25786009)(110136005)(54906003)(3660700001)(106356001)(486006)(3280700002)(2906002)(446003)(476003)(11346002)(66066001)(186003)(105586002)(478600001)(6506007)(55236004)(7696005)(76176011)(86362001)(6436002)(102836004)(26005)(99286004)(55016002)(8936002)(5660300001)(7736002)(9686003)(8676002)(81156014)(81166006)(53936002)(305945005)(4326008)(14454004)(5250100002)(2501003)(74316002)(2900100001)(6246003)(33656002)(68736007)(229853002);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR0201MB1586;H:BLUPR0201MB1505.namprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: xilinx.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: d4ZiIzCmpXXPV91e5ETuOaGsyE2FOQHEpuMJyJ0LmJ59V5w5KGlwEknwPkCDpdBG2BZHaAq+bU8D2duOeK0oWsloqNfJZPbKIdRRi6g6lC4cQ4uja+8duyoaQN3PF9GK6qeYg43rQ+bmRd37lSf0WdFxcHfqBEoA7VaJHYp0UxE6sWGcDvVUI5wDrZucEZ51 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: f69d9673-c1f0-4d29-ff8a-08d5b3e7dbc2 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-Network-Message-Id: f69d9673-c1f0-4d29-ff8a-08d5b3e7dbc2 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 May 2018 06:57:54.6725 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0201MB1586 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Does anyone have any inputs ? Regards, Bharat > Hi, >=20 > We are testing NVMe cards on ARM64 platform, the card uses legacy > interrupts. > Intermittently we are hitting following case in drivers/nvme/host/pci.c > /* > * Did we miss an interrupt? > */ > if (__nvme_poll(nvmeq, req->tag)) { > dev_warn(dev->ctrl.device, > "I/O %d QID %d timeout, completion polled\n", > req->tag, nvmeq->qid); > return BLK_EH_HANDLED; > } >=20 > Can anyone tell when does nvme_timeout gets invoked ? > What does "Did we miss an interrupt mean" ? Does it mean host missing to > service a interrupt raised by EP card ? >=20 > Regards, > Bharat >=20