RE: [PATCH] iommu: add preemption support to iommu_{un,}map()

2022-07-06 Thread Henry Wang
Hi Jan, > -Original Message- > From: Jan Beulich > Subject: Re: [PATCH] iommu: add preemption support to iommu_{un,}map() > > On 06.07.2022 09:31, Henry Wang wrote: > > It seems that this patch has been stale for a month, with actions needed > > from the autho

Re: [PATCH] iommu: add preemption support to iommu_{un,}map()

2022-07-06 Thread Jan Beulich
On 06.07.2022 09:31, Henry Wang wrote: > It seems that this patch has been stale for a month, with actions needed > from the author. So sending this email as a gentle reminder. Thanks! There's no action needed here from the author. See https://lists.xen.org/archives/html/xen-devel/2022-07/msg00166

RE: [PATCH] iommu: add preemption support to iommu_{un,}map()

2022-07-06 Thread Henry Wang
Hi, It seems that this patch has been stale for a month, with actions needed from the author. So sending this email as a gentle reminder. Thanks! Kind regards, Henry > -Original Message- > Subject: [PATCH] iommu: add preemption support to iommu_{un,}map() > > The loop in io

Re: [PATCH] iommu: add preemption support to iommu_{un,}map()

2022-06-28 Thread Jan Beulich
On 28.06.2022 15:08, Roger Pau Monné wrote: > On Thu, Jun 23, 2022 at 11:49:00AM +0200, Jan Beulich wrote: >> On 10.06.2022 10:32, Roger Pau Monne wrote: >>> --- a/xen/include/xen/iommu.h >>> +++ b/xen/include/xen/iommu.h >>> @@ -155,10 +155,10 @@ enum >>> >>> int __must_check iommu_map(struct d

Re: [PATCH] iommu: add preemption support to iommu_{un,}map()

2022-06-28 Thread Roger Pau Monné
On Thu, Jun 23, 2022 at 11:49:00AM +0200, Jan Beulich wrote: > On 10.06.2022 10:32, Roger Pau Monne wrote: > > The loop in iommu_{un,}map() can be arbitrary large, and as such it > > needs to handle preemption. Introduce a new parameter that allow > > returning the number of pages that have been p

Re: [PATCH] iommu: add preemption support to iommu_{un,}map()

2022-06-23 Thread Jan Beulich
On 10.06.2022 10:32, Roger Pau Monne wrote: > The loop in iommu_{un,}map() can be arbitrary large, and as such it > needs to handle preemption. Introduce a new parameter that allow > returning the number of pages that have been processed, and which > presence also signals whether the function shou

[PATCH] iommu: add preemption support to iommu_{un,}map()

2022-06-10 Thread Roger Pau Monne
The loop in iommu_{un,}map() can be arbitrary large, and as such it needs to handle preemption. Introduce a new parameter that allow returning the number of pages that have been processed, and which presence also signals whether the function should do preemption checks. Note that the cleanup done