Re: [PATCH 02/26] arm64/iommu: improve mmap bounds checking

From: Robin Murphy
Date: Tue Apr 30 2019 - 07:38:27 EST


On 29/04/2019 20:01, Christoph Hellwig wrote:
On Mon, Apr 29, 2019 at 01:35:46PM +0100, Robin Murphy wrote:
On 22/04/2019 18:59, Christoph Hellwig wrote:
The nr_pages checks should be done for all mmap requests, not just those
using remap_pfn_range.

I think it probably makes sense now to just squash this with #22 one way or
the other, but if you really really still want to keep it as a separate
patch with a misleading commit message then I'm willing to keep my
complaints to myself :)

Well, I split this out in response to your earlier comments, so if you
prefer it squasheÑ back in I can do that..

AFAICS I only ever suggested splitting the original "fix and refactor" commit into the fix (patch #1) and the refactor - I think we've just ended up adding more "refactor" on top in the evolution of the series :)

Robin.