All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@citrix.com>
To: Shannon Zhao <shannon.zhao@linaro.org>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Shannon Zhao <zhaoshenglong@huawei.com>
Cc: Hangaohuai <hangaohuai@huawei.com>,
	Ian Campbell <ian.campbell@citrix.com>,
	"Huangpeng (Peter)" <peter.huangpeng@huawei.com>,
	xen-devel <xen-devel@lists.xen.org>,
	Stefano Stabellini <stefano.stabellini@citrix.com>,
	Jan Beulich <jbeulich@suse.com>,
	parth.dixit@linaro.org,
	Christoffer Dall <christoffer.dall@linaro.org>
Subject: Re: Design doc of adding ACPI support for arm64 on Xen
Date: Wed, 5 Aug 2015 14:25:51 +0100	[thread overview]
Message-ID: <55C20EDF.9010909@citrix.com> (raw)
In-Reply-To: <55C2098A.6070300@linaro.org>

On 05/08/15 14:03, Shannon Zhao wrote:
> 
> 
> On 2015/8/5 20:48, Julien Grall wrote:
>> On 05/08/15 12:49, Shannon Zhao wrote:
>>>> >>That's great!
>>>> >>Keep in mind that many ARM platforms have non-PCI busses, so I think
>>>> >>we'll need an amba and a platform bus_notifier too, in addition to
>>>> the
>>>> >>existing pci bus notifier.
>>>> >>
>>> >
>>> >Thanks for your reminding. I thought about amba. Since ACPI of current
>>> >linux kernel doesn't support probe amba bus devices, so this
>>> >bus_notifier will not be used at the moment. But there are some voice
>>> >that we need to make ACPI support amba on the linux arm kernel mail
>>> >list. And to me it doesn't matter to add the amba bus_notifier.
>> This comment raised one question. What happen if the hardware has MMIO
>> region not described in the ACPI?
>>
> This sounds weird. If a device is described in ACPI table, it will not
> describe the MMIO region which the driver will use? Does this situation
> exist?

Buggy ACPI tables, not possible to describe the ACPI ... There is plenty
of reason.

I don't know if there is current problem on ACPI (I don't have much work
with it). But it presents on the device tree. We may a lots of specific
platform mapping in Xen (see specific_mapping) because of buggy DT.

We can't rule out and needs to provide a way to cope with this. If we
don't do it, it will fall on us sooner or later.

> If the hardware has mmio region not described in the ACPI, how does the
> driver know the region and use it?

Hardcoded.

Regards,

-- 
Julien Grall

  reply	other threads:[~2015-08-05 13:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-04 13:43 Design doc of adding ACPI support for arm64 on Xen Shannon Zhao
2015-08-04 14:37 ` Stefano Stabellini
2015-08-04 14:59   ` Shannon Zhao
2015-08-05  9:29   ` Shannon Zhao
2015-08-05 10:23     ` Julien Grall
2015-08-05 10:33       ` Stefano Stabellini
2015-08-05 10:31     ` Stefano Stabellini
2015-08-05 11:49       ` Shannon Zhao
2015-08-05 12:48         ` Julien Grall
2015-08-05 13:03           ` Shannon Zhao
2015-08-05 13:25             ` Julien Grall [this message]
2015-08-05 16:47               ` Stefano Stabellini
2015-08-05 16:52                 ` Stefano Stabellini
2015-08-05 17:00                   ` Julien Grall
2015-08-11 20:43             ` Konrad Rzeszutek Wilk
2015-08-12  3:10               ` Shannon Zhao
2015-08-06  3:28       ` Shannon Zhao
2015-08-06  9:01         ` Stefano Stabellini
2015-08-04 14:43 ` Christoffer Dall
2015-08-04 15:03   ` 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=55C20EDF.9010909@citrix.com \
    --to=julien.grall@citrix.com \
    --cc=christoffer.dall@linaro.org \
    --cc=hangaohuai@huawei.com \
    --cc=ian.campbell@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=parth.dixit@linaro.org \
    --cc=peter.huangpeng@huawei.com \
    --cc=shannon.zhao@linaro.org \
    --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.