Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1624253pxb; Mon, 13 Sep 2021 01:38:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzntT4v+21XZX2nZ7yP34jXDZXdIl1YnGozIeqdWk2W3EvMqNCEKPL09ylh6toeEWvY3qfu X-Received: by 2002:a92:dd88:: with SMTP id g8mr6995967iln.306.1631522317259; Mon, 13 Sep 2021 01:38:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631522317; cv=none; d=google.com; s=arc-20160816; b=AaR5V8HAk5o00+zCZHtCdOtxdxi3Z4sEdZRVNPGdB0l5lwx7S3xXJhfsR5TZ4cSmdN sb6Goo40p221tULlKiqUy9y/y2ONoazlAaNk7rzucB42704Gdc8SD7DM9T7bxMbaSDkI 0kfJpmSKgE2aLQSNedSLShqAmftQYhHhCSN19sdfcaAhlpa2l2FmH5kqngqc9YXLEq3s ffsbk78QwekbDF0EpGyaPzflF9k1w1lm6xcLvuvme5mJhzz6LZuMoI0a8XEhatx4sOQe RIpnF1W+fHO3M5jeEM32sktivlysFok8TUs9JJ+pOgaGo6ehA79aym8dHJN/n3xn81D0 kKnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=RCK6r1V6Jrjq13NgTUqsSDSDDtG25fRR+1Pd0ajR7ug=; b=goon1tJQsO8RYvCgsWAPWsbvnBfoC6S7CnBxEiYg0m6IwuiKVIcbemCnK1KgOBuzu+ sAd1Vyq9JsmFyZnozKV1pLs7AauLHxlkfa+Z7oDZveYsaRhRYlSCx18th40E9nBdbG5d bdH1ZUkA8OHgjkb8fZms2Sjmikv9ZL0kg7dpZ8HaeXDRmxthtRH9CGpzbiZNzOQJlLAm izDhn2oOoz/IqupLb7Lmyni6ep0frNnVVckrI+rcW1oLIHrHd0N1h1JPOcZHMR5G5UDq WAwGMSyYsfqCdDnvdp+zIEiIAvaUN9BXPO+7mPdfQV5G82aRqDcsD4LyBktewkYtuPv2 +SRA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d186si8121026iog.78.2021.09.13.01.38.26; Mon, 13 Sep 2021 01:38:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238332AbhIMIhh (ORCPT + 99 others); Mon, 13 Sep 2021 04:37:37 -0400 Received: from mx3.molgen.mpg.de ([141.14.17.11]:52087 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S238772AbhIMIff (ORCPT ); Mon, 13 Sep 2021 04:35:35 -0400 Received: from localhost.localdomain (ip5f5aef84.dynamic.kabel-deutschland.de [95.90.239.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 88F3461E5FE00; Mon, 13 Sep 2021 10:34:17 +0200 (CEST) From: Paul Menzel To: Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter Cc: Paul Menzel , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] drm/amdgpu: Clarify that TMZ unsupported message is due to hardware Date: Mon, 13 Sep 2021 10:34:10 +0200 Message-Id: <20210913083411.11215-1-pmenzel@molgen.mpg.de> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The warning amdgpu 0000:05:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported leaves the reader wondering, if anything can be done about it. As it’s unsupported in the hardware, and nothing can be done about, mention that in the log message. amdgpu 0000:05:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported by hardware Signed-off-by: Paul Menzel --- 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 c7797eac83c3..c4c56c57b0c0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c @@ -599,7 +599,7 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev) default: adev->gmc.tmz_enabled = false; dev_warn(adev->dev, - "Trusted Memory Zone (TMZ) feature not supported\n"); + "Trusted Memory Zone (TMZ) feature not supported by hardware\n"); break; } } -- 2.33.0