On 03/02/2022 19:01, Sudeep Holla wrote:
Currently with the check present in the module initialisation, it shouts on all the systems irrespective of presence of coresight trace buffer extensions.
Similar to Arm SPE perf driver, move the check for kernel page table isolation from EL0 to the device probe stage instead of the module initialisation so that it complains only on the systems that support TRBE.
Cc: Mathieu Poirier mathieu.poirier@linaro.org Cc: Suzuki K Poulose suzuki.poulose@arm.com Cc: Mike Leach mike.leach@linaro.org Cc: Leo Yan leo.yan@linaro.org Cc: Anshuman Khandual anshuman.khandual@arm.com Cc: coresight@lists.linaro.org Signed-off-by: Sudeep Holla sudeep.holla@arm.com
Thanks, I have now queued this.
https://git.kernel.org/coresight/c/ebbce265bba164c4f0d5271c277a540bd3b2fd3c
Kind regards Suzuki