Hi Jan. On Fri, May 12, 2017 at 5:23 PM, Jan Beulich <jbeul...@suse.com> wrote: >>>> On 10.05.17 at 16:03, <olekst...@gmail.com> wrote: >> @@ -771,6 +773,47 @@ int amd_iommu_unmap_page(struct domain *d, unsigned >> long gfn) >> return 0; >> } >> >> +/* TODO: Optimize by squashing map_pages/unmap_pages with >> map_page/unmap_page */ > > Looking over the titles of the rest of this series it doesn't look like > you're eliminating this TODO later. While I appreciate this not > being done in the already large patch, I don't think such a TODO > should be left around. If need be (e.g. because you can't test > the change), get in touch with the maintainer(s). I will drop this TODO everywhere.
> >> +int __must_check amd_iommu_unmap_pages(struct domain *d, unsigned long gfn, >> + unsigned int order) >> +{ >> + unsigned long i; >> + int rc = 0; >> + >> + for ( i = 0; i < (1UL << order); i++ ) >> + { >> + int ret = amd_iommu_unmap_page(d, gfn + i); >> + if ( !rc ) > > Blank line between declaration(s) and statement(s) please. ok > > x86 and generic iommu parts (and _only_ those, so please don't > convert this into a blanket R-b) > Reviewed-by: Jan Beulich <jbeul...@suse.com> Thank you. Sure. I won't put your R-b until I get R-b from ARM folks. > > Jan > -- Regards, Oleksandr Tyshchenko _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel