Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4528207ybh; Tue, 6 Aug 2019 13:19:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzAS4T5nUP0i6i4lDinRrpwTu1Gjg3ZfuTuQjDVxKG8/sK9vqe6YBowuHmPJCaP6jR7DoMX X-Received: by 2002:a17:90b:d8f:: with SMTP id bg15mr4862618pjb.65.1565122752047; Tue, 06 Aug 2019 13:19:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565122752; cv=pass; d=google.com; s=arc-20160816; b=u0pBinAak+dVhRpmrt4J4vXnIg8U+ttu/fVT1cwsb3UpfJAS5+kSd08yPdiCkCsGnU MP+X1TYp3/dDy3Dhf0p9dgr1rWVQJLNUcwbD3EiWLIkexOoyTHdGJQri0QhtxNgCmDJA 0cpw+nR+62J3f4KEbvR7xiSWd8e1Wus09YIIFM+xHtQfcH0zjKBwG7BrRlVMTvsFEk6c yW/WPKNQHgxPGYx4cBGhA/m9BOy0MUOXLkWzNWCCV9h+JNoGi0hwObrcbb0rEmER3d3q Y8TdqSLhTuBylOu1nyS9k4jilHoEhrsf3GSMRyki3t9CrjXlSSvLNb19P5xc3Ja/wI/Z DJfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:wdcipoutbound:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from:dkim-signature:ironport-sdr:dkim-signature; bh=TifFv8GuHW1K0JgyBSct3ioYa4gjPvt4a8HLP53nD2c=; b=v2TDlDHXsZD49Y/BOJpzMqyhQTebRIQov/j+qB/QQyxSDoxzJOA+YCPVgX3y5DAIa2 KGdq2LH+3Can02cnyPZGWbJCptkk5vvMftjtyTT0fewaFxyylVCvGd3m2rrO55C+YaFm bDV7W/EP4A8cszBXGFx9MH7n+ArDDMpD16r4yPp1irqNevLMP8Iq4TU13rzwUBJp7/Eq dEqbCl/pwPlXhZb3IEc/PsoNKECCcO+Au/NsPBckw+rntV/c5V/ZVGnEKmFNhV19TXGE OJLkUXu8BjsKQlKFhCVCF3OlEpJ6AOJ47QkgNS4smdtZ+VrEdIy/VUe1SQGiNDy6fLWE ArDA== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=XUAQfQ6H; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=fXJmxoSS; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12si48717647pgu.319.2019.08.06.13.18.55; Tue, 06 Aug 2019 13:19:12 -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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=XUAQfQ6H; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=fXJmxoSS; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726640AbfHFUQu (ORCPT + 99 others); Tue, 6 Aug 2019 16:16:50 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:48386 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725881AbfHFUQt (ORCPT ); Tue, 6 Aug 2019 16:16:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1565122609; x=1596658609; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=TifFv8GuHW1K0JgyBSct3ioYa4gjPvt4a8HLP53nD2c=; b=XUAQfQ6HdgzSIbxWBE+pR8JDPuk8NzQw2MfI4jZBEdDCoY/CUov/BWlO Wmo7BYUT3vD0OY4Q12Z1mIQRzlrSJRJyiZuVDD3bqxcOlcbsg9Ik7en7z tJXSvzczSrZz5I1pCg4Jhkal34elFAj4XkRwiuP3AXPNY4WH2Cv9jjE3R zChjNYKDB8vhqXD40v8vZnvISbTHr8Ww5klFXDCtsxr3OoV6+JiXLCsUF 789afNUpyv7xdFD3tLwKBFELJCMmpS34qt2gXnw8k3pQR7Lvfw3Hq62/e IBDBawt57no6bYiCB7CDkmrI27qvzCsT8MFvsTfNYJYJU30MXEL71dWZa w==; IronPort-SDR: H5kMvNZv3As9IHrpI3yd45vO48AIYrBcxH4OKdigpuslGzN78XHWqEIaW2XrwTHQcoSk9Tb5aG CIStQDvgdhrNiO0+I8YxeBOyfLbnp+nsuOcsgSwI3lblFKuRMgjQensFHfwxb5lSsb3iHHNxXS xgGt/dQ+JutvCQ4c3Gbm7Q4GHNlBIOb76MsFbAe/xVDtQlQ5C4/U+AS91X4fx8adONIOMYHcCb YPlvvdmfVl2nfO2Iq1yXAbWlrSWplL/OkqlBROMPlDW++bMtydp5oFaKKQOHhD+yMNKbGMB/o5 KcU= X-IronPort-AV: E=Sophos;i="5.64,353,1559491200"; d="scan'208";a="116783506" Received: from mail-sn1nam04lp2057.outbound.protection.outlook.com (HELO NAM04-SN1-obe.outbound.protection.outlook.com) ([104.47.44.57]) by ob1.hgst.iphmx.com with ESMTP; 07 Aug 2019 04:16:48 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CM73cOP/OAIWVEelPcgV3yuZ/sh98mssDhqPRbXdv3Eu9LX7KQTISN4XdBzvz+Vy3XKJAWj4rAa7piQgg8bwYU8fK2Wp58liO7Eh+PZmJpgeVNWQEHl+Ki6rtuU5f+6N0wDvFPXF+CSaGg6NGAzKNZRBuRCD6Za7D7Ex0ay3GHiRHhILcM2mOnvuCGxwKVwAN1VRTTPYZfcTQ8B3jIADqmMk2i5NlLgptUTGcide2NJPmMl6pPjIg3BnvqJzDlla+kJogrqqffBXzl5hlRT8I4wE1ykA4SkDLI4t4NvjdVtJ56d0zAMFOW4sEavRmUttqAP5oH/BjuwPYNlRHPaeQA== 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-SenderADCheck; bh=TifFv8GuHW1K0JgyBSct3ioYa4gjPvt4a8HLP53nD2c=; b=b2epTKHijXL9shlL4viT1i0C/aGycEu2zfceByWGNDQGRMHZPHC+TVgvGrA2oL4aOq1czJOB87j5iHzEP3LymoRrujgS7nmfWkdZcf++ZxS4jHwqDRk84KJBkd54yMYLf8yP9ald8SVKGZ/qtUhFBVTnyiw//npQupE08V1gwh8yTUsReYcgjxoV1j3rvKuknRO1nffiDm6qpEEjEw7/nzxamyniVE+jzcdsJDkYtRbdjUVcLo2wnb3rSYI4ZsbsLoqnyO0l1G8uyfz6Tz+6nrQAln7WOumzfKaRWqBgoBwwthCk8CpHQx8p+JeWSyWYOUHEY8BV94eGHdrOW9sVkw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TifFv8GuHW1K0JgyBSct3ioYa4gjPvt4a8HLP53nD2c=; b=fXJmxoSSznOC+r62Ed7/6XrWXoWG32eeBbOvkBbd9Ilhlo24uGzRko9c082Fq4xOymfKzekEpXcisnRi8KTCq5dOiMoXtOguJY4RwkVXx5D8Ra+JwsA7ND0qmM8dr7LJDcgbC/JO5yFSD6SyB1Tj0n1NcyLJdsvqNxfXtZB7Ek4= Received: from BYAPR04MB3782.namprd04.prod.outlook.com (52.135.214.142) by BYAPR04MB5974.namprd04.prod.outlook.com (20.178.232.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.14; Tue, 6 Aug 2019 20:16:47 +0000 Received: from BYAPR04MB3782.namprd04.prod.outlook.com ([fe80::ac9a:967e:70a5:e926]) by BYAPR04MB3782.namprd04.prod.outlook.com ([fe80::ac9a:967e:70a5:e926%7]) with mapi id 15.20.2115.005; Tue, 6 Aug 2019 20:16:47 +0000 From: Atish Patra To: "hch@lst.de" , "l.stach@pengutronix.de" CC: "robin.murphy@arm.com" , "m.szyprowski@samsung.com" , "kernel@pengutronix.de" , "patchwork-lst@pengutronix.de" , "linux-kernel@vger.kernel.org" , Alistair Francis , "iommu@lists.linux-foundation.org" Subject: Re: [PATCH] dma-direct: don't truncate dma_required_mask to bus addressing capabilities Thread-Topic: [PATCH] dma-direct: don't truncate dma_required_mask to bus addressing capabilities Thread-Index: AQHVTBcemVjwrnDkPUyvkjb4+Jg1habuj48A Date: Tue, 6 Aug 2019 20:16:47 +0000 Message-ID: References: <20190805155153.11021-1-l.stach@pengutronix.de> <20190806052325.GB13409@lst.de> In-Reply-To: <20190806052325.GB13409@lst.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Atish.Patra@wdc.com; x-originating-ip: [199.255.44.175] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 203414a9-5cf3-49d6-6c4c-08d71aab0225 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:BYAPR04MB5974; x-ms-traffictypediagnostic: BYAPR04MB5974: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0121F24F22 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(376002)(346002)(396003)(136003)(39860400002)(366004)(199004)(189003)(11346002)(53936002)(446003)(25786009)(6506007)(14454004)(6512007)(6246003)(8936002)(81166006)(6486002)(81156014)(478600001)(71190400001)(71200400001)(4326008)(26005)(2906002)(76176011)(99286004)(102836004)(229853002)(86362001)(5660300002)(66066001)(6436002)(2616005)(7736002)(76116006)(486006)(305945005)(36756003)(476003)(66946007)(66476007)(14444005)(66446008)(256004)(54906003)(66556008)(64756008)(118296001)(186003)(316002)(8676002)(68736007)(3846002)(110136005)(6116002)(4744005)(2501003);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR04MB5974;H:BYAPR04MB3782.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: mcNc64r9943f/V8OkRKLwWjLY7BdMvPL84FE9TtlO+O7UN4aiBzud8M+sMqhBeilDuoQoL5OwCd/uXP+NRZ602XuMNwOwRvFd/U5pXkcQzpnVx0aAW3SmL1yS0GuaA3L2JHotvkpeaLTxIjUpv3jPQ66+cgBrUkBe7crYqeywKR+gErUH0KtTHpsrJrKE1fp3g5AW6vXI02pQ/1zQo9LYnaeoGhT4bVXT0cf6g++12Rv/8shxOybg9kqW9QcfUQlzQA4XIKznUFmQMB39tO3U6waqC7P1c1WF26S+L+PNAAgYC9tAA+S8HfvtgZ2zYgzCDzcuMZtfwk/6FyqVQEzO9Kscbd5A9D5hpayDcyc7Iufg2ahRf6LuuTXAZ0vYHiwIqJm+b5+9UTwXc+zR45+mrngFPFmngOpKIjiRvqt8xY= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 203414a9-5cf3-49d6-6c4c-08d71aab0225 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Aug 2019 20:16:47.1962 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Atish.Patra@wdc.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB5974 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDE5LTA4LTA2IGF0IDA3OjIzICswMjAwLCBDaHJpc3RvcGggSGVsbHdpZyB3cm90 ZToNCj4gT24gTW9uLCBBdWcgMDUsIDIwMTkgYXQgMDU6NTE6NTNQTSArMDIwMCwgTHVjYXMgU3Rh Y2ggd3JvdGU6DQo+ID4gVGhlIGRtYSByZXF1aXJlZF9tYXNrIG5lZWRzIHRvIHJlZmxlY3QgdGhl IGFjdHVhbCBhZGRyZXNzaW5nDQo+ID4gY2FwYWJpbGl0aWVzDQo+ID4gbmVlZGVkIHRvIGhhbmRs ZSB0aGUgd2hvbGUgc3lzdGVtIFJBTS4gV2hlbiB0cnVuY2F0ZWQgZG93biB0byB0aGUNCj4gPiBi dXMNCj4gPiBhZGRyZXNzaW5nIGNhcGFiaWxpdGllcyBkbWFfYWRkcmVzc2luZ19saW1pdGVkKCkg d2lsbCBpbmNvcnJlY3RseQ0KPiA+IHNpZ25hbA0KPiA+IG5vIGxpbWl0YXRpb25zIGZvciBkZXZp Y2VzIHdoaWNoIGFyZSByZXN0cmljdGVkIGJ5IHRoZQ0KPiA+IGJ1c19kbWFfbWFzay4NCj4gPiAN Cj4gPiBGaXhlczogYjRlYmU2MDYzMjA0IChkbWEtZGlyZWN0OiBpbXBsZW1lbnQgY29tcGxldGUg YnVzX2RtYV9tYXNrDQo+ID4gaGFuZGxpbmcpDQo+ID4gU2lnbmVkLW9mZi1ieTogTHVjYXMgU3Rh Y2ggPGwuc3RhY2hAcGVuZ3V0cm9uaXguZGU+DQo+IA0KPiBZZWFoLCB0aGlzIGxvb2tzIHNlbnNp YmxlLiAgQXRpc2gsIGNhbiB5b3UgY2hlY2sgaWYgdGhpcyBoZWxwcyBvbiB0aGUNCj4gSGlGaXZl IGJvYXJkIGFzIHdlbGw/DQoNClllcy4gSXQgZml4ZXMgdGhlIG52bWUgaXNzdWUgb24gSGlGaXZl IFVubGVhc2hlZCArIE1pY3Jvc2VtaSBleHBhbnNpb24NCmJvYXJkLg0KDQpGV0lXLA0KDQpUZXN0 ZWQtYnk6IEF0aXNoIFBhdHJhIDxhdGlzaC5wYXRyYUB3ZGMuY29tPiANCg0KDQpSZWdhcmRzLA0K QXRpc2gNCg==