[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3.1 11/15] xen/mm: introduce a function to map large chunks of MMIO
>>> On 29.10.16 at 10:59, <roger.pau@xxxxxxxxxx> wrote: > Current {un}map_mmio_regions implementation has a maximum number of loops to > perform before giving up and returning to the caller. This is an issue when > mapping large MMIO regions when building the hardware domain. In order to > solve it, introduce a wrapper around {un}map_mmio_regions that takes care of > calling process_pending_softirqs between consecutive {un}map_mmio_regions > calls. So is this something that's going to be needed for other than hwdom building? Because if not ... > --- a/xen/common/memory.c > +++ b/xen/common/memory.c > @@ -1418,6 +1418,32 @@ int prepare_ring_for_helper( > return 0; > } > > +int modify_identity_mmio(struct domain *d, unsigned long pfn, > + unsigned long nr_pages, bool map) ... I don't think the function belongs here, and it should be marked __hwdom_init. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |