Re: [PATCH v3 3/4] dax/mum: Save the dax mum platform device pointer

From: Bowman, Terry
Date: Thu Apr 10 2025 - 14:28:05 EST


On 4/4/2025 8:34 AM, Jonathan Cameron wrote:
> On Thu, 3 Apr 2025 13:33:14 -0500
> Terry Bowman <terry.bowman@xxxxxxx> wrote:
>
>> From: Nathan Fontenot <nathan.fontenot@xxxxxxx>
>
> mum?
>
>>
>> In order to handle registering hmem devices for SOFT RESERVE
>> resources after the dax hmem device initialization occurs
>> we need to save a reference to the dax hmem platform device
>> that will be used in a following patch.
>>
>> Saving the platform device pointer also allows us to clean
>> up the walk_hmem_resources() routine to no require the
>> struct device argument.
>>
>> There should be no functional changes.
>>
>> Signed-off-by: Nathan Fontenot <nathan.fontenot@xxxxxxx>
>> Signed-off-by: Terry Bowman <terry.bowman@xxxxxxx>
>

Thanks. Updated to be hmem.

-Terry