RE: [RFC PATCH v6 1/5] iommu: add an exported function to get minimum page size for a domain

2019-06-16 Thread Yoshihiro Shimoda
Hi Robin, > From: Robin Murphy, Sent: Friday, June 14, 2019 6:41 PM > > On 13/06/2019 11:20, Yoshihiro Shimoda wrote: > > This patch adds an exported function to get minimum page size for > > a domain. This patch also modifies similar codes on the iommu.c. > > Heh, seeing this gave me a genuine

RE: [RFC PATCH v6 1/5] iommu: add an exported function to get minimum page size for a domain

2019-06-16 Thread Yoshihiro Shimoda
Hi Wolfram-san, > From: Wolfram Sang, Sent: Friday, June 14, 2019 4:38 AM > > On Thu, Jun 13, 2019 at 07:20:11PM +0900, Yoshihiro Shimoda wrote: > > This patch adds an exported function to get minimum page size for > > a domain. This patch also modifies similar codes on the iommu.c. > > > >

Re: [RFC PATCH v6 1/5] iommu: add an exported function to get minimum page size for a domain

2019-06-14 Thread Robin Murphy
On 13/06/2019 11:20, Yoshihiro Shimoda wrote: This patch adds an exported function to get minimum page size for a domain. This patch also modifies similar codes on the iommu.c. Heh, seeing this gave me a genuine déjà vu moment... ...but it turns out I actually *have* reviewed this patch

Re: [RFC PATCH v6 1/5] iommu: add an exported function to get minimum page size for a domain

2019-06-14 Thread Christoph Hellwig
On Thu, Jun 13, 2019 at 09:37:59PM +0200, Wolfram Sang wrote: > What about making this a 'static inline' in the iommu header file? I'd > think it is simple enough and would save us the EXPORT symbol. Agreed, this seems simple enought for an inline.

Re: [RFC PATCH v6 1/5] iommu: add an exported function to get minimum page size for a domain

2019-06-13 Thread Wolfram Sang
On Thu, Jun 13, 2019 at 07:20:11PM +0900, Yoshihiro Shimoda wrote: > This patch adds an exported function to get minimum page size for > a domain. This patch also modifies similar codes on the iommu.c. > > Signed-off-by: Yoshihiro Shimoda > --- > drivers/iommu/iommu.c | 18 +++--- >

[RFC PATCH v6 1/5] iommu: add an exported function to get minimum page size for a domain

2019-06-13 Thread Yoshihiro Shimoda
This patch adds an exported function to get minimum page size for a domain. This patch also modifies similar codes on the iommu.c. Signed-off-by: Yoshihiro Shimoda --- drivers/iommu/iommu.c | 18 +++--- include/linux/iommu.h | 1 + 2 files changed, 16 insertions(+), 3 deletions(-)