Re: [PATCH] cxl: Add support for ASB_Notify on POWER9
From: christophe lombard <hidden>
Date: 2017-11-24 16:37:44
From: christophe lombard <hidden>
Date: 2017-11-24 16:37:44
Le 24/11/2017 à 14:02, Benjamin Herrenschmidt a écrit :
On Fri, 2017-11-24 at 11:14 +0100, christophe lombard wrote:quoted
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; ChristopheThen 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