On Wed, Jun 05, 2019 at 02:58:53PM -0700, Dan Williams wrote:
> Teach devm_memremap_pages() about the new sub-section capabilities of
> arch_{add,remove}_memory(). Effectively, just replace all usage of
> align_start, align_end, and align_size with res->start, res->end, and
> resource_size(res). The existing sanity check will still make sure that
> the two separate remap attempts do not collide within a sub-section (2MB
> on x86).
>
> Cc: Michal Hocko <[email protected]>
> Cc: Toshi Kani <[email protected]>
> Cc: Jérôme Glisse <[email protected]>
> Cc: Logan Gunthorpe <[email protected]>
> Cc: Oscar Salvador <[email protected]>
> Cc: Pavel Tatashin <[email protected]>
> Signed-off-by: Dan Williams <[email protected]>
Looks good to me:
Reviewed-by: Oscar Salvador <[email protected]>
--
Oscar Salvador
SUSE L3