Re: remove the ->mapping_error method from dma_map_ops V2

David Miller
2018-11-28T19:27:17Z

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: Wed, 28 Nov 2018 10:00:06 -0800

> Not all memory is accessible even to the kernel. If you have memory
> that shows up in the last page of phys_addr_t, you just mark it
> reserved at boot-time.

It's not the physical memory at the end that needs to be reserved.

It's the IOMMU mapping arena.

That basically requires changes to every IOMMU implementation in
the tree. Not saying it's hard or impossible, but it is real
meticulous work that needs to be done in order to realize this.