Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2965674imu; Mon, 17 Dec 2018 10:44:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/VZmjhtYbPqNKmQePRXU1Aj5W3w1PijO42RgkLiu7uFPUhd+4Uym8g7tbLFCvknFjde9Ra2 X-Received: by 2002:a63:5a57:: with SMTP id k23mr12981942pgm.5.1545072292613; Mon, 17 Dec 2018 10:44:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545072292; cv=none; d=google.com; s=arc-20160816; b=FH2XcSk7V+wNF2kAVoD5jG21Q3GtmWUQQMD3KAvDh9B6GAKaQ6oHMtUwsOFBHt0C8h XoICFeFrY7hAUpMKo1S/CLJPQ+asKjsyO5OzjDE8mTMRIKpQwIhMs0LzOZECD05WV+gd bsfFAds5vvWwS4wZovcB29wvPavHjfsuGTlT42D+hvg5vID33MIwKZjXj5fBCbrrb7X/ G+fXehzs8PFgieyoYCKdvO+N5pSHI3vgCycwelEga68rilJzXfsG8j3MwFyRuQ9qJ+YR o9NG5680g9cokkk29LutuG6/1QB4Zm3RsIkPLRNOsCIlRynufw/Jp+7IsPd6/wLQ8GCN LPlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=fKL5tBGkn5Y9r8xqP5e4PG04hWvfwsFkrodT+75IWX0=; b=q7rIfSgWHRnOiaCmwSVYWa2FM4sfwK1ixVCG0s/cim8nu50uUXuG29IGSiNTn7PXmI TGsC8PATBr9W7SMPZZfJpSZjmJlCbgiTvRIxdgsyGjEx/cxwSb/Bs5hYqlZTTGnt8DMZ AsaGbAbG2GzqPR4lASqRXlltov4kcm12JpUXYcZbxpMyQElacrkeQNRbrcJs031Nh23J JoQYCXWrzrGMDdQrKcfu0AG+yV1neqwqKBhBkq5ZOl9gECCNATTiKhFYQFAAYPWvfsVZ jPzqTdo6rpHnBl7wVs0UGWdUkGJp/F+9w9DqTT1o33hVuaw9Ga1imYc086SFXBUArgvh jHOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=IDFFvXe8; 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 b10si11024786plz.233.2018.12.17.10.44.37; Mon, 17 Dec 2018 10:44:52 -0800 (PST) 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=IDFFvXe8; 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 S1733126AbeLQOtI (ORCPT + 99 others); Mon, 17 Dec 2018 09:49:08 -0500 Received: from mail-eopbgr740042.outbound.protection.outlook.com ([40.107.74.42]:60061 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732489AbeLQOtI (ORCPT ); Mon, 17 Dec 2018 09:49:08 -0500 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:X-MS-Exchange-SenderADCheck; bh=fKL5tBGkn5Y9r8xqP5e4PG04hWvfwsFkrodT+75IWX0=; b=IDFFvXe83emwkUno3lvkdf6Pe2P0XDr3B5e16jY4W/vRybeuaHSjeDX/l2/H8Atn9kI7RWj1jiB+sF3crXdnuzYWCUc3j5TsNKCG5iyJilx/14KZ4I+B46UPtYJibsU/QAR4FDNaI5LRdGm96H/ALK9/U19ZCW2NO7kyMHN1DYA= Received: from BN8PR12MB3618.namprd12.prod.outlook.com (20.178.212.89) by BN8PR12MB3556.namprd12.prod.outlook.com (20.178.212.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1425.21; Mon, 17 Dec 2018 14:49:00 +0000 Received: from BN8PR12MB3618.namprd12.prod.outlook.com ([fe80::ddea:c6fd:f21e:d842]) by BN8PR12MB3618.namprd12.prod.outlook.com ([fe80::ddea:c6fd:f21e:d842%5]) with mapi id 15.20.1425.021; Mon, 17 Dec 2018 14:49:00 +0000 From: "Lendacky, Thomas" To: Christoph Hellwig CC: "iommu@lists.linux-foundation.org" , Benjamin Herrenschmidt , "linuxppc-dev@lists.ozlabs.org" , Alexander Duyck , "linux-kernel@vger.kernel.org" , Greg KH , Robin Murphy , Guenter Roeck Subject: Re: [PATCH] kernel/dma/direct: Do not include SME mask in the DMA supported check Thread-Topic: [PATCH] kernel/dma/direct: Do not include SME mask in the DMA supported check Thread-Index: AQHUkzZYZbIHsqBVPUqwArkjtx2NOqV/ot4AgAID2ACAAWIkgA== Date: Mon, 17 Dec 2018 14:49:00 +0000 Message-ID: <1423e1f4-425f-433e-6b85-0240b2f03aa2@amd.com> References: <20181213225110.6567.69313.stgit@tlendack-t1.amdoffice.net> <20181215105510.GA1806@lst.de> <6954879c-90df-b6bd-7925-f0985980ed18@amd.com> In-Reply-To: <6954879c-90df-b6bd-7925-f0985980ed18@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN2PR01CA0073.prod.exchangelabs.com (2603:10b6:800::41) To BN8PR12MB3618.namprd12.prod.outlook.com (2603:10b6:408:49::25) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.77.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN8PR12MB3556;20:vxxu9ZZOHcrHzTpumZg+D40VXYhb+DgWWBiRIfY72NjOBaOuhBnjfGvzo4ONTQbLAYR+M4emQarzKgDCfiNijWFCKQmWmqWFEeSsgaYUEziQG2CMO3/2IKlL43aZprnjaheLsEYtRemC8dErS+ERRLVBSTcivKajemAu4pt3wrtloBwMPosWIWM61UIdJ+LELoTDuNW1WPDfjPvzggVJ7yVhvwMyYl0b1OSm/zqteX8rVZPOts/OdEhN12rLUcw3 x-ms-office365-filtering-correlation-id: c3ad9551-16e9-41bf-66de-08d6642ec792 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:BN8PR12MB3556; x-ms-traffictypediagnostic: BN8PR12MB3556: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(999002)(6040522)(2401047)(8121501046)(5005006)(3231475)(944501520)(52105112)(93006095)(93001095)(3002001)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:BN8PR12MB3556;BCL:0;PCL:0;RULEID:;SRVR:BN8PR12MB3556; x-forefront-prvs: 08897B549D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(396003)(39860400002)(346002)(376002)(366004)(199004)(189003)(39060400002)(2906002)(25786009)(54906003)(316002)(53546011)(76176011)(68736007)(97736004)(6246003)(26005)(71190400001)(6506007)(71200400001)(386003)(8936002)(36756003)(478600001)(186003)(446003)(6436002)(106356001)(105586002)(5660300001)(4326008)(66066001)(8676002)(81166006)(81156014)(2616005)(102836004)(305945005)(72206003)(14454004)(99286004)(256004)(229853002)(31686004)(486006)(6116002)(86362001)(3846002)(31696002)(52116002)(11346002)(53936002)(6916009)(6512007)(476003)(6486002)(7736002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN8PR12MB3556;H:BN8PR12MB3618.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: dq0FP9bM8URUTSML2TgWs6cCwjBKYLgTbLHWrUg2i2lJ+0HQs4HeMMDlAedXFgel2EyvTKZRxiqHLo7sMmF8AzOjfFUdSRun9suZAbEbFKLZVFExNMZeXu6OMcChTrtfrN+7PwyGRAcJPTtqWLDJSHf5lOSm5+REY6SwYwn2Snhj0+b03JuIUMiLyY1GdaU2zI0WlyRdWu5CrBgpNhimEUHhM8m0MVYh62WE7KfTMAgW5YeSmZjkgKpQAvVOoXGPN2EigjYyLGNtXe34K7TsB1WB8sFqEVH5Cx04oTf9ddenNqq+bXV239e9BoZBV3r2 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: c3ad9551-16e9-41bf-66de-08d6642ec792 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Dec 2018 14:49:00.2475 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR12MB3556 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTIvMTYvMjAxOCAwNTo0MSBQTSwgVG9tIExlbmRhY2t5IHdyb3RlOg0KPiBPbiAxMi8xNS8y MDE4IDA0OjU1IEFNLCBDaHJpc3RvcGggSGVsbHdpZyB3cm90ZToNCj4+IFRoZSBtYWlsIHNlZW1z IHRvIGJlIHNvIG9kZGx5IGVuY29kZWQgc28gdGhhdCBnaXQtYW0gZmFpbHMgb24gaXQuICBDYW4N Cj4+IHlvdSByZXNlbmQgYXMgcGxhaW4gdGV4dD8NCj4gDQo+IEhtbW0uLi4gbm90IHN1cmUgd2hh dCBoYXBwZW5lZCB3aXRoIHRoYXQsIGJ1dCB5ZWFoLCBsb29raW5nIGF0IHRoZSBtZXNzYWdlDQo+ IHNvdXJjZSBzaG93cyBzb21ldGhpbmcgc3RyYW5nZSB3ZW50IG9uLiBMZXQgbWUgdGFrZSBhIGxv b2sgYW5kIEknbGwgdHJ5IHRvDQo+IGdldCBhIGdvb2QgdmVyc2lvbiB0byB5b3UgdG9tbW9yb3cg KE1vbmRheSkuDQoNCk11c3QgaGF2ZSBiZWVuIHNvbWV0aGluZyB3aXRoIHN0Z2l0Li4uIGp1c3Qg cmVzZW50IHVzaW5nIGdpdCBmb3JtYXQtcGF0Y2gNCmFuZCBnaXQgc2VuZC1lbWFpbCBhbmQgaXQg bG9va3Mgb2suICBMZXQgbWUga25vdyBpZiBpdCdzIHN0aWxsIG5vdCByaWdodA0Kd2hlbiBpdCBn ZXRzIHRvIHlvdS4NCg0KVGhhbmtzLA0KVG9tDQoNCj4gDQo+IFRoYW5rcywNCj4gVG9tDQo+IA0K Pj4NCg==