Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4022051yba; Tue, 7 May 2019 10:47:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqywYObqA6Jxl4MkOSZ0UL62EDKp9fuPNNIMODz9gjii7yBA3Y0Be99fHdHdnfySJrYtf2DD X-Received: by 2002:a63:445d:: with SMTP id t29mr40945168pgk.303.1557251261351; Tue, 07 May 2019 10:47:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557251261; cv=none; d=google.com; s=arc-20160816; b=JoVh4ggrLeDFx0HElE9fEIbLEPIx62/rhObVRffYaAXbiLjpGWYjYvTEBrwzhkWU5l Wj5C/cSbpgpVQTdXRHqfy/VY1cx6B9uHqOyucdT4t5mPfXg4ZSuWMHo2URa5ZvQwYnZm ev8qb1tyzva3n8N70d/Lj32yfQ7I95hCyrQMPF1Wq/ubLgKMYSKYZnN+fStiDUwlYDXQ Gzf5LRbHxuwQo/o8yXVeaa9Z4Z1QFXWscbhCVxRsg3RSEXGQDHHAQHM61xYnW57rnzcR 5nLY1KwUCDK8d3YaLjexVqS8sgQPfJP0SOGHfpk+/ZfDAcdDQaRwWTawcXn0RVRx1gTA zwqQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=RimSr83LZbV5NfCYKYo3eOG2Pf4HPuBukmJumLUmryw=; b=Iy6Eq/5Zzjdw/Sq2SJqS98v7HvYPTltmHH8T8oHiUtqHV5mD/dUOF3/DzyY5RjSQYI 0VV2m2SmruEBTWlZzwG22P6+j0rklHxLOFUWRlLH9w5MisBuT6lSmD+0NeRbjXwy6MiK 48VBVbEtm9gb4R1pV2wRhWl/++YMUgddhREe1ydv8hkqVKxbWWHgO3b+/v83AO5PpLq6 OqyXHvwZEcpTb7yOPv5MNYBeDI0Yk0RkVvacd5Ju5TuUz2i0OREb/eppazBrzuPth53G P/f8raJd6M4hVd4t73KU4PV1fwFIl1tvTUrk4bQyok+VocGtvnHqIpNX+cQXvgBk6anc C3pA== 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 q16si8710189pls.256.2019.05.07.10.47.25; Tue, 07 May 2019 10:47:41 -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 S1727488AbfEGRpA (ORCPT + 99 others); Tue, 7 May 2019 13:45:00 -0400 Received: from mga06.intel.com ([134.134.136.31]:49477 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726699AbfEGRo7 (ORCPT ); Tue, 7 May 2019 13:44:59 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 May 2019 10:44:58 -0700 Received: from unknown (HELO [10.232.112.171]) ([10.232.112.171]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/AES256-SHA; 07 May 2019 10:44:58 -0700 Subject: Re: [PATCH v2 6/7] nvme-pci: add device coredump support To: Akinobu Mita , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Jens Axboe , Sagi Grimberg , Keith Busch , Minwoo Im , Johannes Berg , Christoph Hellwig References: <1557248314-4238-1-git-send-email-akinobu.mita@gmail.com> <1557248314-4238-7-git-send-email-akinobu.mita@gmail.com> From: "Heitke, Kenneth" Message-ID: Date: Tue, 7 May 2019 11:44:58 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <1557248314-4238-7-git-send-email-akinobu.mita@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/7/2019 10:58 AM, Akinobu Mita wrote: > This enables to capture snapshot of controller information via device > coredump machanism. s/machanism/mechanism/ > > The nvme device coredump creates the following coredump files. > > - regs: NVMe controller registers (00h to 4Fh) > - sq: Submission queue > - cq: Completion queue > - telemetry-ctrl-log: Telemetry controller-initiated log (if available) > - data: Empty > > The reason for an empty 'data' file is to provide a uniform way to notify > the device coredump is no longer needed by writing the 'data' file. > > Since all existing drivers using the device coredump provide a 'data' file > if the nvme device coredump doesn't provide it, the userspace programs need > to know which driver provides what coredump file. > > Cc: Johannes Berg > Cc: Keith Busch > Cc: Jens Axboe > Cc: Christoph Hellwig > Cc: Sagi Grimberg > Cc: Minwoo Im > Signed-off-by: Akinobu Mita