Re: [PATCH v2 03/18] IOMMU: have vendor code announce supported page sizes

2021-12-21 Thread Rahul Singh
Hi Jan, > On 24 Sep 2021, at 10:43 am, Jan Beulich wrote: > > Generic code will use this information to determine what order values > can legitimately be passed to the ->{,un}map_page() hooks. For now all > ops structures simply get to announce 4k mappings (as base page size), > and there is (an

Re: [PATCH v2 03/18] IOMMU: have vendor code announce supported page sizes

2021-12-17 Thread Julien Grall
Hi Jan, On 24/09/2021 10:43, Jan Beulich wrote: Generic code will use this information to determine what order values can legitimately be passed to the ->{,un}map_page() hooks. For now all ops structures simply get to announce 4k mappings (as base page size), and there is (and always has been) a

Re: [PATCH v2 03/18] IOMMU: have vendor code announce supported page sizes

2021-11-30 Thread Roger Pau Monné
On Fri, Sep 24, 2021 at 11:43:57AM +0200, Jan Beulich wrote: > Generic code will use this information to determine what order values > can legitimately be passed to the ->{,un}map_page() hooks. For now all > ops structures simply get to announce 4k mappings (as base page size), > and there is (and

[PATCH v2 03/18] IOMMU: have vendor code announce supported page sizes

2021-09-24 Thread Jan Beulich
Generic code will use this information to determine what order values can legitimately be passed to the ->{,un}map_page() hooks. For now all ops structures simply get to announce 4k mappings (as base page size), and there is (and always has been) an assumption that this matches the CPU's MMU base p