Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp91458yba; Thu, 2 May 2019 20:39:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpTVGzrTgTwqZ7ulIpjHAJuLJq2TX/61ymVJY0HSQJeEm+Jcmb5fSfgQBYrZifsTIryXKs X-Received: by 2002:a17:902:9889:: with SMTP id s9mr7712804plp.235.1556854764773; Thu, 02 May 2019 20:39:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556854764; cv=none; d=google.com; s=arc-20160816; b=SYymIhIOL27faq9hUJgl8k6k6wRvY4j6iJBbW84otiz3W+l/OxC+oF7SFmOrG5lyJw fFk93HSz1yrizZZ9n9uUDfQF/55wkkh4E2Q5XIHX2aAJ7Dehnv+bOkV5z6XviAwlpsp4 e5aUkpcSC04XwLMpdBriUVXfjUCbhWqWKDsYWR6vKvIR+k86nEFHZ7qHSh9GJtYZbEhy d18gSXP8dUVSgDCDHVECmE+YAsLcKAnBDm0kVOiv2B1QZGXkgO/JLRb7j53g+6PX4Gly wJ/2eAmJCQhxVAV+lDaZzIC4sJlwjg1v/Ve6k/QFVdLakpmpsm6wtDlWham8HczBKqv2 l+RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=vYq3LLgVuFl+Q4Cfesc/hNih9b2VH/+j6MEqw1Odz0c=; b=Gzr8leMCDI3/QI6luyYanseba2fSn7IljhXf2IcATVoajFB09pA25HP0EiXpCQ0Ujz aifyQXzb5V18JO6EM2QuP7fxt/KpYhOSfDjKRKwWQ7Fk0EtQumIsAMDzs23BW+njzLfy 8WrVm6gyi1uggvhWQvSp2IMvYPg3BytSWgfWXjpmoDke1hCnmznt6Zr3tceqyFMHS35J I1DVA1XqbH849AESMRsKznr6pNHI3rvvvgN8gkKv2yURZi9WzH0cjCSKIy4ahwOQ3lch xn2ZkoKdFd3HjNhcSATDrCYYF9Y6Fcyg4j+oIAUK8stmZRGTGV3UfVTYOlF+SaQhygfn cITw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZQuKYFlB; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z23si854693pfa.277.2019.05.02.20.39.09; Thu, 02 May 2019 20:39:24 -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=@gmail.com header.s=20161025 header.b=ZQuKYFlB; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726282AbfECDiU (ORCPT + 99 others); Thu, 2 May 2019 23:38:20 -0400 Received: from mail-pf1-f171.google.com ([209.85.210.171]:46875 "EHLO mail-pf1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726114AbfECDiU (ORCPT ); Thu, 2 May 2019 23:38:20 -0400 Received: by mail-pf1-f171.google.com with SMTP id j11so2163694pff.13 for ; Thu, 02 May 2019 20:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=vYq3LLgVuFl+Q4Cfesc/hNih9b2VH/+j6MEqw1Odz0c=; b=ZQuKYFlB5bt+x6kvfiPga6EKU9dz2+5hc5tVns/3D7hxiCaQaNmsH7UqDEaU2Sj39C t/oHNX3E10jYVn0GMG/2xNbqCspNHbQGQKemn9nq6X24fP6AU3NoqZl575bRK322lMKz RUSEOR9jKyziJTKWY1HaUK0j2498zn6YPwFVuBu4Jyh5DEsi3hM8NL6MLLjjDfIC6lX6 GZPo8mozNR3pHbuAYFq0TLXoMJ9OPABvHQXfo1EkszAfJZVmCJk44j//HJI2qLwQ+uI8 77mLFG+JGItOvhSwZbt2JzJc6STCqS7FHxZamY0e5MvI1NLFNmyhOoFNfIFB4ThrzkAp s+LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=vYq3LLgVuFl+Q4Cfesc/hNih9b2VH/+j6MEqw1Odz0c=; b=DULxhIJudHfdzCju9/dYJ9Fp5Hn/qb3XNgculsNZd+P8VQBXQ5A6cXy7w0t7L6U8s9 fI9M2qdzvO+VHFU/YDEBuQkciT7a/qF7P1nJYT9PM0MVgEplvikmaFnF+CgBfskIyH01 +d6AdEJrCwj6/fcW/fGcJiUi1pIfPaTd8GsQNDYYzXtxCidm6Ikt25zkDqwJf1Kpk08f 90GEwjyH3nQGrPWAgYvMqVsXzY8/yjmDDIFIiFKxcay0xM5sWsPn2XlxusY7j5r2gM7R kKV9wsylNSO/6nxluJIQZxJ89DK57JhUr94B7HZJsqlLPkRTnZaRszlAmJjduivo296i 5TcA== X-Gm-Message-State: APjAAAVhWNFT6n3ssP8xsY+SW2tdgyM0yqGrwUYxrRPOWFJ/KM82QhWE Cr1n3NObrZ8IBSGE8UVGoPn7ynLgCR12q+ALQpQ= X-Received: by 2002:a62:5542:: with SMTP id j63mr7923162pfb.34.1556854699491; Thu, 02 May 2019 20:38:19 -0700 (PDT) MIME-Version: 1.0 References: <1556787561-5113-1-git-send-email-akinobu.mita@gmail.com> <20190502125722.GA28470@localhost.localdomain> In-Reply-To: <20190502125722.GA28470@localhost.localdomain> From: Akinobu Mita Date: Fri, 3 May 2019 12:38:08 +0900 Message-ID: Subject: Re: [PATCH 0/4] nvme-pci: support device coredump To: Keith Busch Cc: linux-nvme@lists.infradead.org, LKML , Johannes Berg , Jens Axboe , Christoph Hellwig , Sagi Grimberg Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2019=E5=B9=B45=E6=9C=882=E6=97=A5(=E6=9C=A8) 22:03 Keith Busch : > > 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. OK. I'll exclude the doorbell registers from register dump. It will work out without the information if we have snapshot of the queues.