Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1064785rdb; Mon, 19 Feb 2024 03:12:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUH5+JtNhYUokm1D19zUv4vvWf7qY2jQH8n0Yj7PlKba/FUzg5RUlX2ZdtQ1VfwF4HoUigIhaAKTcmnr+JusUGXh5N7xqAMafw9Vm7wWQ== X-Google-Smtp-Source: AGHT+IG/Ax6StGdKncOZhcgY+VuHPH3QQc2zrGKGRzhx0vzA0skU7xBx2oNzkbkX7RpGuluYIzEy X-Received: by 2002:a05:6a20:2729:b0:19e:a30e:7333 with SMTP id u41-20020a056a20272900b0019ea30e7333mr7713834pze.25.1708341159564; Mon, 19 Feb 2024 03:12:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708341159; cv=pass; d=google.com; s=arc-20160816; b=AWHdYAFE5d9lQ4Sq1HfRs3nLDZ57fPj4Y5npK/g5YpMkGrl9ARzRlPePvdWDX7Qsq9 6prpUa3UfSPNHhSeU0WHucDlmqxkml9xteoCr6dl3GVt+X/QL9yRqBKFOQZZS0JauCP+ GXWvqhxF5O0zHA0jQ4R3nO/F57NiMM310HKpmS69ozlHNqJ/7LHYBl5B5ihdC5VgaGQ8 CiFlISu32X+0/J2H141P+OuYJqnsDu8dddr3Bp5QlTaGeJcCKiXiz0yqxadQnJ2x7DCM rpdtIY5+sLnVsNA+awRNJmtkzWIW9x39k2K5/XVzblGlBl/W4c0Ln6qEVJXFX7lzxzr9 14RQ== 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=wtUXsOPdRcR9ceMZSYyVlPOgSE3YKBQ5v6cj1iovINY=; fh=yKmUQe5HkRFDzlctln4/hBhJyqU2AQUqPUTMaAinPE0=; b=af5g8IA5MwXF0g89rU8qHPs4uUxS4N2r7WHb951qtdZQ0FdCGGohf4ShCRm/BfANvW ScxpUGLRjEedAwnWTy0TOd/7Hx0Im8hVfD3lyQPl5xMLq3k5+MgFXMRAvLGaGB8aPvsF 4gzg+qIBk2mwXRrSoZxcIQTWh+M0TmkHYsuO/zzU6iUfLRw5Ql7wAQqXNtNWzCjRnypp nGUA0fn1T0O9Jws+pfS0cCo1lNAwKOXgbRaR+0MIsjb0bFPzMqEsqfi+F8dBXrYY8XRQ StuAX+xBWIkOrvA+XPGC1qZiQYtwDKpmbtlEI427vwTRjWPcUJbUuh6VGFw73ZtQ2OIR UTOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="CdMc/Mcb"; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-71175-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71175-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q18-20020a656852000000b005cdfcb3908bsi4236673pgt.316.2024.02.19.03.12.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 03:12:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71175-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=@google.com header.s=20230601 header.b="CdMc/Mcb"; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-71175-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71175-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 485F0283AC4 for ; Mon, 19 Feb 2024 11:12:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 184BB2C192; Mon, 19 Feb 2024 11:12:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="CdMc/Mcb" Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) (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 CF64D2AD39 for ; Mon, 19 Feb 2024 11:12:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708341152; cv=none; b=MjWa9w6Ai9pKJx59sowrkxYZT4fZmJ2OYTjLqHXVq6DhHA+doHdt6+DWADXugLgC9CwG0P4FIfO310vGUg90wmog2D1aHK2jZ8ysLzUmGKbxItBFJG2hSZI6mTSdnHOCdjPCYrW8Exwj/JyvXbwICYcozHUjYAY78oJHxa1XfSE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708341152; c=relaxed/simple; bh=wtUXsOPdRcR9ceMZSYyVlPOgSE3YKBQ5v6cj1iovINY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=vBFK33bFvO/3BEWeZtQVkmr2KKvXHCsbeu58kX1EGmL1K82A5Ji4F6U5ZKOg9BNY0WdHrcJYelcvNJ2gCfIdIpdqAS9qF5KpPpJDym22+gjiVbgNtzsq4sMRZ96ag1kQkA2bT/mOqnJQdhIE7Y12D9QF287OwywnvY+arV1Nbws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=CdMc/Mcb; arc=none smtp.client-ip=209.85.128.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-607f94d0b7cso30105797b3.3 for ; Mon, 19 Feb 2024 03:12:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1708341150; x=1708945950; 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=wtUXsOPdRcR9ceMZSYyVlPOgSE3YKBQ5v6cj1iovINY=; b=CdMc/McbGRsI0pT5Pv28fWhyZkDSqelHCBKLLpZS32fV3oyhcfylpatBgU36VYnfeg ct/zaZ3BmHHnV/Uo0Zae9vTrwc+q4PLzDXepBFhl8mELHb14YNDYOD+ddjhgg8nKj9Ve /FIKCTZyjqJb5W1UHFcOqZDNSlvJtVJDuCpkhvWRvL3WV1ip6Wu8U3if3m6FLygMvYOJ PNOjlaTK2zd3b/s3L88jr3TrA0VathD8618qAevDBDYiKjp7UknNGEXX4khDn8ZYp/Ca sTNNgcwmOXS821b9zmKktHh766RVzS6WTVZB/kXafPTcGyAfm1NvFIE3L7o9iYOXclwU jD8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708341150; x=1708945950; 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=wtUXsOPdRcR9ceMZSYyVlPOgSE3YKBQ5v6cj1iovINY=; b=E1jCCr8AaDWncVsBw/dTbmLCVdDz8ZjELxewmzHhR8diNlhAMn2uPp6URGb6jFuWux j2gvtttfZ1rvrz0WdfjSjAk+t1Bz5jUhAYQrGZR8HQ2EtgBU/P1tbrIr7FwBB+wA5H1g KYw/6GlRxJvLuEosoCPmxghmyBG9tIl7oOSYf3J22pioRwhR/AkVBhFTr74opHdFW+Jx fzBcLpJI2eNih190Oyv5mmANafKWwvLQlaym0E/ERUQ1mHsjxBGojOlXFNCgjCdWRlR6 RpRD5zkihs9EDNoynvRqWzSRpPBhoLzw/qR1IAFdEUa4JDn5QgSwtxMMuleMZZDOLXYh gTqQ== X-Forwarded-Encrypted: i=1; AJvYcCWobKAm695m/C1XwaWTbDsq+jgpmuPG0+7j8Xy3vjvYxigNjASrZRVoxlYZOX63CENNKxXqsE10j/sReq3la0UwlkNGaQhAKe6yL2E/ X-Gm-Message-State: AOJu0YzbCYdZlNa11LakuC1AC4hh3O560FjpKQc0CtrQMn0X6v7PG9zX CbjBzXIty1CAHKJCClEIrGp/rRVkPSpqMxDtUnS/5pE6+m41VreXpRlN05JvZN90SdHJtOLvNdT u0/Ywhq0lBVv54QIHLL4y200b3BI4+M0iWBCT X-Received: by 2002:a0d:cb0e:0:b0:607:ce8d:8839 with SMTP id n14-20020a0dcb0e000000b00607ce8d8839mr11569382ywd.25.1708341149610; Mon, 19 Feb 2024 03:12:29 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240208152808.3712149-1-howardyen@google.com> <20240213055426.GA22451@lst.de> In-Reply-To: <20240213055426.GA22451@lst.de> From: Howard Yen Date: Mon, 19 Feb 2024 19:12:18 +0800 Message-ID: Subject: Re: [PATCH v3] dma-coherent: add support for multi coherent rmems per dev To: Christoph Hellwig Cc: m.szyprowski@samsung.com, robin.murphy@arm.com, gregkh@linuxfoundation.org, andriy.shevchenko@linux.intel.com, rafael@kernel.org, broonie@kernel.org, james@equiv.tech, james.clark@arm.com, masahiroy@kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 13, 2024 at 1:54=E2=80=AFPM Christoph Hellwig wrot= e: > > On Thu, Feb 08, 2024 at 03:28:05PM +0000, Howard Yen wrote: > > Add support for multiple coherent rmems per device. > > Why? I tried to upload the patch to support multiple coherent rmems per device because in some system, the primary memory space for the device might be limited, so that add multiple coherent rmems support per device to satis= fy the scenario. --=20 Regards, Howard