Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1930351lqo; Mon, 13 May 2024 02:50:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXVDo2UUEzGsw2zpJ5N/IotuQ4yRLJ5ZHDZh5gw7FLVmWhtZTq0tJdSIGPVka8G3eulRHm06RYHmnwUT9F3qbxTpOkPLHnVZAse451Qrw== X-Google-Smtp-Source: AGHT+IFGKSSA8YeA3Y+FnzjGAu9SfAQ48IAbCsRd9BdNNk7UU8kaR2WmvnipdjH5+YEFFIyUrx+Z X-Received: by 2002:a05:6808:2026:b0:3c9:70ce:3bc5 with SMTP id 5614622812f47-3c99702a818mr10215427b6e.11.1715593803772; Mon, 13 May 2024 02:50:03 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2a918aasi8948171b3a.101.2024.05.13.02.50.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 02:50:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177423-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="Jj84ll/n"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-177423-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177423-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 972A7B20AE1 for ; Mon, 13 May 2024 09:49:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4FA59148854; Mon, 13 May 2024 09:49:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="Jj84ll/n" Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2055.outbound.protection.outlook.com [40.107.15.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69B15147C91; Mon, 13 May 2024 09:49:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.15.55 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715593784; cv=fail; b=bQZFYEpCtKhDGEJidiRq8x5co4NwetT0lvO7bA3WAXoefk1Doj5ceCyE2+4SWpX2F9Ovo1koMlpXD70FBZgVjh0arGqIFwn893YWcUV9qUDmBTuhz4hugQRhdZSItyEUehUuX0aF14XcJWmDTA291I6GJPJKA2LF+u26YdGdlZ8= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715593784; c=relaxed/simple; bh=yEk6TmksBKIAec/mqTZFuEXOsvDkhite8kSC2KImz/g=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=ZDOhLl8UIq331eI0WvpbtPc0ElP1nLRas4gKXL342ny660Rt/TJaLV0SwN4ZSC41zsMi39eXWRRnijDwV1jUr14c5FA3dwG8H3N7WRR4rd9jElt5mWZKSAJxN5uJkF2gpnzp0wfQFq6dPsfThKyj8Hw2JmlqEyPUJEr10ojPmbo= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=Jj84ll/n; arc=fail smtp.client-ip=40.107.15.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oWhTtgXTXvMsiOUrrU3lFVPt4HKZSNOP8cShcgGg9vpXGXJaX1PQlwa/0RlKUGxdkQOdtLPPPLNYI1z2So1Z4sHrwf07a2U5OAg1ersfxZA0vBSjXPyBUJdyzZ86D9u5vv87cYTup32WirT0TaUOfcfq4k59347KPJG4QB1a257R/5qjLMJfMSvwp99fiECWblWCTitC+O2OfLzBgewunfwx7hbBof7DwhMWeWvqVs1WVX91rWKxHkztKUexeWVeQpEuaAM3QgjrP5NOT7zizesXAgDCRLHEcqXBsqviqISrcgNGI9IcIzqng5moWb0LPoX2qHKflTj2OoJUNYg0gw== 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=yEk6TmksBKIAec/mqTZFuEXOsvDkhite8kSC2KImz/g=; b=T2qpfqOz8U8fbVbFtp+R2BjrETj/RW5dNV/WchvXFsCFlbXNtufF4GKJYT4dN6SQWSyS+E6I4T76dg9NMwq51W1FHy1DaWgNBcbyd9xlN5V0Clcr8fCVFhQXxP72kgw0FzKc/fo0P5E2pPU4HIAcEeHj27rXQKp9vs6b1fLDbJ8ecynRoI7mg5rJWxp+DanefBOL0XSxbQz5pMJbXQtvUFO0yNaLu1LBb+GOVxHgnZuaQwvujKbdKjbUBpAtbVDhD9AEfc2RniULks7KJaV4k37Uifs0DK7JCrlHqOE/BYMZJITqhGtKAuqqb4wfwhz/lnEehD/23JoPhRihgrRJQg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yEk6TmksBKIAec/mqTZFuEXOsvDkhite8kSC2KImz/g=; b=Jj84ll/nxG9NKoOWsw4/IV/dZrDPm/wXAm1iwxnaFn8NFKYRDlbQF6cy+nkDUyydP+GwVfA+6aSS10ohv55+JolYe4JCBc2RACbkTOzcMzxWEIjYKWhukKHbcqDntSPTEb/Mpfg/SLg8b5ZClCUOiHRZ3a7TA4dTf4sgCc9Xmc0= Received: from DB9PR04MB9284.eurprd04.prod.outlook.com (2603:10a6:10:36c::8) by PAXPR04MB8318.eurprd04.prod.outlook.com (2603:10a6:102:1c0::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.55; Mon, 13 May 2024 09:49:39 +0000 Received: from DB9PR04MB9284.eurprd04.prod.outlook.com ([fe80::c5dc:4676:2254:2f4]) by DB9PR04MB9284.eurprd04.prod.outlook.com ([fe80::c5dc:4676:2254:2f4%4]) with mapi id 15.20.7544.052; Mon, 13 May 2024 09:49:39 +0000 From: Hui Fang To: Tomasz Figa , Robin Murphy , Christoph Hellwig CC: "m.szyprowski@samsung.com" , "mchehab@kernel.org" , "linux-media@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Anle Pan , Xuegang Liu , "senozhatsky@chromium.org" Subject: RE: [EXT] Re: [PATCH] MA-21654 Use dma_alloc_pages in vb2_dma_sg_alloc_compacted Thread-Topic: [EXT] Re: [PATCH] MA-21654 Use dma_alloc_pages in vb2_dma_sg_alloc_compacted Thread-Index: AQHZ5t7nwJrRJ7WJYEaDKJh4zDlG3LAjXeUAgACalwCACMWXgIAAGQSAgAAXwQCAAFGpgICRtcOAgNdvH8A= Date: Mon, 13 May 2024 09:49:39 +0000 Message-ID: References: <20230914145812.12851-1-hui.fang@nxp.com> <353919fd-932e-5d81-6ac5-7b51117366cd@arm.com> <20230926065143.GB5606@lst.de> <4d0f3de5-1d34-d998-cb55-7ce7bfaf3f49@arm.com> <20230926094616.GA14877@lst.de> <06d476e5-ba85-1504-d69b-a8c1cf617d54@arm.com> <20231228074645.765yytb2a7hvz7ti@chromium.org> In-Reply-To: <20231228074645.765yytb2a7hvz7ti@chromium.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DB9PR04MB9284:EE_|PAXPR04MB8318:EE_ x-ms-office365-filtering-correlation-id: 311defb3-0f6b-4273-67ba-08dc73320189 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230031|376005|366007|1800799015|38070700009; x-microsoft-antispam-message-info: =?us-ascii?Q?00cSuVEABiufsQzw0PT0+FVoGKVDEKXtn6cPyKBdKbvrFLAlLwqrKxRZ9ZtD?= =?us-ascii?Q?OQmMpOUR2iuwpR4XG6Blfb7+fzauAWC50IkTvyLpIgVL5GjoFDIZqVQ815rQ?= =?us-ascii?Q?AaHi0g2lp21qFZS6UYMZ3p0+tpCAVnS4thS1U482watxNLo0+QTu3SlpZ8kG?= =?us-ascii?Q?du48kdzcM3ohSu3UFY0YG/GBQpgoJ13J+R2MgOn84/frNrO5SsU4cPHT9oiv?= =?us-ascii?Q?8dXTHPzchzEyzFIF6N+dZWFukX/hOHRopqevXq+l0eeR5nsXV3c8ZDrMsXH7?= =?us-ascii?Q?nCzaeieGq6/z3pfKf9Ep+v5a6+74GnzB4IfLO+2HQihSjXwCagYN4ewonw4T?= =?us-ascii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iI4qOSlNvkvQnsb4umx+6EsU15r90s+OhFawEi?= =?us-ascii?Q?xLKEAndEl1XXftyclYgGwcxe+Jv2Pyd9ceyUkfaJ5HzJVPn1VVrURfEBOBqy?= =?us-ascii?Q?a+m4DICd8BMvsW3iogBkogjiFOwinc7YqnIRYiqXoD+Z3g=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR04MB9284.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015)(38070700009);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?OUN/bQEAvr3FvRLTL9BTgvfiT1NAMP+s3ulkm83zUAdmvH7rNOCmLdPfgxkN?= =?us-ascii?Q?ayQhWRXcKfhK8XtpvzAhVgckmPsgYkf4sdcWkErAL/gVSiOQl+RUp+YA6MvH?= =?us-ascii?Q?cBKN/fudQfbqVOAylUEhAtjppZ+BHGXHmdKbc9XfpVmCM83tZZuhvy7kpIXf?= =?us-ascii?Q?i/idIdXcyFTxiVQMnCMo1LR9wODlhYAAzjOvUFro4uJ5Q2wtC+wNSmE/G3l8?= =?us-ascii?Q?a0Cxl/w1IyDm7dhyx86n6RoFndCmNSvzQyZVMisNRUybecOjb84N+Ash1Ro5?= =?us-ascii?Q?uIppi4UzQiwpsrVf6s242lnoOgvqvGv72eLQ5mtRI//sRwjmfw8Nyo6tgAWD?= =?us-ascii?Q?itZrVnM6e5Kt2oG71z1B+krjWn/wTbdS70dR0m4AJhukGhAN7ECHveWs4a9x?= =?us-ascii?Q?yfbnz2cLVoSDtO3iasrL6kq/iWO+UUaxAs6dMu/K85ubYJKyCBPF2TD54o3T?= =?us-ascii?Q?iD6ecFq9cKR9vEK3ftv5pRV/iwcI3diXDnQO3vgph4AFM3GCj3XE+//COHly?= =?us-ascii?Q?naHhlW6ndv6Cw19N28W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s6TK?= =?us-ascii?Q?/P3RfgkCKpwbhTdQWtJywDqG+AnvffTXk7uxBLrKQVL3/7wixU0aNc0FTEX+?= =?us-ascii?Q?vjFtWX5HWn1o1HPFF9rF4y/VUemlDFHoRAuUHCZFMHSFw3TconWSODu33ISJ?= =?us-ascii?Q?knb2AFLv4l0F0neNEYM=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9284.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 311defb3-0f6b-4273-67ba-08dc73320189 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 May 2024 09:49:39.0758 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: y/RbTLwHJvqEb9A6Qbj2E3GBtaWbxgHQUX+H0Ebv19UHOr2bWgrpvE2IMU/De0KV6E4ASt33DVBExXXquq4xng== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8318 On Dec. 28, 2023, 7:46 a.m. UTC, Tomasz Figa wrote:=20 > I have a crude (and untested) series of patches that extend > dma_alloc_noncontiguous() with scatter-gather allocations according to th= e > new max_dma_segments parameter. Is the change merged? If merged, in which version, so I can test on my devi= ce. Thanks! BRs, Fang Hui