All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shannon Zhao <shannon.zhao@linaro.org>
To: "Roger Pau Monné" <roger.pau@citrix.com>,
	"Shannon Zhao" <zhaoshenglong@huawei.com>,
	xen-devel <xen-devel@lists.xen.org>,
	"Christoffer Dall" <christoffer.dall@linaro.org>,
	"Ian Campbell" <ian.campbell@citrix.com>,
	"Stefano Stabellini" <stefano.stabellini@eu.citrix.com>,
	"Julien Grall" <julien.grall@citrix.com>,
	"Stefano Stabellini" <stefano.stabellini@citrix.com>,
	"Jan Beulich" <jbeulich@suse.com>,
	"Parth Dixit" <parth.dixit@linaro.org>,
	andrew@fubar.geek.nz,
	"Boris Ostrovsky" <boris.ostrovsky@oracle.com>,
	"David Vrabel" <david.vrabel@citrix.com>
Cc: Hangaohuai <hangaohuai@huawei.com>,
	"Huangpeng (Peter)" <peter.huangpeng@huawei.com>
Subject: Re: Design doc of adding ACPI support for arm64 on Xen - version 4
Date: Thu, 20 Aug 2015 19:22:08 +0800	[thread overview]
Message-ID: <55D5B860.9070307@linaro.org> (raw)
In-Reply-To: <55D58DD9.9090500@citrix.com>

Hi Roger,

On 2015/8/20 16:20, Roger Pau Monné wrote:
> El 20/08/15 a les 5.07, Shannon Zhao ha escrit:
>> On 2015/8/19 23:02, Roger Pau Monné wrote:
>>> El 19/08/15 a les 14.13, Shannon Zhao ha escrit:
>>>> XENMAPSPACE "XENMAPSPACE_dev_mmio". The usage of this hypercall
>>>> parameters:
>>>> - domid: DOMID_SELF.
>>>> - space: XENMAPSPACE_dev_mmio.
>>>> - gpfns: guest physical addresses where the mapping should appear.
>>>
>>> This is not complete, you have forgotten to add the idxs field,
>>
>> Sorry, I didn't use the idx for the mmio region mapping. What's the idx
>> useful for here?
>
> I've already posted this in the previous version, and you agreed on the
> interface and the usage of the fields, please see:
>
> http://marc.info/?l=xen-devel&m=143986236212359
>
> The idxs field is explicitly mentioned there with it's usage.
>

Yeah, I said I will add the description of hypercall parameters.
It seems that we are talking about a different parameter.
To map the mmio region, I reuse the struct xen_add_to_physmap and there 
is idx not idxs. Everytime Dom0 maps one page and it's mapped 1:1(guest 
physical address is same with real physical hardware address), so it 
only needs to tell the hypervisor the gpfn.

Since I'm not familiar with Xen general approach, if this is not right, 
please fix me.

Thanks,
-- 
Shannon

  reply	other threads:[~2015-08-20 11:22 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-19 12:13 Design doc of adding ACPI support for arm64 on Xen - version 4 Shannon Zhao
2015-08-19 14:05 ` Jan Beulich
2015-08-19 18:37   ` Julien Grall
2015-08-20  9:22     ` Jan Beulich
2015-08-20  3:41   ` Shannon Zhao
2015-08-20  9:30     ` Jan Beulich
2015-08-20 12:56       ` Shannon Zhao
2015-08-20 14:06         ` Jan Beulich
2015-08-21  2:25           ` Shannon Zhao
2015-08-21 10:01             ` Jan Beulich
2015-08-27  0:37             ` Julien Grall
2015-08-27  7:52               ` Jan Beulich
2015-08-27 13:50                 ` Shannon Zhao
2015-08-27 14:13                   ` Jan Beulich
2015-08-27 14:21                     ` Shannon Zhao
2015-08-19 15:02 ` Roger Pau Monné
2015-08-20  3:07   ` Shannon Zhao
2015-08-20  4:58     ` Julien Grall
2015-08-20  8:20     ` Roger Pau Monné
2015-08-20 11:22       ` Shannon Zhao [this message]
2015-08-20 11:28         ` Roger Pau Monné
2015-08-20 12:13           ` Jan Beulich
2015-08-20 12:29           ` Shannon Zhao
2015-08-20 13:46             ` Roger Pau Monné
2015-08-20 14:09               ` Jan Beulich
2015-08-21  3:04               ` Shannon Zhao

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=55D5B860.9070307@linaro.org \
    --to=shannon.zhao@linaro.org \
    --cc=andrew@fubar.geek.nz \
    --cc=boris.ostrovsky@oracle.com \
    --cc=christoffer.dall@linaro.org \
    --cc=david.vrabel@citrix.com \
    --cc=hangaohuai@huawei.com \
    --cc=ian.campbell@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=julien.grall@citrix.com \
    --cc=parth.dixit@linaro.org \
    --cc=peter.huangpeng@huawei.com \
    --cc=roger.pau@citrix.com \
    --cc=stefano.stabellini@citrix.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    --cc=zhaoshenglong@huawei.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.