All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@citrix.com>
To: Christoffer Dall <christoffer.dall@linaro.org>,
	Jan Beulich <jbeulich@suse.com>
Cc: hangaohuai@huawei.com, ian.campbell@citrix.com,
	stefano.stabellini@eu.citrix.com, shannon.zhao@linaro.org,
	andrew@fubar.geek.nz, peter.huangpeng@huawei.com,
	stefano.stabellini@citrix.com, david.vrabel@citrix.com,
	zhaoshenglong@huawei.com, boris.ostrovsky@oracle.com,
	xen-devel@lists.xen.org, parth.dixit@linaro.org,
	roger.pau@citrix.com
Subject: Re: Design doc of adding ACPI support for arm64 on Xen - version 5
Date: Wed, 2 Sep 2015 12:15:49 +0100	[thread overview]
Message-ID: <55E6DA65.7010706@citrix.com> (raw)
In-Reply-To: <20150902091853.GA18705@cbox>

Hi Shannon,

On 02/09/15 10:18, Christoffer Dall wrote:
> On Wed, Sep 02, 2015 at 02:41:36AM -0600, Jan Beulich wrote:
>>>>> Shannon Zhao <zhaoshenglong@huawei.com> 09/02/15 8:03 AM >>>
>>> There are some descriptions in Documentation/arm64/booting.txt of Linux:
>>>
>>> "The Image must be placed text_offset bytes from a 2MB aligned base
>>> address near the start of usable system RAM and called there. Memory
>>> below that base address is currently unusable by Linux, and therefore it
>>> is strongly recommended that this location is the start of system RAM.
>>> At least image_size bytes from the start of the image must be free for
>>> use by the kernel."
>>>
>> >From this, it says "Memory below that base address is currently unusable
>>> by Linux". So if we put these tables below Dom0 RAM address and even
>>> describe these regions as RAM, the Linux could not use them.
>>
>> May I remind you that a design should not take specific guest OS
>> implementation details (which even for that one OS may change over time)
>> as the basis for decisions?
>>
> While I agree that the guest behavior should not dictate an unfortunate
> design, surely factoring in the behavior of the expected guests in the
> design is a reasonable thing to do?
> 
> Changing the boot requirements of Linux for an architecture is a really
> invasive change, IMHO, and should be avoided if possible.
> 
> Are there other acceptable solutions for placing the EFI tables
> somewhere else that would work?

Before speaking about other acceptable solutions, I'd like to have more
information about where the ACPI tables are living in memory on bare
metal.

Is it mandatory to have the ACPI tables living above the kernel Image
in the RAM?

As mentioned to Shannon, I would be surprised this is the case given
that ACPI should not live in memory usable by the kernel.

Regards,

-- 
Julien Grall

  reply	other threads:[~2015-09-02 11:15 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-28  9:45 Design doc of adding ACPI support for arm64 on Xen - version 5 Shannon Zhao
2015-08-28 12:55 ` Julien Grall
2015-08-29  1:00   ` Shannon Zhao
2015-08-31  7:33     ` Jan Beulich
2015-08-31 11:44     ` Julien Grall
2015-08-31 12:03       ` Shannon Zhao
2015-08-31 12:34         ` Julien Grall
2015-09-01  4:12           ` Shannon Zhao
2015-09-01 11:28             ` Julien Grall
2015-09-01 12:35               ` Shannon Zhao
2015-09-01 13:40                 ` Julien Grall
2015-09-01 14:03                   ` Jan Beulich
2015-09-01 14:20                     ` Julien Grall
2015-09-02  6:02                   ` Shannon Zhao
2015-09-02  8:41                     ` Jan Beulich
2015-09-02  9:18                       ` Christoffer Dall
2015-09-02 11:15                         ` Julien Grall [this message]
2015-09-02  9:25                       ` Shannon Zhao
2015-09-02 12:30                         ` Jan Beulich
2015-09-02 11:09                     ` Julien Grall
2015-09-02 12:02                       ` Shannon Zhao
2015-09-02 12:52                         ` Julien Grall
2015-09-02 13:26                           ` Ian Campbell
2015-09-02 13:48                             ` Julien Grall
2015-09-02 13:54                               ` Ian Campbell
2015-09-02 13:57                                 ` Christoffer Dall
2015-09-02 15:27                                   ` Leif Lindholm
2015-09-02 15:37                                     ` Ard Biesheuvel
2015-09-02 14:00                               ` Jan Beulich
2015-09-02 12:58           ` Ian Campbell
2015-08-28 15:06 ` Jan Beulich
2015-08-29  1:29   ` Shannon Zhao
2015-08-31  7:39     ` Jan Beulich
2015-08-31  8:51       ` Shannon Zhao
2015-08-31  9:40         ` Jan Beulich
2015-08-31 11:31           ` Shannon Zhao
2015-08-31 11:46             ` Jan Beulich
2015-09-02 12:54           ` Ian Campbell
2015-09-02 13:59             ` Shannon Zhao
2015-09-02 14:24               ` Ian Campbell
2015-09-02 12:18 ` Ian Campbell
2015-09-07  3:37   ` Shannon Zhao
2015-09-07 10:47     ` Stefano Stabellini

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=55E6DA65.7010706@citrix.com \
    --to=julien.grall@citrix.com \
    --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=parth.dixit@linaro.org \
    --cc=peter.huangpeng@huawei.com \
    --cc=roger.pau@citrix.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.