Re: [PATCH 1/3] media: venus: core: Set up secure memory ranges for SC7280

From: Konrad Dybcio
Date: Fri Sep 29 2023 - 07:37:15 EST


On 29.09.2023 10:38, Luca Weiss wrote:
> Not all SC7280 devices ship with ChromeOS firmware. Other devices need
> PAS for image authentication. That requires the predefined virtual
> address ranges to be passed via scm calls. Define them to enable Venus
> on non-CrOS SC7280 devices.
>
> Signed-off-by: Luca Weiss <luca.weiss@xxxxxxxxxxxxx>
> ---
The media tree (or at least venus) moves quite slugglishly..

But looks like applying just the DT patches (which I expect to get
in first) results in a non-platform-killing:

[ 25.851120] qcom-venus aa00000.video-codec: Adding to iommu group 11
[ 25.851618] qcom-venus aa00000.video-codec: non legacy binding
[ 25.916562] qcom-venus aa00000.video-codec: invalid setting for UC_REGION
[ 25.916569] qcom-venus aa00000.video-codec: failed to reset venus core
[ 25.919000] qcom-venus: probe of aa00000.video-codec failed with error -22

So it should be okay either way.

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad