On 04/24/2018 12:01 PM, Nathan Fontenot wrote:
>> +};
>> +
>> +static int pseries_update_ala_memory_aai(int aa_index,
>> +                                    struct property *dmprop)

>> +
>> +static int pseries_update_ala_memory(struct of_reconfig_data *pr)


> The two routines above should be updated to use the in-kernel drmem array 
> instead
> of looking up the dynamic-memory property in the device tree.

Okay.

> 
> -Nathan

Thanks.
Michael

> 
>> +
>>  static int pseries_memory_notifier(struct notifier_block *nb,
>>                                 unsigned long action, void *data)
>>  {
>> @@ -1067,6 +1184,9 @@ static int pseries_memory_notifier(struct 
>> notifier_block *nb,
>>      case OF_RECONFIG_UPDATE_PROPERTY:
>>              if (!strcmp(rd->prop->name, "ibm,dynamic-memory"))
>>                      err = pseries_update_drconf_memory(rd);
>> +            if (!strcmp(rd->prop->name,
>> +                            "ibm,associativity-lookup-arrays"))
>> +                    err = pseries_update_ala_memory(rd);
>>              break;
>>      }
>>      return notifier_from_errno(err);
>>
> 

-- 
Michael W. Bringmann
Linux Technology Center
IBM Corporation
Tie-Line  363-5196
External: (512) 286-5196
Cell:       (512) 466-0650
m...@linux.vnet.ibm.com

Reply via email to