From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v2 32/41] arm : acpi dynamically map mmio regions Date: Mon, 8 Jun 2015 17:50:49 +0100 Message-ID: <5575C7E9.6@citrix.com> References: <1431893048-5214-1-git-send-email-parth.dixit@linaro.org> <1431893048-5214-33-git-send-email-parth.dixit@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1431893048-5214-33-git-send-email-parth.dixit@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Parth Dixit , xen-devel@lists.xen.org Cc: keir@xen.org, ian.campbell@citrix.com, andrew.cooper3@citrix.com, tim@xen.org, julien.grall@citrix.com, stefano.stabellini@citrix.com, jbeulich@suse.com, christoffer.dall@linaro.org List-Id: xen-devel@lists.xenproject.org Hi Parth, On 17/05/2015 21:03, Parth Dixit wrote: > In ACPI mmio regions are described in DSDT which requires > AML interpreter. Defer the mapping of mmio until DSDT is parsed in > DOM0 and map mmio's dynamically at the time of request. I'm against a such solution. Even though it's DOM0 we should avoid to allow him to map anything (RAM,...) on data abort. During DOM0 creation, we should map anything that is not RAM and not used by Xen to DOM0. IIRC, this is how it works on x86. I'm nearly sure we talked about it during the Linaro Connect. Please give details if you thing it won't work... Regards, -- Julien Grall