Received: by 10.213.65.68 with SMTP id h4csp1535831imn; Mon, 19 Mar 2018 06:54:26 -0700 (PDT) X-Google-Smtp-Source: AG47ELtYzPiAcdsBHgSMSf8LlBBuY0MAAC1wnBY1kw6EsLEwLIx5Mr+zBHQ1sPDy6/NkyNTfJzcl X-Received: by 10.98.33.76 with SMTP id h73mr10274726pfh.144.1521467666211; Mon, 19 Mar 2018 06:54:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521467666; cv=none; d=google.com; s=arc-20160816; b=lPNrrxH9WzDagCcIafVEaZdlYbE+4gpw13Tq9Cb8jvhj8ATReqNpACl6cTXBtBQ5dm SH7uwYTAbXzws9UWIO4X3zHf5/zwaibqJ/9Tf2tN23KtXD0Xg2h1hZS3r6nhIh+WvfTV e2bj/7TePhwUexvSDNhNibmNJHKZ2/1IZF0P1Ezb5nFYZZpNAUM645sqcfZ4B0DOVjPl sL+SbjmFLEqCAHX3Dg/3pL8Mz/g+KQlVFAm2Br1xTbcROdwkrsWWZCV5UG6vfkIlEr1s GUlRCZGGIn0NeBQ2dRWPvW7Wtt5bHED6SZlqoUK/Bcq2bVnPEr8wvOdjNQGUKdWUfwWA yUbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=CYAS4iFn3DIpUrXoloZabsN6YsB5KQLbmQv8sKuM5JQ=; b=A0q08dsnS4rAJ9d2W0Ai1zgTClSYxrYf2qd12uZbGyOprLMkonkr/V2qpn+7iCiYuz ts8EcUKISUBtsttF+HiSQgNI4fIokpieahYnWd7lXDW2BFq5M4WWjWdSdhCSiGQS7Hw9 Sbxvkh5LuzXYWYDX4t/jNYnMfIBzuflQ4JSM6w7VL/7MTCO0u/dPASW97LJg93Y/a9aB MphsqypAsqYB5ZhqQl4+me+jAsbZ7KijVnojpSaVqFv8YrAV0G8UbZQmIvk9UBwjH6Ri vEjYJjpWEQOXQ6qqigL0DRGI/AAmFWH7vVDgfTtJLQs/zyiwM0/3olh9TNV0LN8LtcHs f1gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=0wJ9Hgem; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c10-v6si29872pla.602.2018.03.19.06.54.11; Mon, 19 Mar 2018 06:54:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=0wJ9Hgem; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933224AbeCSNRb (ORCPT + 99 others); Mon, 19 Mar 2018 09:17:31 -0400 Received: from mail-sn1nam02on0062.outbound.protection.outlook.com ([104.47.36.62]:44608 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932883AbeCSNRK (ORCPT ); Mon, 19 Mar 2018 09:17:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=CYAS4iFn3DIpUrXoloZabsN6YsB5KQLbmQv8sKuM5JQ=; b=0wJ9HgemKfwbjcz+RK98Lp/cxMHkeIJGAWzI0f9JMVof+Z/JyCI7Zn3O/K5MdRFNYpPjIUpS6mF3zBEh0qBWB97HWndhkJdLkz34lFm/zNcISsTHUL1wKChuwILHdig3ENuO+U/KzAzAHcERt4UfHuX1LZJRfaCzgI3xRvGJ4qY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; Received: from [10.236.65.116] (165.204.78.1) by MWHPR12MB1152.namprd12.prod.outlook.com (2603:10b6:300:e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Mon, 19 Mar 2018 13:17:07 +0000 Subject: Re: [PATCH 11/13] dma-direct: handle the memory encryption bit in common code To: Christoph Hellwig Cc: x86@kernel.org, Konrad Rzeszutek Wilk , David Woodhouse , Muli Ben-Yehuda , Jon Mason , Joerg Roedel , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org References: <20180305174655.9878-1-hch@lst.de> <20180305174655.9878-12-hch@lst.de> <114e27be-5814-4258-4985-af08763c8a74@amd.com> <0c9d3e4a-8407-282a-73eb-21d28047e0e3@amd.com> <20180313131005.GA6260@lst.de> <69e98163-beca-fb8a-a26b-66dfeef2f689@amd.com> <20180319103939.GA23333@lst.de> From: Tom Lendacky Message-ID: Date: Mon, 19 Mar 2018 08:17:03 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180319103939.GA23333@lst.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.78.1] X-ClientProxiedBy: DM5PR2001CA0007.namprd20.prod.outlook.com (2603:10b6:4:16::17) To MWHPR12MB1152.namprd12.prod.outlook.com (2603:10b6:300:e::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 82b4168f-cbf1-4327-dc73-08d58d9bb753 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:MWHPR12MB1152; X-Microsoft-Exchange-Diagnostics: 1;MWHPR12MB1152;3:aq5r83YZEMlOaM+G72fr5shtJTFM7Em4wPMZ5wSNZZZh9u6ZV6xFtECaqvneUBmcsxCW9EATtR0WwFDqKrzVkw6t0I/1bDt3+g0PjisrHBioIob/7cF6VQDf7M62A7oeojvTaMNmPfuZAa52IfhUMHEn/3qGI+hRiEmDUiJpQInOr3GQqVr9Ihja7E4Zy4jqXHx7kbP4IdJMG9Ut8D35+vGXPt2+JTwOJB73Z/FF/N7vGG20tcf7I2bVV7ujI/Hn;25:2jQ7gzIzqvdL7xMla2YIwYaKz62OAQiEqEYEqwc2SYTUaF+EjxgqtJ9PHOQjOHCFSVni+0AU/aFOB8p9md/ChO+6e1koVp4S/etSeJJ8LnB2FgY+I7g3MEhvWyFSM+oxcGYjpUSTTVFpsUDsBu+wBtkZIfF6UZsApkw8QkltmyUhZoHteCAvWqcUGLE9Az2Zh0RDSopPqkgvMaK51z4ziHOo3DchBPgRXLDiZYJuH/yz8ppBEBMpfBzf/9xq3KvoJQqdD8iXWAV+SO2MS4AsC26+lrBOdeq6UbAPchbIXkremgRJTDOEiJ+EpZJbqDUVWPsHi5OygKGXuREh8XF+KA==;31:JHyrTZ/3J1/kjoX6FEHGIayaD5AbctTQPIp4xIJ98/oowf+am3u/dmX8llhJ+xPCbb+JlM4Oz6pSGuTA6/VsUb8/6vj2pUc2MQGjZcpZoAbGcR0ycQ6fK9QPCpm9mab0RNBxbWQoRyPn7M8eJBKMaVhUzfEWYZ36lEl6rPgEs8Vb6eKHzWrNki1Yo/WtcdnEfvb9kL/SSwlEgdIKZx/nlTAvpdL8tZSxEuQxOr5dbNA= X-MS-TrafficTypeDiagnostic: MWHPR12MB1152: X-Microsoft-Exchange-Diagnostics: 1;MWHPR12MB1152;20:z59Zg0bdDwvmwVwiqAg7DCapdOYdcM+ZW9U+gVsnC16yrCmG0KiCtM1y7apS+R2oEfLJXzYXHZuhMv8zAglpcMX3NJK6RXzWpuA0vfZZU8fVFG7MnCvYeBgLse1Or8V9H1vSvZONFJWdD1K0amRoPj+J7//8ybMNsstU09tFBtajI0wJBA0egmtTgOt98C5V04BaMiKSKfsD4POP/UrUEvB9ookaEANSNgTfR/ybdCopN51qLhpi/yZgQjiTuFaxTPtWXg+PT7AGZLCxi8Z1A8Y6Z/MO8F7w8jFOY8/7qppXYOIx9uJWVqjDKHOmaBDtSXspqJeiKOxdRyqv+CKtI4kz0rRz+UVzsbAXMBNO3slaJPBhXAbNKlJaf4nXhFwL7jDQ1ZyNSjcQcvC4gBmxNaOOPZhsuvZB+H5Ai6xMMo7UasFsvqAOde/nXdorDIKPbIdpJXv2CI9kDysqYEcYvOQere0BmMuH1IMeL4X7hJ4JmCqSGC17KSQXLl1Zcf35;4:Oqu6fyjbEJV3aY0kN5gkrq3rF9fuyvjNq998ZvJPFz/MbQLi1UHzEQVysVZnxuOWBq9sOMrFs1Z1B5TXx7JC1E9A8W1BTH+AkBbeyUnpfLsb8/9r4rTOb61h5EvvkQeRB/A4ypbnPhIe2LOS9QxRLD90/fkK7MAkpKs4LwdtcGuSeFWNj05Hvmm7WbP5jqkdySGOCNjBU31j0zWiGz5ptPVe07z/1TB0xx40Ikv1Add7gwOnTMHOe0QDIzm+7E1uLESrEN1b9JwyJh52dy0Zwg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(3231221)(944501244)(52105095)(10201501046)(6055026)(6041310)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011);SRVR:MWHPR12MB1152;BCL:0;PCL:0;RULEID:;SRVR:MWHPR12MB1152; X-Forefront-PRVS: 06167FAD59 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(366004)(346002)(376002)(39860400002)(39380400002)(396003)(199004)(189003)(105586002)(2486003)(52116002)(65826007)(8676002)(4326008)(53546011)(68736007)(52146003)(76176011)(6246003)(23676004)(386003)(31696002)(316002)(16576012)(97736004)(7736002)(305945005)(6116002)(36756003)(6486002)(5660300001)(31686004)(93886005)(3846002)(25786009)(3260700006)(6916009)(53936002)(16526019)(186003)(58126008)(230700001)(229853002)(50466002)(81166006)(54906003)(64126003)(72206003)(81156014)(2906002)(2950100002)(6666003)(478600001)(65956001)(65806001)(66066001)(26005)(558084003)(47776003)(86362001)(77096007)(8936002)(106356001);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR12MB1152;H:[10.236.65.116];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjEyTUIxMTUyOzIzOnVpcXRBaFA4T1BqVGFIWmsvMmlKK3RaYU51?= =?utf-8?B?SUY4aGhaZ3NwWUpWWFJRK0o2MGpvbG9ocU1UQUora0JOL2M4cWlxUUVidkpj?= =?utf-8?B?YnFQRWlsaXY2aG9DZUtmVG04akFDTlZhU0NGTDVHZEp0Qk9LVFlwc0JBRjg1?= =?utf-8?B?UW9XUkFrR3Q4Y1VnNGg1ZU83UWlyQm15NzFLSkRsbm1RL1RVUHl4bGI1TU5h?= =?utf-8?B?ZTQ4TDRHYmlaM3FLNDlSSHFhRW55RFMwTUNuL3k1YWdEVTBVNGNkc25qc3FR?= =?utf-8?B?VC8wNGFCU0pRM0hMMDNkY2pvaHY2QjFwVUtiYWtVZFZmaWlacGpnY2dQd204?= =?utf-8?B?RUczWm54VUIxR0g2MjNFRUpsWVFUQ0loRVZFcXR3ZXdqMUVQZnV6M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aKTNltVy1aHs8iv5KpH/TEabr7Hgu0+FGgwMl9dwetVsOrZKymB8uE3GFHlxFsCMJSlxxZYhMl+SPC5PTqkigKfHv0ER1N4iL5Ru/gqqspSRC/npOZF7z3lA5H+XcShXsE6FuQCxas85J771CY2RyMjk5VVxz1VI7g X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2018 13:17:07.0310 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 82b4168f-cbf1-4327-dc73-08d58d9bb753 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1152 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/19/2018 5:39 AM, Christoph Hellwig wrote: > Can you test and review the V3 of the series I just sent out? > We reall should get it into linux-next ASAP. Can do. I'll get back to you on V3 thread with the results. Thanks, Tom >