Message ID | 20240710140948.25870-1-liulei.rjpt@vivo.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 77A63C3DA4A for <dri-devel@archiver.kernel.org>; Wed, 10 Jul 2024 20:10:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6115C10E85D; Wed, 10 Jul 2024 20:10:28 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=vivo.com header.i=@vivo.com header.b="jxhErC0j"; dkim-atps=neutral Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2076.outbound.protection.outlook.com [40.107.117.76]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6091910E7E7 for <dri-devel@lists.freedesktop.org>; Wed, 10 Jul 2024 14:10:10 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G34pcI2Tk19lh1r104GbsLkahMHV/PY8JPzaJGlAcf6DxX8T5KAwhimAaGWaiVGutX9qtWoKg5LPyrPytE2Otz8wJvSkwj9Ma2Zf4YHVJJTVDWEUVx3PxsbEmHZxbcNc3NzaFUVz/2/Swuli/3+OgJRab7WGbPrynY2Ze3h/I7AAyCkrSrdQIW8Ui8jir9sF9auN+rzPt/Vt9cNEYlBhh2UwmH7RgRw5TDGMvHvAiFpFmISQTG8Y3XmNIXbR4s1mr9z4wXYaxu84ImpCFjYsajPvt/AO1/+o2jyxiZhUoqnibzoPWDr/ULooQ+f1Z7JRfkuOzW5ddNivD25h3nIOeQ== 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=eVfWZv1bxzI2AFs3g8Xez+PQlX+2bEmv+QBnAFOvTTs=; b=by7SeMNYdX7TjeWavzJmqrxlT+f7S7eZ8wt2YlZwt6MJqNO8XhpnZKunOYDDEy1y2Bn/VpQXXJDblFHJhZNEPG+1yBndxH0m3cbJTg0bhEqso3miv3O4Ja1kn7+uPJj6Yf/j0/g0PEJKy7XRKwTbb4DDzUAihrFKJKEm2P+ucC9v+xavxPPr0BMivHE/uOXV/O1ICVx/tIoevRhocHrliBhd+XJhIU2cV1xHAZsCkKTnuuGIFFXbFQznnQu49Gr+urPkNkhI9NYQpGKJgbjzdYQsbWxDXrBI5vKVjZzEbnmyhwU1XkFaNJJYk5y1+w3cKI3EzpLjLocSfQNXlpA9IA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eVfWZv1bxzI2AFs3g8Xez+PQlX+2bEmv+QBnAFOvTTs=; b=jxhErC0jQiUS4tI1eDzBhZdTiyKSHbm+emhpl3VZVjXFZ0nMGWhXe68Xq9GOA3VXT6PizAPvCTKGznvLhE5ZLgVL7bj2+Zx9VKKcErMetuSioQoL8jSiwKbEJ6/aS2gw0KN6sBLh/LPiFU8ORYYEFkXEddRBVU7lrQVg8FDIwWlc5sphOzyrxQlXURwFbbaG1wJwsy4s6QOlnvmM/GwZ2w57n1oOZXJm7AS4738Zomd3ttZCR6RRQWVcl+rTougXRJsMTvquLDBgEgEt/RAO2+4/71pG008oofpgljoF3y+OZREMPPST39qxrmMG2aSMiJuzE7MD0Mqg/RKFVGKNXw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5624.apcprd06.prod.outlook.com (2603:1096:101:c8::14) by SEZPR06MB7077.apcprd06.prod.outlook.com (2603:1096:101:1f4::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.35; Wed, 10 Jul 2024 14:10:03 +0000 Received: from SEZPR06MB5624.apcprd06.prod.outlook.com ([fe80::e837:10e3:818e:bdfd]) by SEZPR06MB5624.apcprd06.prod.outlook.com ([fe80::e837:10e3:818e:bdfd%5]) with mapi id 15.20.7741.033; Wed, 10 Jul 2024 14:10:03 +0000 From: Lei Liu <liulei.rjpt@vivo.com> To: Sumit Semwal <sumit.semwal@linaro.org>, Benjamin Gaignard <benjamin.gaignard@collabora.com>, Brian Starkey <Brian.Starkey@arm.com>, John Stultz <jstultz@google.com>, "T.J. Mercier" <tjmercier@google.com>, =?utf-8?q?Christian_K=C3=B6nig?= <christian.koenig@amd.com>, Andrew Morton <akpm@linux-foundation.org>, David Hildenbrand <david@redhat.com>, Matthew Wilcox <willy@infradead.org>, Muhammad Usama Anjum <usama.anjum@collabora.com>, Andrei Vagin <avagin@google.com>, Ryan Roberts <ryan.roberts@arm.com>, Peter Xu <peterx@redhat.com>, Kefeng Wang <wangkefeng.wang@huawei.com>, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Cc: opensource.kernel@vivo.com, Lei Liu <liulei.rjpt@vivo.com> Subject: [PATCH 0/2] Support direct I/O read and write for memory allocated by dmabuf Date: Wed, 10 Jul 2024 22:09:42 +0800 Message-Id: <20240710140948.25870-1-liulei.rjpt@vivo.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR02CA0031.apcprd02.prod.outlook.com (2603:1096:4:195::16) To SEZPR06MB5624.apcprd06.prod.outlook.com (2603:1096:101:c8::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5624:EE_|SEZPR06MB7077:EE_ X-MS-Office365-Filtering-Correlation-Id: fe821f6e-a93a-4851-634d-08dca0e9fdda X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|376014|52116014|7416014|38350700014|921020; X-Microsoft-Antispam-Message-Info: XYnQCdJ35+CdZZdDTcKwSUO+nNqc4I5ncL77kqRFFSvZFUNr6FqrbzWUUfF63SrN9dmIUzwt+hWuPQewgSn4k1SOFufyXL7bFVkBd1BNeT6+uuGQ9JE/ZWgtFuyqicrFms3rXzD4ij4m8wvT54XzyRP6QbsEHXUK9WRvRIq7fL+315UPMlZECFf+xNneuRSoqJVzrbEAZkgZGr7keKzAfe8yzaIA+nPuFUs/bg86KDjr9zLT9HdnNoypFaCfhb/af/Ssh9H25+UNXkv2D3EnlAowoVJIsuZv5cxe5CAJyD31WHuZhG6qEgaaHOYPaurmnIIcy0WK/a3/DyzP5aS2U9uNUYI7E9Vcs9Fi+E2sYG28Dy3PgLs6JkjjlftRUNxra7d8eK4B+c3akjI/v3JWo3dC+nTRSIibAdATu3treN0ZVugwdzXGx5EdLJdzC39XLPIPpKOTbZdW6b3xgG+PhFKjxqJ+k3UKew+Pat39BoqSm35VN+/CPl98OxAu1qjQ8wltJBOyG88760/tNI5562wOHNcl74z5UR9TlpPf2PfC9Zy5Vr/eGEFs7spWhNpqd+kuvZ/elIeK+/pIaqcvYMrMRt7xunoqhWakQ+VD7+iL+/0ZS/L1KuyalVRrT+WIZFSODiDS6NPMrzAURz1M9j8aaiinHfG/QpjQwY9qY91KyG/YC0P0lgw4xx+aomiUh20vSuzAMLwkCDEeYEOijqhuASnfcTVuEzRw63T5SyTzLLyYtc5es80WRLKUJm4Yqj1OVfX4iiZq1pg3G6MYiz8PzCFOaoXrI9GS7qfWNhNCxHoX+DWXL64rwSRY15h5FIxhRsucL0GZTWgegR5cAzAgs/5Fz6t8GmQGYxHWbMmt0M0Wdutj4Hy3Hyns/Dd4PWw58sYaBMXOh6J6wjGEy1PH+T3kN/8KRzCfuhVlCvKP9EnR1TdjNSGGjGpxZNLQFdqJBetyuqhOAVJyQZVrWAkGPI5Wr/rVK9BqffykdwtQHNhId5twEk3V3QKHw5m7ZGGjvt1b4fykY6htVzIR26E/hRujMQgZLxpaCtpTxgUy4kNfftvRDtQ5n16elElvy+ki0vKbDOuFeyYAL2WQczbNtiKn7SGTrV31CtrwJuuBR6dATXCOvtqQBAbaKD2FwVNnIXYc8EKEkbZdenroFR2nFm0XriiD6X/v9p5NpF3DKk9DRI7aqh5iCkNaoKIFItb38llUI92GsuzeIKDDgs5v/rGjHNe/Okag/+EUg443Zx0ntzUQRviUpWOpo0uRafbiujpTRWm1oWIvaUbmMB80ZAx64DOACFICD7raB2n8gzCYOu2jH41zVLiXe55XpHkmY2tI/Nt2EoObj9qSwghYwZU5JPnQBw+Qgacp3IKa6DHMeiMet56CEpzJBkghVxjUVOq1XqtSr1HTF5WDkwk7MD5VYVqoGz5FbfMBzvU= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SEZPR06MB5624.apcprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(52116014)(7416014)(38350700014)(921020); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wCIwsfxN/V4URVainH7oGX21bBHZNPJK8qUFSREj5tXkRmiZP1l+ytVSXoT9KCcoyQXXykQEiswhxV6fXkTmCci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Y+ZHjgY3W/ICva6DEzHT5Y8B5H67OACZfpjIDkiRwh+VJf98H6yAIckKRxEQVMW8GWFUN6r0hs5yLNpE3RdDPHbAkmlpFhl5WLH8wNWMY7E78yaQTASfB3CINGr9s1gX+badZ59XIGSX00Ysajwt9MkV2+LqCg4u4uHCyfV+3lst/c3ExxDCL8898wUv3qFcjHG8E6KzDi1j0TPTZBe6ffYMioLbMQkMDLd4pz7d2pWBAaOHn2XENWkwqOVvTtcOKEQEVeVWFSfMSbCbc+xUtvBb45b7frn9sLNuH1AEaOxgoWLZ5opKVrxCuEPWEn7Snt90dByK3VQ7bfRmXpWFIJewp3hsfHgL+Jr0VlSX98oSw+gnQLJUSPhPfzNT4+P5+p9SkGsmdeW6pF0295WTFlmRglfa8IE6/qh/Bs3G3AS+xoH72q9 X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe821f6e-a93a-4851-634d-08dca0e9fdda X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5624.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2024 14:10:02.9857 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7dB6kgfb9PyHs7caREm+zTsL2P+xw2dSj1GcQxKdfh+wv8EpG8emTIo9z5NmDg0OkwojQLkG2etbFUfZwD+jRQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR06MB7077 X-Mailman-Approved-At: Wed, 10 Jul 2024 20:10:21 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Support direct I/O read and write for memory allocated by dmabuf
|
expand
|