Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1627063pxb; Mon, 13 Sep 2021 01:43:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQRZ+8Bvx+3i+znsTCoUTCaPd8ORWz9cL1T7b/jBUbm8EbzgpXFSpcJWJ3bOoRLxcHLd/f X-Received: by 2002:a17:907:7752:: with SMTP id kx18mr11582769ejc.276.1631522608222; Mon, 13 Sep 2021 01:43:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1631522608; cv=pass; d=google.com; s=arc-20160816; b=H1QbVz3VLtZth8VQ8UYI0G8xLl18hj1ndzYHiVWRMwRS+bX3/G+gDOQe3KgKRfthSe t2CVu7h5XwtxGKGKf8zgb58Re8vnQ2pJ/ZxQdNOwWRom8vl2lmnE2XhjTX8FXwwhmknl hRY0Nnd3iD5c04m0GEsPcJgQVQa0G6dfFARjgvqPGQmj47gg3J+IgeGHcmUE60TBOiHI IPMd8E2ee8Yyg9fNUieLHM48V027fO8JP6XFDYKEzQ8/50Z5t1f9OMlVT9K0pN+wjRhb 3Ztq3i2nazum3uvdrczQGdFaCvrYyrFUFUf+fHBuhAhC4/lZFA44k07RBOvvxEv9IY9Q z7qQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-language :content-transfer-encoding:in-reply-to:user-agent:date:message-id :from:references:cc:to:subject:dkim-signature; bh=CihCD67Ajr4HWh1jNQN1AMCSm5+tlr/T4q1X30ELoh0=; b=EGfuyvlBiGkoVPgm6HwZ/3eR8mTWdRYySW9//zFu/piRayOFoYG7quvTtDksXEcU78 xQWVjlotjrk0tl7vPVPWFiVj342UwzUTYw+O9agnOZX9C4A19z0FecGse1mYH65OKWkd zIZv0vC7FiXdXNlJDjYNFhggakFttYClzC5YTJK/FjyrhD7imbkgpXTv2FMrX6nELbp1 BdkorniohUb1Vnf8hexhNbS5BK7yN7Rv+XVOwLANU3pHWHmVKWFN9gXpS1aWOzRAvmAX +OBwl7oTI/NgJcA27Wi+3KgRWiYwLRqgwINp4ExX4HzC1n9FwbdCpFVAGIAIWGsujj0t kBBw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=XTCqVn4e; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v18si6511599edx.605.2021.09.13.01.43.04; Mon, 13 Sep 2021 01:43:28 -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; dkim=pass header.i=@amd.com header.s=selector1 header.b=XTCqVn4e; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238065AbhIMIk4 (ORCPT + 99 others); Mon, 13 Sep 2021 04:40:56 -0400 Received: from mail-dm6nam10on2054.outbound.protection.outlook.com ([40.107.93.54]:25152 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S237999AbhIMIk4 (ORCPT ); Mon, 13 Sep 2021 04:40:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C0Rft2LDLJMnfmTCT9E2lE6gE6izAkP6usxe7dWIbaOJJ4McAx9pCHztazoR0jOuX57eBrPAW9xPbx/I4HRDzt3Cgt29HvEn+1b2ME3JZyrkczce6/fsaEDHDZBs8D2dsZ8rXV4sZHGP7WZusQFYG26CXT9svp3hawb3jwCGeSPtXK0eYERiqU9zMtClRv1Nl+a6tRz4nMn1gnNm7uXxWFL0/wac5TSZK56srlL1hqnTeQBP0H6RZjWt+HUCLN+OVSKHIGZaysKD1qq6tkzDsIxG14YXqD/YBlsyqVn6h9gregbqKCwCIA91LtiV1gxXrS1RRRNH1hCdZgr6LGElUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=CihCD67Ajr4HWh1jNQN1AMCSm5+tlr/T4q1X30ELoh0=; b=c3Thcf0NjN6z9wZAm8GlgtESMaxZLbNo5AKlGbpM6/TJJc/s1Bg9Q4hq7oV7Je/FQtRF8MdO4kmMMiayZfswTvovN6m0lX79Ech2ie/bTGqhO9soOPKY/+ujaKmWoHxQCIzEdeJ7Xk6vhbPOY5Iee8Hl2oICqAv9fOMxWoEPSAiSP0sAD/9iPzCTSNOdx53znj7P3seEArhfDCiklNBLW+UaWUGrFHKRv3EMl3zLyPgrvfsv+mXPq2KIp5OHmcmqKh+sEi/hhpHjPBOF/nj1TVF7VpjBlvnUqZeWK7LOTxWkgCDG3Pfz9q3pACrKHFJvo7nW9MX7cL1/t2Q2bWeMxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CihCD67Ajr4HWh1jNQN1AMCSm5+tlr/T4q1X30ELoh0=; b=XTCqVn4eaDOCCgQL3uQjKWQHif6CwLAUAPsXSByNcckCoUru1++km3UvWDyiRZHsgMK1Q4hFhkwCdRD+lw2kl6+A8GZHxEIsqme0tK0h/khgYSwe4Cr/zpCW7NGbZJb07TIpBRqRHLqm9LMFc71MwhhdI7d+KQXxkIIruFpON2Q= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=amd.com; Received: from MN2PR12MB3775.namprd12.prod.outlook.com (2603:10b6:208:159::19) by MN2PR12MB3950.namprd12.prod.outlook.com (2603:10b6:208:16d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14; Mon, 13 Sep 2021 08:39:39 +0000 Received: from MN2PR12MB3775.namprd12.prod.outlook.com ([fe80::dce2:96e5:aba2:66fe]) by MN2PR12MB3775.namprd12.prod.outlook.com ([fe80::dce2:96e5:aba2:66fe%6]) with mapi id 15.20.4500.018; Mon, 13 Sep 2021 08:39:39 +0000 Subject: Re: [PATCH 1/2] drm/amdgpu: Clarify that TMZ unsupported message is due to hardware To: Paul Menzel , Alex Deucher , "Pan, Xinhui" , David Airlie , Daniel Vetter Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20210913083411.11215-1-pmenzel@molgen.mpg.de> From: =?UTF-8?Q?Christian_K=c3=b6nig?= Message-ID: Date: Mon, 13 Sep 2021 10:39:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: <20210913083411.11215-1-pmenzel@molgen.mpg.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-ClientProxiedBy: AM0PR05CA0086.eurprd05.prod.outlook.com (2603:10a6:208:136::26) To MN2PR12MB3775.namprd12.prod.outlook.com (2603:10b6:208:159::19) MIME-Version: 1.0 Received: from [192.168.178.21] (91.14.161.181) by AM0PR05CA0086.eurprd05.prod.outlook.com (2603:10a6:208:136::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Mon, 13 Sep 2021 08:39:37 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 72e57981-0da9-4a53-4134-08d9769205e5 X-MS-TrafficTypeDiagnostic: MN2PR12MB3950: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: R9p5bBWoOdbjYtB2Yw+gY+NnllyFh4ARDJi/dzCdM++fz23A/kFxvwQis5jLSRbzVXdEHoJkfhkxTj1Cw1HbtYwk/z7pan0t+QOAC1CoWTjXaikeCxTFW9OTZHsC620j80ytspY5PU1pxkWNwdGBVxw1LdD/19jxWMU/Rr0LGzE4SPClwR04qoSkbIXxr0OmZu+HvuprbjvxbdEjCplhCejsDtaBHUWOZQo2rSMWQpQLmE7BniSN61mzFD5DHwH+37PUTiusyF6kL6xrlWRrfN9RIOoUlKBRBkDcvkqFYrM1OUa10ivWyXLk7dKfaRNTrU9JT3TQunFjm7d6ZfrhZTF+xl7bnH/pMR3FnpRlBP25jtIWRykDnsNLAfiMLysr8nSm5xYTLi5lr67V3yxf6UDomqsIeK3iFP1RpIMO8p2xj0+e+QeRYw9yobdE0yH84WtWYqXHN/QXpttFY2YNI1KKcgbknxGwMWzPlhzzpVLGe1ZoEjoBqopai8g2srGWfLe/cbI1Hc6FVpQ6XynmHReQTl8TKCWDvA822igKtE39tXppIqnW5/UFYxgMS5BicP270fKJWTF+e1WeytCPztzCnAV67DeutYFVaW01Gichu7q615MQFaq/Zojg4mIrS1Ovj8NSQN4Khvdu8Z66x5pv17KoduQMaS3X8W1H/ReeC1XSFmmBvnMJosPkIOovKtaTa9xdLYHIqlCIYSijNBEBhqSd4zk9eVEDb5yd2Zun7VHWyRRoyd2UrEXtk+P9 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR12MB3775.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(136003)(376002)(366004)(396003)(346002)(83380400001)(15650500001)(38100700002)(16576012)(66556008)(6666004)(31696002)(478600001)(26005)(66476007)(8676002)(110136005)(956004)(316002)(2906002)(4326008)(186003)(86362001)(6486002)(8936002)(31686004)(66946007)(5660300002)(2616005)(36756003)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bW82bnl4dVoyZFdXVnV1b0pGZVBoRlZtbzFHMXJ6LzFOMXJwd2lsMDNkT2dS?= =?utf-8?B?SEdpQzFDT3NYVTVKcTc0L0owR1JIWHd3MEFoY0RsaHVRQ1F2SExmUjlvcm5I?= =?utf-8?B?VU9NbUR1dkhxbVMxK1F2NDhOSDllc3ozSTJMd3V5OU8xQ2VFd0plaTNSRHVP?= =?utf-8?B?QWdLV1pRN3BDempUZWhzWFZuUmZuK1htYXVMVVJTU3dtVkNGMDJ6ZEZ1bWJv?= =?utf-8?B?RDIrMDZrakpmYmZ6c1FLa3Zkam14Wm5hS2ZKcUVoYTNLeTh5UVJIZmpORnFU?= =?utf-8?B?cXR5TjFGbG5IU1RpQkVkZkJlK2VqL2dxKyt0bzhBMjdaVFRpV0dUcVVDWFFZ?= =?utf-8?B?eXlOaVQ2eGt5QkRDTkliMStqRHpiSVNCQ2t3M3RJeTF0R3F1QmJJQlhwTC9r?= =?utf-8?B?WXdwTUdnQVRiUXFtZW9iOStETDJXek1wdHNjaDIvc3lIRXlWUzRqYi9Kc0pY?= =?utf-8?B?T1BIMjBwb3JLWWdOUH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f-8?B?SUtYem9FSUN1bVJFM2pmaUh3dHhSNW1Ld2VwZk1PTUNZZ2RraHV6dWY2eHYz?= =?utf-8?B?OVRjTkw5TEV5RXlNZGpNZVl6OE9qZitkZlVzeDI5TGk3TWdqNkRPeUFyMGVR?= =?utf-8?B?ZUszU2xHamNoTE9YWmE0N01lWHJlOHl6WmFnWHYzN2YxaksyaUVrcWh5cEUz?= =?utf-8?B?cWtVVVc2SFhEYnYrYkFwSGxRODdNeElkUjZ3U2NBdlVLRXlGL0E3cEVaUTVX?= =?utf-8?B?NUhQUHlnZVllcnZvcVpXWmRMK3RjSVdZYy92eXZreUVNU2pIajFFbjhYaHhJ?= =?utf-8?B?dEpXcDIvV29kR1pnSmYyaWtDU3NaaElKRUtrdWg2TnpXQXBuV0hMNXgzTjA0?= =?utf-8?Q?1xF7OewvsonINhGo1Kl3Exb+by/r32QV5o0301Y?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72e57981-0da9-4a53-4134-08d9769205e5 X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB3775.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2021 08:39:38.8097 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: L7kiBcJPDxXflfQVM+Wuni1vYY6zvTUFFi7dW9LreUYzQZkuoDGV6Zt7UfSG8Gq8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3950 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 13.09.21 um 10:34 schrieb Paul Menzel: > 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 I think we should just completely remove the message instead. Christian. > > 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; > } > }