[PATCH 2/2] drivers/nvme: default to the IOMMU page size on Power
Christoph Hellwig
hch at infradead.org
Fri Oct 2 10:41:46 PDT 2015
On Fri, Oct 02, 2015 at 10:39:47AM -0700, Nishanth Aravamudan wrote:
> Ok, I'm happy to do that instead -- what I struggled with is that I
> don't have enough knowledge of the various architectures to provide the
> right default implementation. It should be sufficient for the default to
> return PAGE_SHIFT, and on Power just override that to return the IOMMU
> table's page size? Since the only user will be the NVMe driver
> currently, that should be fine?
I think that's fine.
> Sorry for the less-than-ideal patch!
Np, it's a reasonable first attempt that we just need to refine.
More information about the Linux-nvme
mailing list