Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1724583rdb; Mon, 2 Oct 2023 21:13:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG0c720A/7t13LNrFyNSqBpTK71sTnPfWkAS/HcoJ7EPU+fGrGBbhkTBHUEENz+1kjF4Oug X-Received: by 2002:a05:6a00:8d4:b0:690:d4f5:c664 with SMTP id s20-20020a056a0008d400b00690d4f5c664mr13140675pfu.11.1696306425307; Mon, 02 Oct 2023 21:13:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696306425; cv=pass; d=google.com; s=arc-20160816; b=SDiX3CSuCgmsJEBMHiaOhkcBLl+BpywKlvPSpwKg8h1XMjPP2EN14i86t9taPpYfCP ZasZrRRPYmmCpacQtA/ytjfzMK2N6PVCm9XQf639tCzliUKTsqtHt3wHCzCPJqlE9gdW 8phbBcj1cKiIttnYd1Wz7uNuBPdE1LhddWsnoIMb23RDqzk3kAxHM/mwJNuAz28Ey7tO 4ekLcsjpN6/cG0cHvUgKumnG/hA+0XS3phuoInsQRDZPWamwmqYGYQsII0HvBe8ZIRWJ HyTGeqQOaQY7f3WLQjydBDWRu3rGDlMksmbH4yMVePK0ZyWpsOgI4p1TMVa/OAP5bs53 klIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=wR1pLHbpGstYs9XXEmo3UoDi5+7cU0mjHZY/VKPFGRw=; fh=6HWjtGiafv5Oa/8ptlwcx/eVoeRzHpT/V7H8gPN/R0o=; b=N0cVeFohzme5nyDKKcKEzmzjn8ZM+fv7hGfGo+jQ1vN/Qqaim/orV52YtGfuYXT1/O Hs7m299fQr7nKj7V1KMvUDY74dW7WN6JtdU7iJlccMFST0gi9LuN+GHOvHiS+ZVqY+LE TosGwBj/TQG/gQeLStvDnDE5QsyRQw+zJcKpiMprTXz39PI/ihPOoTduAJ8YolNoECyW Fg8B80ZJBygo9wXW4XRW/BIVEK2bNqKHUcN56aqUTBdudLCXLQ0iFttnn0l+2LXXmBTm L/Mnv/aFQx3sp9EbxMPtp4GsrIaHtXYub+D4Ad35vRHoCQTdggwOBSB5tqvXFhHcXGxR shVg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vmware.com header.s=selector2 header.b=uFx2X0kq; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=vmware.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id g14-20020a056a001a0e00b006934390d0casi597061pfv.36.2023.10.02.21.13.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 21:13:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@vmware.com header.s=selector2 header.b=uFx2X0kq; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=vmware.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 545ED801BFC8; Mon, 2 Oct 2023 21:13:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239022AbjJCEN1 (ORCPT + 99 others); Tue, 3 Oct 2023 00:13:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230128AbjJCENZ (ORCPT ); Tue, 3 Oct 2023 00:13:25 -0400 Received: from MW2PR02CU002.outbound.protection.outlook.com (mail-westus2azon11013005.outbound.protection.outlook.com [52.101.49.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C2BCBB; Mon, 2 Oct 2023 21:13:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ByBoZbG+kBM0NU01ksJhce7ukx8fJFlYQ1C4IHw93W09ETWy0vpGNRXCLAj2M19AKfkUFuDjY3E3kyGjywQwwMWgsxGUoYYUZumnUWuFk2Wk0J45WUaqv2B2HUROY6pWUHpJTdiPgjwHGd/Jm3/btHs4Bf5YXwHYuc+Hmro6fqOGIajQMgtVKm6fMnZQUkrYIvSEAQ7koS7Zpf2jZvxQKSVH1JmjHYZ2XlQsLYzMyVxwKmpd9Ujg1ytn+6Pyk1wdMSMf7FS64oSz6bIiBtj7bYVIaA9cGfFUOIahkOlTtbOs71285XPcwWG1adiqidIPcFgisWD3zQZz3gdW0ecIhQ== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wR1pLHbpGstYs9XXEmo3UoDi5+7cU0mjHZY/VKPFGRw=; b=bRqZoGPfey96weoo/S/QnLjjih5lDKH9YQb4knb6bNxRMEkNLA/BHUAmhAGbyOgn5kR3KyYxVKK/5F0u+Br2o1YEN6fkrAC+Y7N1Tx9JhYBHd4XaeNoQ5ho/qoromBb23j1sSLEtieyot6cUo+6NLwrzBHJfzxSPLjtkAJwiTgkYiZ9my52b4jsg6SbNnomQx0OkDVp6rGK+/B6QTK31awg0R8N5tJ8Zo6krZq41jyy2lMggEYBkkD8sepf2pcy9+MV8oxa6jwmgQ+tOGpz28CBAkIFvwUBr2Vx14TYQg/DNXZn9Fo26C38XeIVdsCd4pLR8IImGqQqvZBs6fWU43Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vmware.com; dmarc=pass action=none header.from=vmware.com; dkim=pass header.d=vmware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wR1pLHbpGstYs9XXEmo3UoDi5+7cU0mjHZY/VKPFGRw=; b=uFx2X0kqBBAgx+LpHaojRxNLcq0H4rznQMLTLY93CuweZnQlK67ESxWaIv8W1lBB2d2LlYGWgynnYYcvfh0+dgMG6Eey005xWnyF9vb2QIA1yfZBMh/JSlPxT2ihZ1E1zsFycyTsjYX2N3fGV9ISJbzxMSgKcAzoHAgYSEH928I= Received: from IA0PR05MB9832.namprd05.prod.outlook.com (2603:10b6:208:404::6) by BY3PR05MB7889.namprd05.prod.outlook.com (2603:10b6:a03:362::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.34; Tue, 3 Oct 2023 04:13:18 +0000 Received: from IA0PR05MB9832.namprd05.prod.outlook.com ([fe80::4d19:99e0:a7e8:2653]) by IA0PR05MB9832.namprd05.prod.outlook.com ([fe80::4d19:99e0:a7e8:2653%7]) with mapi id 15.20.6838.030; Tue, 3 Oct 2023 04:13:17 +0000 From: Zack Rusin To: "dri-devel@lists.freedesktop.org" , "thomas.hellstrom@linux.intel.com" CC: "christian.koenig@amd.com" , "ray.huang@amd.com" , "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] drm/ttm: Make sure the mapped tt pages are decrypted when needed Thread-Topic: [PATCH v2] drm/ttm: Make sure the mapped tt pages are decrypted when needed Thread-Index: AQHZ8KISAgnhoK3h5EOcVoNTTV5ADrA2MEYAgABnsoCAAOahAA== Date: Tue, 3 Oct 2023 04:13:17 +0000 Message-ID: <1679743e607097b967a932d2aefacbbc7913e5cb.camel@vmware.com> References: <20230926040359.3040017-1-zack@kde.org> <20230926175113.679880-1-zack@kde.org> <2b5648aa-f83d-d8f7-b0fd-39c859f32f33@linux.intel.com> <09fedce26475023fb1089f8b0b77801e1d2363c0.camel@linux.intel.com> In-Reply-To: <09fedce26475023fb1089f8b0b77801e1d2363c0.camel@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.48.1-0ubuntu1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vmware.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: IA0PR05MB9832:EE_|BY3PR05MB7889:EE_ x-ms-office365-filtering-correlation-id: 10d5e338-5b81-4202-1100-08dbc3c7120a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8/4ypyreQxjrt/MMvuWleV92Z9acikib5r8NW3QlpC1n5dub0AteUT9QOGvXagMofWaKzgQhj2i1aytqWXfZSMWHlyEYqNtbC9thSC0/T9waKX2cSG1aqOk/nVoIDspbQbEIUuGV5o0X8xog/6xDsjfvNjAFVTMJZdAygR3YgiKSckEGYU1pF7ll3v3Q83Y/9b13xelb9SMOSxb598MEMNdEedLLCHp8FfIRbjo/AEA/d+vVBDGLZzmYLgyQ6rhnxrmCrULKEOFFsTxh3lhLxsPSjtUMkYhqknHjsxY5I/yvheUkhjlOK8Z0P+7Q/a8RfZoGwBIUbg+MGMjEHt6ZvaDMU2igwM7kDk9o23b3wvO5NMySmd3+CIOi35lSfiSHc76IEWiFzXtj4Z9Aqlze5V1Ehkm7GyT2K2Y7CkovvVgrFtynol/dZ0Lo5V7VcSPMKc0RMYArFMBQGq7Sjnj3DxEr5wXovzX902EHD07jQ3p2EwyU87MzMKIkahM10oE9BrfPSq8Uh2mLCsxMG48IqmK6OLzHnWa3QhlnB3yCq3UElDo4QmmlBxW++InfvHVJbOhnVOGXM2BOzi9wkuYiJzd7e11HDeatmFk4sL2tM/Fu+T8SV2/HvqzAh1siSsVW2DLGOusNwAWMJESNIYHJQIC6wm0TPSB7fBRdQAavbQg= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:IA0PR05MB9832.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(346002)(366004)(396003)(136003)(39860400002)(230922051799003)(186009)(64100799003)(1800799009)(451199024)(71200400001)(53546011)(6486002)(6506007)(478600001)(66574015)(83380400001)(2616005)(6512007)(26005)(2906002)(316002)(41300700001)(76116006)(110136005)(54906003)(64756008)(66446008)(66476007)(66556008)(66946007)(5660300002)(8676002)(8936002)(4326008)(36756003)(38100700002)(38070700005)(122000001)(86362001)(66899024);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bm9mL0dpeGlIVkc3YjdkOVQ2Vy90NzRITHd2THRjWW15RmtIc2dkdGNWNGd2?= =?utf-8?B?bWprbkRFT0d4cEEwK2I5M3E1ZjVaQXRtQlc3c0dZNUNWTWdOQTdVVTROaE80?= =?utf-8?B?amp3QWd0WXFyZm9HUGkvWlVsaGh5aHA5Tlpub3RCaGhac2o0U04rZ3poVHkr?= =?utf-8?B?dXkwY3pkSyt1U2ZCU2pWTmRSNmpTdGVPZXRtSEVkK0lhazMxK3JMQ09TUGNT?= =?utf-8?B?T2lrb2RkeUVUTzRVTlQ3MzJxO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QRnAwOHQ3YTRZL2VOS2tMUDR5ekpydVh0WlJ1THlhZWRUUERRSmFu?= =?utf-8?Q?vROCaqLmI0H+xFDSygu+KycFP?= Content-Type: text/plain; charset="utf-8" Content-ID: <86F3A42832F91E42B355385E3DEBB00F@namprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: IA0PR05MB9832.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 10d5e338-5b81-4202-1100-08dbc3c7120a X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Oct 2023 04:13:17.1460 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0JKz25258e1OLcRd+Q4Z99ANbRM89wVB1esct08LoSaTJZtX8s6m62bCweFLTRR03OmOeCYiNfICW+gnSJzrCA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY3PR05MB7889 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 02 Oct 2023 21:13:42 -0700 (PDT) T24gTW9uLCAyMDIzLTEwLTAyIGF0IDE2OjI3ICswMjAwLCBUaG9tYXMgSGVsbHN0csO2bSB3cm90 ZToNCj4gISEgRXh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