[PATCH] cxl: Add support for ASB_Notify on POWER9

christophe lombard clombard at linux.vnet.ibm.com
Sat Nov 25 03:37:35 AEDT 2017


Le 24/11/2017 à 14:02, Benjamin Herrenschmidt a écrit :
> On Fri, 2017-11-24 at 11:14 +0100, christophe lombard wrote:
>> To my knowledge, there is no property (or similar), somewhere, that
>> indicating that the TIDR is supported or not.
>> For the time being, if I am not wrong, the only check we have, is
>> this condition in the function set_thread_tidr(struct task_struct *t):
>>
>>          if (!cpu_has_feature(CPU_FTR_ARCH_300))
>>                  return -EINVAL;
>>
>>
>> Christophe
> 
> Then we need to fix that
> 
> Ben.
> 

You are right. We will insert a checking in the cxl driver to allow
updating the TIDR if a P9 is present. This will be in the patch V2.
Thanks

Christophe



More information about the Linuxppc-dev mailing list