From: Stefan Hajnoczi <stefanha@gmail.com>
To: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Cc: ehabkost@redhat.com, kvm@vger.kernel.org, mst@redhat.com,
gleb@kernel.org, mtosatti@redhat.com, qemu-devel@nongnu.org,
stefanha@redhat.com, imammedo@redhat.com, pbonzini@redhat.com,
dan.j.williams@intel.com, rth@twiddle.net
Subject: Re: [PATCH 8/8] nvdimm acpi: use common macros instead of magic names
Date: Tue, 1 Nov 2016 14:50:06 +0000 [thread overview]
Message-ID: <20161101145006.GA5707@stefanha-x1.localdomain> (raw)
In-Reply-To: <1477671116-24079-9-git-send-email-guangrong.xiao@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1589 bytes --]
On Sat, Oct 29, 2016 at 12:11:56AM +0800, Xiao Guangrong wrote:
> /*
> * DSM notifier:
> - * NTFI: write the address of DSM memory and notify QEMU to emulate
> - * the access.
> + * NVDIMM_DSM_NOTIFY: write the address of DSM memory and notify QEMU to
> + * emulate the access.
Did you mean to search-replace this instance of "NTFI"?
> /*
> * DSM input:
> - * HDLE: store device's handle, it's zero if the _DSM call happens
> - * on NVDIMM Root Device.
> - * REVS: store the Arg1 of _DSM call.
> - * FUNC: store the Arg2 of _DSM call.
> - * FARG: store the Arg3 of _DSM call which is a Package containing
> - * function-specific arguments.
> + * NVDIMM_DSM_HANDLE: store device's handle, it's zero if the _DSM call
> + * happens on NVDIMM Root Device.
> + * NVDIMM_DSM_REVISION: store the Arg1 of _DSM call.
> + * NVDIMM_DSM_FUNCTION: store the Arg2 of _DSM call.
> + * NVDIMM_DSM_ARG3: store the Arg3 of _DSM call which is a Package
> + * containing function-specific arguments.
Did you mean to search-replace these names? I think it makes sense to
use the literal ACPI names instead of the macro names in documentation.
> /*
> * DSM output:
> - * RLEN: the size of the buffer filled by QEMU.
> - * ODAT: the buffer QEMU uses to store the result.
> + * NVDIMM_DSM_OUT_BUF_SIZE: the size of the buffer filled by QEMU.
> + * NVDIMM_DSM_OUT_BUF: the buffer QEMU uses to store the result.
Same here.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
next prev parent reply other threads:[~2016-11-01 14:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-28 16:11 [PATCH 0/8] nvdimm acpi: bug fix and cleanup Xiao Guangrong
2016-10-28 16:11 ` [PATCH 1/8] acpi nvdimm: fix wrong buffer size returned by DSM method Xiao Guangrong
2016-10-28 16:11 ` [PATCH 2/8] acpi nvdimm: fix device physical address base Xiao Guangrong
2016-10-28 16:11 ` [PATCH 3/8] acpi nvdimm: fix OperationRegion definition Xiao Guangrong
2016-10-28 16:11 ` [PATCH 4/8] acpi nvdimm: fix ARG3 conflict Xiao Guangrong
2016-10-28 16:11 ` [PATCH 5/8] acpi nvdimm: fix Arg6 usage Xiao Guangrong
2016-10-28 16:11 ` [PATCH 6/8] nvdimm acpi: compile nvdimm acpi code arch-independently Xiao Guangrong
2016-10-28 16:11 ` [PATCH 7/8] acpi nvdimm: rename result_size to dsm_out_buf_siz Xiao Guangrong
2016-10-28 16:11 ` [PATCH 8/8] nvdimm acpi: use common macros instead of magic names Xiao Guangrong
2016-11-01 14:50 ` Stefan Hajnoczi [this message]
2016-11-01 14:50 ` [PATCH 0/8] nvdimm acpi: bug fix and cleanup Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161101145006.GA5707@stefanha-x1.localdomain \
--to=stefanha@gmail.com \
--cc=dan.j.williams@intel.com \
--cc=ehabkost@redhat.com \
--cc=gleb@kernel.org \
--cc=guangrong.xiao@linux.intel.com \
--cc=imammedo@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mst@redhat.com \
--cc=mtosatti@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).