Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp360021yba; Sat, 4 May 2019 04:02:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxg1PLlC6vYZuMJEgGTIh1fObUXLlJ6msSrwTR7fwCGO2RPglJwurK7Ul6CzFXKznzL2j20 X-Received: by 2002:a63:3e47:: with SMTP id l68mr17675887pga.85.1556967754416; Sat, 04 May 2019 04:02:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556967754; cv=none; d=google.com; s=arc-20160816; b=jD7Azs7A6UHR0RlVH8O+f3gKeCt8at/IE5UImlgsp+mBYXghSgG96T8K0dhu8OBxcA mUBguCMAf1xW5At0V2r7jMDUwJwgt6F0UY4If35X42BjJ8TeIg8c/HZRpwn+oNaT9Ezj Ph2D10z8r73Q7VoAX4aplk/Zc/mKN1P/jFqf/5K0p4rV0BhB37jdz0+GZkobmrO2531b H5CPUiLzjttSgeBK9pCyHNot1cT6e5M+W5i61ekQsA9Zjuq1KhdxNb+I314mfso922zw C/5pm3APEzCmx94h8fEbTfr8VN9qsCReuZMiAlOIpMZiIXJpdecB7Gp4SODMBq0kw3GB zgDg== 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:dkim-signature; bh=gfIdtbvl+cU5+4oOsDFHcXYeeYkozHfEYXRLh0N3BKE=; b=MpZ6qXUXxBhQcgVrxOiHtubllRDkQM+p2cZgVuhjkMeTt7ZGPMpqgNVfH803Rdq1QN 80KFkCeezG4n8NazBljyYm3e+Dp3KQbFQe2dh0ExcycAx7IzxQ3PRbGSMTRMJ68WINp6 lNV+DSMO0FXXDybc2qiNqxmBkLoy5lz5kKsSqVyITKzep9P3RTuiOr0anCouoEpmWz+L 06XGzUEFetuhCHd6jrucqONvlDZrsA4m0xkv2VuS2qRZp9OwQ4wFUJLHc2Vfk/exRcJx zoiyh5MSCTibCH4fNaKOJcZoAzN+QngnSc+IoBgYsNnmvWsQQEG+2SfKrt0KJQflOO2m 6xbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FNs6zsS4; 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 cb18si7957447plb.1.2019.05.04.04.02.07; Sat, 04 May 2019 04:02:34 -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=FNs6zsS4; 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 S1726768AbfEDKEw (ORCPT + 99 others); Sat, 4 May 2019 06:04:52 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:41630 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725819AbfEDKEv (ORCPT ); Sat, 4 May 2019 06:04:51 -0400 Received: by mail-pf1-f193.google.com with SMTP id 188so4165837pfd.8 for ; Sat, 04 May 2019 03:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=gfIdtbvl+cU5+4oOsDFHcXYeeYkozHfEYXRLh0N3BKE=; b=FNs6zsS4m6E3vHqa1w/FdmSh4GwdllDL2fGoTv0cPqrTDLX6MBdGVxqyIk5Ip7PRrE /VMTkhZyCJQXSgl1ixaH9D5HvMCQb4dSOb84ItgH5it4MsNzRt80LGlF1/Bt8/gzaF5g EIH1Ux2Cf5I2eyZgYAum6NkY/MF/YiPi/90CyyP8aNCCnPHOMKO7CZdbKRZbDgSnzxZ0 W0TrMa9it4HOZ9euUN5L4WrwLRWWGTmQwGGYfgWaTEuSJOFmmhc2j8qgezlywCQf4FY4 wq5w3p/zwgz5WT5tj5MEZqZ6nkL3l5WKtSLOuows1V7Y9vFBU76a3wBic5ASGxcyHwMY taDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gfIdtbvl+cU5+4oOsDFHcXYeeYkozHfEYXRLh0N3BKE=; b=P3F8MqIwavpHorq3gUhFuumIrxRrsQPrT3ELqTP/jgJB2YtLZOaRwywjlHDVajhtfl XCspQSnwLuvoH5CV9K/P+iH4JdjW9nXbXDG1hpl0Mn6Yp64i33+cJxQX/WFhLRA9wdut lH0GVUZZ9Bxajjl8I9QLllarjgOyTEd0/9PI/KzQLL3FV6rgacXaSVnlSyK3u9vl7dbt hIdKnYXGBhSWwiue+W9wqvEzQCzM8mEQiuKXDoVxT+DDnCznUjFAk3mrfXNEAz+qwzXf b09TtKc8sWrOil+F+3S4Vp+wZd5v1XiGTnZzpRq672p6lMzFryHp7n4WbW4+q5KoJFop +HtA== X-Gm-Message-State: APjAAAUNhyKKCLEZF0vUVUBMMKIIx2VDCXQ8dmYaNzfxvoRjnkB6iyMo bDZGFa6HOWsokE6d+bV+JOU= X-Received: by 2002:a63:e004:: with SMTP id e4mr17677804pgh.344.1556964291118; Sat, 04 May 2019 03:04:51 -0700 (PDT) Received: from [192.168.0.6] ([123.213.206.190]) by smtp.gmail.com with ESMTPSA id k7sm5519422pfk.93.2019.05.04.03.04.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 May 2019 03:04:50 -0700 (PDT) Subject: Re: [PATCH 3/4] 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 , Johannes Berg , Christoph Hellwig References: <1556787561-5113-1-git-send-email-akinobu.mita@gmail.com> <1556787561-5113-4-git-send-email-akinobu.mita@gmail.com> From: Minwoo Im Message-ID: <66a5d068-47b1-341f-988f-c890d7f01720@gmail.com> Date: Sat, 4 May 2019 19:04:46 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <1556787561-5113-4-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 Hi, Akinobu, Regardless to reply of the cover, few nits here. On 5/2/19 5:59 PM, Akinobu Mita wrote: > + > +static const struct nvme_reg nvme_regs[] = { > + { NVME_REG_CAP, "cap", 64 }, > + { NVME_REG_VS, "version", 32 }, Why don't we just go with "vs" instead of full name of it just like the others. > + { NVME_REG_INTMS, "intms", 32 }, > + { NVME_REG_INTMC, "intmc", 32 }, > + { NVME_REG_CC, "cc", 32 }, > + { NVME_REG_CSTS, "csts", 32 }, > + { NVME_REG_NSSR, "nssr", 32 }, > + { NVME_REG_AQA, "aqa", 32 }, > + { NVME_REG_ASQ, "asq", 64 }, > + { NVME_REG_ACQ, "acq", 64 }, > + { NVME_REG_CMBLOC, "cmbloc", 32 }, > + { NVME_REG_CMBSZ, "cmbsz", 32 }, If it's going to support optional registers also, then we can have BP-related things (BPINFO, BPRSEL, BPMBL) here also. Thanks,