[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] iommu: fix arm build after e9be34be5



On Wed, Oct 10, 2018 at 09:59:21AM +0100, Paul Durrant wrote:
> > -----Original Message-----
> > From: Xen-devel [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf
> > Of Wei Liu
> > Sent: 09 October 2018 19:58
> > To: xen-devel@xxxxxxxxxxxxxxxxxxxx
> > Cc: Wei Liu <wei.liu2@xxxxxxxxxx>; Jan Beulich <jbeulich@xxxxxxxx>; Roger
> > Pau Monne <roger.pau@xxxxxxxxxx>
> > Subject: [Xen-devel] [PATCH] iommu: fix arm build after e9be34be5
> > 
> > The function iommu_share_p2m_table is used by both ARM and x86 but
> > hap_enabled macro is x86 only. Put the ASSERT under CONFIG_X86.
> 
> Would it be unreasonable to make hap_enabled() common and define it to true 
> for ARM?

I assumed hap_enabled was hardcoded to true for ARM, but it's only
used in x86 code and vm_event so far (and here now), so I'm not sure
if it's worth it.

In any case, I think this should go in as it fixes the build, and
adding hap_enabled for ARM can be done later.

Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.