Re: [PATCH 2/2] drm/amdgpu: Demote TMZ unsupported log message from warning to info

From: Alex Deucher
Date: Mon Sep 13 2021 - 12:54:08 EST


Applied. Thanks.

Alex

On Mon, Sep 13, 2021 at 4:46 AM Paul Menzel <pmenzel@xxxxxxxxxxxxx> wrote:
>
> As the user cannot do anything about the unsupported Trusted Memory Zone
> (TMZ) feature, do not warn about it, but make it informational, so
> demote the log level from warning to info.
>
> Signed-off-by: Paul Menzel <pmenzel@xxxxxxxxxxxxx>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> index c4c56c57b0c0..bfa0275ff5d4 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> @@ -598,7 +598,7 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
> break;
> default:
> adev->gmc.tmz_enabled = false;
> - dev_warn(adev->dev,
> + dev_info(adev->dev,
> "Trusted Memory Zone (TMZ) feature not supported by hardware\n");
> break;
> }
> --
> 2.33.0
>