2022-02-04 20:14:17

by Suzuki K Poulose

[permalink] [raw]
Subject: Re: [PATCH v2] coresight: trbe: Move check for kernel page table isolation from EL0 to probe

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 <[email protected]>
> Cc: Suzuki K Poulose <[email protected]>
> Cc: Mike Leach <[email protected]>
> Cc: Leo Yan <[email protected]>
> Cc: Anshuman Khandual <[email protected]>
> Cc: [email protected]
> Signed-off-by: Sudeep Holla <[email protected]>

Thanks, I have now queued this.

https://git.kernel.org/coresight/c/ebbce265bba164c4f0d5271c277a540bd3b2fd3c

Kind regards
Suzuki