From: Ian Campbell Subject: Re: [PATCH v7 07/10] xen/common: move the memory_mapping DOMCTL hypercall to common code Date: Wed, 7 May 2014 12:09:31 +0100 Message-ID: <1399460971.11832.18.camel@kazak.uk.xensource.com> References: <1399305254-3695-1-git-send-email-avanzini.arianna@gmail.com> <1399305254-3695-8-git-send-email-avanzini.arianna@gmail.com> <5368BC2F020000780000F378@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5368BC2F020000780000F378@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: tim@xen.org, paolo.valente@unimore.it, keir@xen.org, stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com, dario.faggioli@citrix.com, Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org, julien.grall@citrix.com, etrudeau@broadcom.com, Arianna Avanzini , viktor.kleinik@globallogic.com List-Id: xen-devel@lists.xenproject.org On Tue, 2014-05-06 at 09:40 +0100, Jan Beulich wrote: > >>> On 05.05.14 at 17:54, wrote: > > v7: > > - Change the name of tmp_rc to rc. Also, do not uselessly initialize it. > > - ifdef out the invocation of memory_type_changed() to be called only > > if the architecture is x86 instead of adding an useless empty stub > > for ARM. > > Was this requested by one of the ARM maintainers? I don't think it was me. > Do memory types not exist at all on ARM? This is types in "MTRR" sense rather than p2m type sense I think? These are part of the PT mappings, so I would expect something like this to probably be needed for any IOMMU stuff at some point. > I would have expected the function to be > empty only until someone would get to implement it properly... Me too. > Other > architectures (ia64 at least, since that's the one I know next best after > x86) would surely have needed this too. > > Jan >