Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2783508lqo; Mon, 20 May 2024 17:35:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU4Y3fZK5jI771tVhu1xK6h2CicS0qgoSaqwz6jd0Mc5UteF5Shaek6pKHacZ4HX/elhL/XIyPeF5jKC1tt1VtXyuQlcNaGxSber99YaA== X-Google-Smtp-Source: AGHT+IFYZAhVafwdQKpyw/hR3FJwVdpRT/FDUDYAkxpdIiXO1nrj4vjXGATs1djo+oigKfgvIR8R X-Received: by 2002:a05:6a21:398a:b0:1af:fb2c:fac9 with SMTP id adf61e73a8af0-1affb2cfbe9mr30214335637.20.1716251745829; Mon, 20 May 2024 17:35:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716251745; cv=pass; d=google.com; s=arc-20160816; b=Zlioxaq8csr9vzblDPcrDkK+c+Fqa/xaHWtPgqmLRHzThQWuWaOYgste41skIHVA8a QcEwtj9+vsR1kf+SUWbkIlCfDxHPx8eaSkryc6NH/x9vtCYfXA3UKAlqrQeBYtXvIqFG 6qKebIJCATfn5Pa/H6TWkBZR6fooMdavIFz1EaOh+o/ky/SyygDFHCvibTvCCiE5cUaY 7aDq1th3ljZUWrH5vInI49lNWgfL3aoxNvB9rH/y5KMaCOY9Ai9PlUVZOszdRenEtmc3 90wHLYX3VBUs1zFG/qlrb+3j9mw0jBufJ0gCV5UG/wsDAtJdN1+zudavAym8c7R9cBZL P3Qg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=JcjQq3Y/hoDek6F5UoJex5CmssRYiAFOnlRMpLISlVM=; fh=w6FGtn07OUaZ9dPxXxXv42+Pqvl21aU/m7eH+qq+PK0=; b=O0k2G0I2IlWMX/xffcCOQsmrmBkY6R42AzlvnV2RDRGl4Ap6OVdcMiLagLkMQUe/Jr ftZkCMD4K/ek9JCSwzNVkd5MADVnnBfMN5NOalHwBHtUP3kXJcUrGOpz1OdxU0JCZZlc pzd6/51YGO5NGvHdn6KEODNHgaMFh7099QcfDetA+57/CbBi0vFctYzTvHdfysJ9ZkHu swfLU4Rg9OmvtO1ep4Ioihi6gz92xglQnvwLDovxkUBNZc8zJnBZNAiU50zqFXTtt0ft BHpZrXEtpcUluv8VhhzqC2sfXILpUAAg4H1BgtfRDGWMYg2OW6S8BE/mgPMlKtnD6XDi 3eRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PyC6e4pB; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-184321-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184321-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b41a42si7428731b3a.316.2024.05.20.17.35.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 17:35:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184321-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PyC6e4pB; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-184321-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184321-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 32C08282184 for ; Tue, 21 May 2024 00:35:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5748A8814; Tue, 21 May 2024 00:35:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="PyC6e4pB" Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CCC493D6A for ; Tue, 21 May 2024 00:35:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716251732; cv=none; b=SfJDQK7PIFS9+dHsuIXgZIJgAGr6CxWupssKptvOA6boSqlHwsjFqHOTp1tX2NfumbtH63BYhMGhhRAVJQ7MQQD1MzsFTindB7wF743k0CF/ai/ogwPX9yuv9eEen9nLAB+Z0vUYrZOkZH6CKtSMph/+E873BOX/j63r94uIpJA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716251732; c=relaxed/simple; bh=JcjQq3Y/hoDek6F5UoJex5CmssRYiAFOnlRMpLISlVM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=d70NyPrOD7MBsL9fJfrEe0Lr7ZvtG1BdiEVMuxqtgSRjz2iCbGOz009D5wzTmXmbyrEvLfe9QaEyAfxY3nzd5G5elNfah7cbYGwpzDe+gP3GQQlwYhgkIUt6Dx6pqeI6w2oro4xWWCyq0jhd1AKc6zVTyY6JmgvsMjJWeu6Bqlg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=PyC6e4pB; arc=none smtp.client-ip=209.85.208.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2e45c0a8360so36207121fa.3 for ; Mon, 20 May 2024 17:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1716251728; x=1716856528; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JcjQq3Y/hoDek6F5UoJex5CmssRYiAFOnlRMpLISlVM=; b=PyC6e4pBbdOhfhnZQHCRH9zvnsTyuZUugNIpFDU0dxNR81cFQvGdchwuNzG2z/SJ8X 8pSW/H4wgOIm5Q5O1BnyKMvK9Usy4CEbAFAo1rpuOZOKgvihkSgCZmXT6y2/etg4aULM L1QtoZgK+Pg4S0yoXF1qIUCdDHmQd8BeCKb2g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716251728; x=1716856528; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JcjQq3Y/hoDek6F5UoJex5CmssRYiAFOnlRMpLISlVM=; b=Urhp1kOfQz15mygnSvCvG7Ph90ot0XD+K/YqQQ0PfiC+T+M3dpnFXCCqc+GB99XA+I Vv6OOYEWnA4KVdj6njfWVE6rxRFCD2vpu/lQr1RfBH/oCs3I8sQlsx2ckbwKmSm3d80F 683VeYngniHItaNOCbNxkvgxn2EF9qAzolvEPpf9N4IS+ojaFwHhTWkOmRsemUYSiOwL cUBbN9iRCXt6MDpy99metMI7qd8Jga6ZkjEm82rtKbGCPOIrdwrB2WG3LSTJUUHNuRZa 3W+pS+GMQRvC+Pp/8BE6wafF10Iru/zE5nUVL1l7k58H/gJNELin4DeU9izpE8G63Mf3 4GjA== X-Forwarded-Encrypted: i=1; AJvYcCW3Rtupn9PJ2wzAsUzqcs3WJo8GH4VKExa+4OUkD/fHWR2XKCI9Y9hDhPrhV7kXJ7RmLm1BGdSixW/RspKivMghwRvLB7UeQPw1u1mr X-Gm-Message-State: AOJu0YynWs8pBswNaBmgKFrSJ1SKy3ELpuvANWKnxHoaZ8FXctR2Ty2s 9/J/B+uiLLDiJYKsopoonsigq+7pdeSVYrKsxhJUcPGsaaFAQ6nIn5Z43hviB1e1vANvaGq6tv0 = X-Received: by 2002:a2e:2c0c:0:b0:2e7:102f:7aeb with SMTP id 38308e7fff4ca-2e7102f7d5cmr65408781fa.40.1716251727821; Mon, 20 May 2024 17:35:27 -0700 (PDT) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com. [209.85.167.48]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2e6a91a9999sm24396491fa.116.2024.05.20.17.35.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 May 2024 17:35:26 -0700 (PDT) Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-51f174e316eso3950898e87.0 for ; Mon, 20 May 2024 17:35:26 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCW2W/7FohBRIuzqNFfsIse7XlyAf+0nqTRtGhlJoDRp2Pmyp8bFn1uu13XZKcwGZkoRzFDaTjdqiJP73vVtVuzA7cxrvdN4p9GomErT X-Received: by 2002:a05:6512:3d87:b0:523:a89f:aa64 with SMTP id 2adb3069b0e04-523a89fab47mr12749993e87.20.1716251726185; Mon, 20 May 2024 17:35:26 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: From: Tomasz Figa Date: Tue, 21 May 2024 09:35:04 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [EXT] Re: [PATCH] MA-21654 Use dma_alloc_pages in vb2_dma_sg_alloc_compacted To: Hui Fang Cc: Robin Murphy , Christoph Hellwig , "m.szyprowski@samsung.com" , "mchehab@kernel.org" , "linux-media@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Anle Pan , Xuegang Liu , "senozhatsky@chromium.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 13, 2024 at 6:49=E2=80=AFPM Hui Fang wrote: > > On Dec. 28, 2023, 7:46 a.m. UTC, Tomasz Figa wrote: > > I have a crude (and untested) series of patches that extend > > dma_alloc_noncontiguous() with scatter-gather allocations according to = the > > new max_dma_segments parameter. > > Is the change merged? If merged, in which version, so I can test on my de= vice. Thanks! Sadly nothing really came out of it. The code I posted was just a quick attempt to implement what was suggested in the thread and still has some open items, which need some follow up. Maybe I should just go ahead and post it as a proper RFC series instead.