[Skiboot-stable] [PATCH] hdata/memory.c: Fix "Inconsistent MSAREA" warnings

Klaus Heinrich Kiwi klaus at linux.vnet.ibm.com
Mon Apr 27 22:18:26 AEST 2020


On 4/27/2020 6:12 AM, Vasant Hegde wrote:
>>
>> +    if (PVR_TYPE(mfspr(SPR_PVR)) != PVR_TYPE_P9P)
>> +        return;
>> +
> 
> Is this supported *only* on P9P? I thought we are going to support this 
> in future processors as well.
> 
> Better way to skip warning in below if condition and return.

I was trying to be consistent with add_memory_controller() here (see my 
other reply to this thread), and I guess there is nothing stopping us 
from having a P9 (or older) system using a HDAT with a MSAREA => 0x50?


-Klaus

-- 
Klaus Heinrich Kiwi <klaus at linux.vnet.ibm.com>


More information about the Skiboot-stable mailing list