Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7199264yba; Thu, 2 May 2019 06:06:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqyB2k5k9/kz3vJrWUB+qtwFse8v0iqRPlRry9cfo+U6AJbG5FITAczkBhJ5/wjzjcSwbdtU X-Received: by 2002:a17:902:e48b:: with SMTP id cj11mr3540463plb.223.1556802361029; Thu, 02 May 2019 06:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556802361; cv=none; d=google.com; s=arc-20160816; b=pMU7eHNCdoYvERGTM8qGad8e1NyrkFwNvKr20jnhU10i0eYpEAbKXA1Wu9KZ+owzQ7 JfwV87UDYCbbCXroHRO2tbufGJlpEuSvwdtXCvakyJCnJFGegi0hkjZqGgEU2T4qXtOW TKaBmKqCeMdNIQhRUxMxx8TXaAzfxX4FUAhVf1Bk3qEhdHRH6LRU1iQVl0cYm5Sx15I/ Te1rE0v8fO3ey8JxkcZh1cPl4zgzlboFwAxd9ea47SZpnvYpoCqy9+zRZrkEjjeuwTNm pph4g6ye+KBYgGPvgppX6faLMH2W+mPLu07kln5F/oGHQukKRdz7p6BulVLAPdW0bsJ5 SmDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=hxMC3a5lILW9aYzctIFsHrbvMcVQbjodGVjlR551RHw=; b=MNk+du28ChudJIh5JByXA4ygdI3UOzjBF4u5fUCbDw8O9assTxEBje0RnEt3HQT8u0 DcNu2XjmsREU7P/vHezzSV4pD0IO22JeffD7iFN1gA4WPabwNagDhfv26XhGW5vgnv69 BNBppaWODfj72UUKkujYhqnqIF9/mCJkkips5N75upYudC79rfV6eaqTISpoV4Nj94py vB53JojubMOZLEH+c6uw5DJLch1tDnuWvTEcwBRoRhnO7c6Eul2KKGDbtMv+Izz9ZZ2y oiEu7GsTim+0M5pXAVP2MK8M304A0+thK2go3XzZYnkbbuNhkC0HgZ23rUJ6isaPBSGy 8/bw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cn16si46654057plb.174.2019.05.02.06.05.43; Thu, 02 May 2019 06:06:01 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726405AbfEBNDJ (ORCPT + 99 others); Thu, 2 May 2019 09:03:09 -0400 Received: from mga18.intel.com ([134.134.136.126]:32995 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726283AbfEBNDI (ORCPT ); Thu, 2 May 2019 09:03:08 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 May 2019 06:03:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,421,1549958400"; d="scan'208";a="147550129" Received: from unknown (HELO localhost.localdomain) ([10.232.112.69]) by orsmga003.jf.intel.com with ESMTP; 02 May 2019 06:03:07 -0700 Date: Thu, 2 May 2019 06:57:23 -0600 From: Keith Busch To: Akinobu Mita Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Johannes Berg , Jens Axboe , Christoph Hellwig , Sagi Grimberg Subject: Re: [PATCH 0/4] nvme-pci: support device coredump Message-ID: <20190502125722.GA28470@localhost.localdomain> References: <1556787561-5113-1-git-send-email-akinobu.mita@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1556787561-5113-1-git-send-email-akinobu.mita@gmail.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 02, 2019 at 05:59:17PM +0900, Akinobu Mita wrote: > This enables to capture snapshot of controller information via device > coredump machanism, and it helps diagnose and debug issues. > > The nvme device coredump is triggered before resetting the controller > caused by I/O timeout, and creates the following coredump files. > > - regs: NVMe controller registers, including each I/O queue doorbell > registers, in nvme-show-regs style text format. You're supposed to treat queue doorbells as write-only. Spec says: The host should not read the doorbell registers. If a doorbell register is read, the value returned is vendor specific.