Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1731687ybg; Sat, 19 Oct 2019 01:17:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqw35OkDUBb6r2FoqNnoIobvSQ2D7s4aLeThXDCw8K+OY6zc1dYxTVogg9/5q0hKI8VFejm7 X-Received: by 2002:a17:906:6a4f:: with SMTP id n15mr12454209ejs.19.1571473038915; Sat, 19 Oct 2019 01:17:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571473038; cv=pass; d=google.com; s=arc-20160816; b=u1xDd8BIfLSepI8NDyvhz8V/aPKcsLt+4ksSgKgQuotr1KNPyhn4FP9KvMb460PW60 L9KF16SCs3ivxV4gQylf5QSmuSLRjZ4ZwrXopLOBTpqNUa1sjx9zBFEbfixipRx60vCg cr7t4TgzM9nQ+TfzNQNqF5UhYgh/kqAY/aH8+C3qBJ3+8ohGpF5NXwZeg5tvtqr3Oira /oWUCLCuFqrkDaTeDo9i7rSpxrKtF4BfIXiCrDsRq/OCrgX30ADBzFNEq1H9c7JS66xO 7gdsL9soL9XR8eJbLl7ZuiJFUrxc0NnyPTHjFGsjTvS1nN3r49NtLv/fTCjvGLYVWt5y 6cnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:nodisclaimer :original-authentication-results:mime-version :content-transfer-encoding:content-id :authentication-results-original:user-agent:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature:dkim-signature; bh=BPLZIxh1tncLt4b/YZOh+TII6ZSm9Q/ESf/wWcPJUGA=; b=ttbveI9FFpJl0+02+jSUkv15OpEofTUTcsVftClbrcIgnM9VXZqDpUQRD1Z+LwEl5t Uzc2uRvDQN5HgZ7oEhUgU8hnMB6abByDcVpOz1Jaw+bnpDvDjJkiNKlCl740oPYjFOk/ xFQ/8u073LPuV96/rYzMtc8E1mIxDNv3xeIXDCCA1Vce6KmzJcrQBWDyHBTrNvD0wHUf 1t+2K412x5nVx4Q29q3RqS6NwzmbyiE4Xwe+G5KDo/6OIG0cuItaJEB1f2ligOPmuzql G9SzUKdA4P2iT22hee2i+T6uAYNTPs1gLxXngooR/czxqmhk0LNFnP36zE/ZMpfHqFDl S9Xw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=aFjIyDS0; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=aFjIyDS0; arc=pass (i=1 spf=pass spfdomain=arm.com dkim=pass dkdomain=arm.com dmarc=pass fromdomain=arm.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12si5689477edb.133.2019.10.19.01.16.55; Sat, 19 Oct 2019 01:17:18 -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=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=aFjIyDS0; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=aFjIyDS0; arc=pass (i=1 spf=pass spfdomain=arm.com dkim=pass dkdomain=arm.com dmarc=pass fromdomain=arm.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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390891AbfJRLVr (ORCPT + 99 others); Fri, 18 Oct 2019 07:21:47 -0400 Received: from mail-eopbgr30057.outbound.protection.outlook.com ([40.107.3.57]:31606 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728497AbfJRLVr (ORCPT ); Fri, 18 Oct 2019 07:21:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BPLZIxh1tncLt4b/YZOh+TII6ZSm9Q/ESf/wWcPJUGA=; b=aFjIyDS0MLQvyciYJ+kRe4l3rDt14eDtt9IMXyuCFkki51jYazkPyKqPM5K0WCInNTWzOFwdAgrC4PMfxxGr5qvSnhZvkt/pwgtmGF7S4mBfJRRTjp51KeRMNHMHtEkkAbvRRXMXUY0uEsw0RKTjxbdaXa50GoJKDePRSYVriVw= Received: from HE1PR0802CA0017.eurprd08.prod.outlook.com (2603:10a6:3:bd::27) by VI1PR08MB3199.eurprd08.prod.outlook.com (2603:10a6:803:46::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Fri, 18 Oct 2019 11:21:38 +0000 Received: from DB5EUR03FT010.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::208) by HE1PR0802CA0017.outlook.office365.com (2603:10a6:3:bd::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2347.17 via Frontend Transport; Fri, 18 Oct 2019 11:21:38 +0000 Authentication-Results: spf=temperror (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; vger.kernel.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;vger.kernel.org; dmarc=none action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT010.mail.protection.outlook.com (10.152.20.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2305.15 via Frontend Transport; Fri, 18 Oct 2019 11:21:36 +0000 Received: ("Tessian outbound e4042aced47b:v33"); Fri, 18 Oct 2019 11:21:32 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 7facaeab60f54ac9 X-CR-MTA-TID: 64aa7808 Received: from fdc714573029.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.10.53]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id E0D0F47C-F187-408E-BA14-B88891B9BAA6.1; Fri, 18 Oct 2019 11:21:27 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp2053.outbound.protection.outlook.com [104.47.10.53]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id fdc714573029.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384); Fri, 18 Oct 2019 11:21:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G7yuF9/Ys5BNF3eEwJVgv8SFbTBYOq6Zq4b2ueAV9EMSkFB7bxt+Ai1mtf3184iWnRNa2O/ZCRIGKEEDEFNf4atqsXD28pp/Au0WuP9HxvEQ7pBm6G0V5qTILthrcOmu1N6o2wv0TJLLfyCHZ6qKe03bGfLnrZLnbCLm4AXLbLLdS3mJ2ST++IXfgGAVd0/5Leu7jgeY6t/XDMoTdPE8Yh7D8Iz7eZ7Ww6L94pfM/Fd7LclPzRAf7LkG6XtaHUpojv44WCdGMzCt5XHXAGyxINOA2jnwfkbWV+5UolwYOjfzBXjpSYo2QU1GZy98Rj9MRHm+vtnJuBN830MaleD5yw== 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=BPLZIxh1tncLt4b/YZOh+TII6ZSm9Q/ESf/wWcPJUGA=; b=KT2TiDJ26J4w//WJPSvBhvEPqEoO0hYQ/ChzpxaoX1dUwRJO/B9LQ2iRK0Icu4EYxyLnbvxbr5PEy+tQMjadfAur9SUjMSHKkdkisTBc9QVEWJw3O7sKu8X0d6p3aeCH6ekKltatVNGOAGSIexcIet2efEXWPYPrT3qIr0CPmnetxkthvBjsqr0eXQM/OiR3NqMeP9kVNo3LHtOqwaGz9AWtlcokd6dk6nOzvZk1HLFFnzIQG5Y17CqKgxct62p/Twvg07cJN3/vu3pgqvDo2WgUn19lifQSxgU+Zf6FXrpoYXoZiwAqey/PHZy/uAgtzBK9l01kR/V4n2WEuxvKDQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BPLZIxh1tncLt4b/YZOh+TII6ZSm9Q/ESf/wWcPJUGA=; b=aFjIyDS0MLQvyciYJ+kRe4l3rDt14eDtt9IMXyuCFkki51jYazkPyKqPM5K0WCInNTWzOFwdAgrC4PMfxxGr5qvSnhZvkt/pwgtmGF7S4mBfJRRTjp51KeRMNHMHtEkkAbvRRXMXUY0uEsw0RKTjxbdaXa50GoJKDePRSYVriVw= Received: from AM6PR08MB3829.eurprd08.prod.outlook.com (20.178.89.14) by AM6PR08MB3784.eurprd08.prod.outlook.com (20.178.89.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.18; Fri, 18 Oct 2019 11:21:26 +0000 Received: from AM6PR08MB3829.eurprd08.prod.outlook.com ([fe80::ce0:f47b:919d:561a]) by AM6PR08MB3829.eurprd08.prod.outlook.com ([fe80::ce0:f47b:919d:561a%5]) with mapi id 15.20.2347.023; Fri, 18 Oct 2019 11:21:26 +0000 From: Brian Starkey To: John Stultz CC: lkml , Laura Abbott , Benjamin Gaignard , Sumit Semwal , Liam Mark , Pratik Patel , Vincent Donnefort , Sudipto Paul , "Andrew F . Davis" , Christoph Hellwig , Chenbo Feng , Alistair Strachan , Hridya Valsaraju , Hillf Danton , "dri-devel@lists.freedesktop.org" , nd Subject: Re: [PATCH v12 4/5] dma-buf: heaps: Add CMA heap to dmabuf heaps Thread-Topic: [PATCH v12 4/5] dma-buf: heaps: Add CMA heap to dmabuf heaps Thread-Index: AQHVhXQyqD9ep8kHGkCj5GCPsl03U6dgQXEA Date: Fri, 18 Oct 2019 11:21:26 +0000 Message-ID: <20191018112124.grjgqrn3ckuc7n4v@DESKTOP-E1NTVVP.localdomain> References: <20191018052323.21659-1-john.stultz@linaro.org> <20191018052323.21659-5-john.stultz@linaro.org> In-Reply-To: <20191018052323.21659-5-john.stultz@linaro.org> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: NeoMutt/20180716-849-147d51-dirty x-originating-ip: [217.140.106.52] x-clientproxiedby: LO2P265CA0423.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a0::27) To AM6PR08MB3829.eurprd08.prod.outlook.com (2603:10a6:20b:85::14) Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Brian.Starkey@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: b280cacf-e61b-46be-8220-08d753bd56e4 X-MS-Office365-Filtering-HT: Tenant X-MS-TrafficTypeDiagnostic: AM6PR08MB3784:|AM6PR08MB3784:|VI1PR08MB3199: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:3513;OLM:3513; x-forefront-prvs: 01949FE337 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(4636009)(136003)(366004)(346002)(376002)(39860400002)(396003)(189003)(199004)(9686003)(14444005)(54906003)(6512007)(5660300002)(256004)(25786009)(58126008)(316002)(86362001)(44832011)(66066001)(476003)(6916009)(305945005)(229853002)(446003)(52116002)(486006)(11346002)(99286004)(7416002)(14454004)(478600001)(6486002)(7736002)(4744005)(66476007)(66556008)(64756008)(26005)(66446008)(66946007)(6246003)(76176011)(6116002)(3846002)(4326008)(1076003)(71190400001)(8936002)(81166006)(81156014)(8676002)(71200400001)(386003)(186003)(6506007)(2906002)(102836004)(6436002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR08MB3784;H:AM6PR08MB3829.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 8lhuemaxl5ATSrmo/7W+8i0b5C0t2Szsnbo4pKoyKeTJR6Hr2TUlNgYh9SgRui5BB3R6UcEyRm1Kf8c1r2+nyA55Mr81QRD/ThGspiLTjkJT/2RVMy+Rei99kQus4zt7PfexZog4a8oTxurHPixfH3DgF1FOz1uS9IaNawCHwBIMJl2zub9AAz+l2SkdH3lxRIlpDTvxrXT9dwvAI7Psl2fwkkmayVK44UjF65FgtqqPjz8WqfoWThu87U4R7/fCXnSbMQi/T0Ji5PPecnqws29biEb0nZtjkQPw1tVkbca3cZz+iNoc5iQADDONQfyl1Ov82j2qfsyCZDcUFsdCQsgBkkkJBxlwLT81oAsiEsaNdjZYlLY/5DqCoCTEib3ThqVdpx72kAn6WmnctDuEucRy+JG9zZe3ovD2uFWhdD8= Content-Type: text/plain; charset="us-ascii" Content-ID: <0FA79C5A3857CD428812B53E127A0C4A@eurprd08.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3784 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Brian.Starkey@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT010.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123;IPV:CAL;SCL:-1;CTRY:IE;EFV:NLI;SFV:NSPM;SFS:(10009020)(4636009)(136003)(39860400002)(346002)(396003)(376002)(199004)(189003)(446003)(476003)(66066001)(126002)(63350400001)(11346002)(336012)(486006)(102836004)(99286004)(316002)(58126008)(5660300002)(356004)(54906003)(4744005)(1076003)(386003)(6506007)(186003)(76176011)(50466002)(14454004)(6512007)(9686003)(6486002)(7736002)(26005)(305945005)(6862004)(46406003)(86362001)(6246003)(23726003)(70206006)(70586007)(97756001)(22756006)(6116002)(3846002)(229853002)(76130400001)(2906002)(81156014)(47776003)(81166006)(478600001)(14444005)(8676002)(25786009)(8936002)(8746002)(26826003)(4326008);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR08MB3199;H:64aa7808-outbound-1.mta.getcheckrecipient.com;FPR:;SPF:TempError;LANG:en;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;A:1;MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: f2f75511-d717-44a6-04a6-08d753bd5073 NoDisclaimer: True X-Forefront-PRVS: 01949FE337 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 70RZsdeWTrIhbHb5p4jTuxkjYdsZZ7eNXH+eA9KlPqQTx4M9Ww5K0lR4fskhiviMuFr6i9gmw2w8AoSfrxr0FHFvEMVblIFzC/EIH5DuziWE2vOVclGoH+gwJHDlirDwKx5+AZFBmRlekoiAoWJeURl7NJ0IF0SY7/RyVfBilIrD3CMXAqjYcwg+ApM+7mgZr3r29bdu5QzLW97jtOOf2jYytjlFVDyxaJtP2Lht4vEZll29P5tyfMJgMFsfpK5Sm4+daFT9/BoqkyyOaH+UAk1eJwXxgSevMya3iWcorKkqs9lG5+GwTGIKMTJPIMHUUkr0eOx3SEYu3BKbRf9w4eq33w/cmgv8+4kM5RtXkE90PCuahAOOJrIzP7z2fE3LMgJfy1S71U1e14GKBAzZkI9enSEI8k2J/IQ19Wc0cdo= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2019 11:21:36.7454 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b280cacf-e61b-46be-8220-08d753bd56e4 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3199 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 18, 2019 at 05:23:22AM +0000, John Stultz wrote: > This adds a CMA heap, which allows userspace to allocate > a dma-buf of contiguous memory out of a CMA region. >=20 > This code is an evolution of the Android ION implementation, so > thanks to its original author and maintainters: > Benjamin Gaignard, Laura Abbott, and others! >=20 > NOTE: This patch only adds the default CMA heap. We will enable > selectively adding other CMA memory regions to the dmabuf heaps > interface with a later patch (which requires a dt binding) That'll teach me for reading my email in FIFO order. This approach makes sense to me. -Brian