From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (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 06FB83D525B for ; Fri, 7 Aug 2026 09:51:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786096310; cv=none; b=ZqXqSmUMfnJ9QsMnjqfHV7jdkfOTN3U9bmN68OHM5GHf8dWFkBMj/4a9hNFE/KWExSSQueWZB3oyTLU4klA9i8HgWY7HblQApPwtK7OjK1h9HsStr/Yj0e3Jhk63IVnz77Gxzgxw9qv0QDKLXOiV9j0fYImvctm7FlRNgHFVy84= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786096310; c=relaxed/simple; bh=Zoi9izk/va9t0fdNhetVSgFenPIicWLXh7EZnbEnteQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kblGQKaMdiQakv5dhwgWMtfQIBKMlZgpAhxGme6EZp+XRF4BP7yen6/AMbkP/MpVNj3zHglbJooTT5GXD5JzG5hBEuKS9+wzPKeGiadfTU9FoNy4UBaTjikXalTa5OR0TI9alM/7r6vqbbdV8YUp4EsBUi24wvkCTJxdqJefl5w= 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=X9BJtwZW; arc=none smtp.client-ip=209.85.208.48 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="X9BJtwZW" Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-698b78c05b0so6310a12.1 for ; Fri, 07 Aug 2026 02:51:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1786096305; x=1786701105; darn=lists.linux.dev; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=QYbufw58gsel6FCE1/jEcLG9PAf4/Ixif2gUvboMhY0=; b=X9BJtwZW/c6Pgmr2logTTHw9GcQswqbqKKrbz+IkuXiObTMl8Iv21+Vbt/YVweUcxl inJt8qlWv1tFRt1EdVkfCN+TlzfbEGi90iyd++71BIegGKP8yOrOKJkaIZtVBkIVYm5j 50Qo2HQifVaISTzZN0VzQ9rSHcpFldBb3X4ZkhquGX9tM/Le0kvhId2pBWo8jCJwDxkM KuX4iAtvyqfgAzpFi8mV9NyCIQtoWS5fWMzIynLvQVSO1nDbFjUgYHZ5rhGKJ0tMROMc 85A+aNe216uGz+x9oIixM23d6ypzrTxp5KZTxw9ZercK2zzjGy7I98L6fW1LTgwjvD46 kj8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786096305; x=1786701105; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=QYbufw58gsel6FCE1/jEcLG9PAf4/Ixif2gUvboMhY0=; b=YirLbZ6dMw1jHB8031XGGeL6BOb0m3zUIQlQaFR6SCAJhrUJpQJ3oiBcebjCcglOKH ibbOs4bfeeC6kMqnyqJ7eV9mCsS5jooVtTNFY8uZiY0wu+Vc+G6KaJpBZzyomlh81iAy KHRQXNaU5vZhei+SmKFPqGeTbKZjpocMpOrbVZLM1EyQbK8dhfuwzjYDbwFiL18J+9ZS 1dchsPiipH1sBXOhFUBnGDwlDIgo8Urb0+AP+o3/8/2tkI9mTc4zKA8HJAk+DxqhMKLq cGXmexkz29OAHL29AghosUr41/bNUn2+DoHj1UkCM9CBX2IDmyiZ8Mtctx08cyC3FRCW CDaA== X-Forwarded-Encrypted: i=1; AHgh+RpnprbnIS39c66P1YGvpjna+jwdNgGLw+aJ8qIwMtcLGlUSzZUbOT0iXqfh3ggtgNVVnWGCOg==@lists.linux.dev X-Gm-Message-State: AOJu0Ywm+Ii2Iras4ZmkAACS6RLsu1/2zKNfBZexDvm8PNuaD6AtDVts ru4/L44J8FfZkN162Rbbbw/eYTQBh8LGsd5LVA28wkBcHOLWWcyb9oaz1CEaIbg6Sg== X-Gm-Gg: AR+sD12pRmy4PrJHdDlYjC2OR+9M8gQGeQoRqynkl3hil2C43A04QMjHoKWAs3EShhg +app2Ebgym763ZEkksSIXPdIXg867qSvrV94khnbgBVwyIMlIVUNDuo0lxlhl5bqxmq+vOxcaYz xKqIFuRiij0nd0H0aYjYu0LkwWX2BNxEStCM+s6FjIBtGJdSuDJ4fE/IMYnIpW3PZTAulrYXXBv 4YCqViQMcbiHV98QiI8bho2QlY6AkDbpWBCVrGw60CHEHosX31R1Uzm/AQo/Lkg4krVDpMMBKgN AuVyZDcakWfEtJ4NV76+33JxwBrMFxhcrfVNkuLHM658V+vGoDwHpW3atomAdOX2dkcKUsmsVzh 4Skpb1hUEoM0vUGCS+mwInPkZ3kXppcwZGalq97TrzYzi/vakNTSPiMnoFSQxRKXR3+kHUxdg5L qELGPlFCBoiOAgaBZoGOu1oMqMruAMqxycEkvYeRSWABIxogu6M0peCv4jqXtvXb+514syOBJ/D y1t7j8zWkTa3+HZ0mjx1fY9bhUUJA== X-Received: by 2002:a05:6402:a5c6:20b0:69c:cf5e:a504 with SMTP id 4fb4d7f45d1cf-6a1da7b32camr36697a12.8.1786096304665; Fri, 07 Aug 2026 02:51:44 -0700 (PDT) Received: from google.com (250.192.189.35.bc.googleusercontent.com. [35.189.192.250]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c2080a6fa80sm32856466b.22.2026.08.07.02.51.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Aug 2026 02:51:43 -0700 (PDT) Date: Fri, 7 Aug 2026 09:51:39 +0000 From: Mostafa Saleh To: Marek Szyprowski Cc: "Aneesh Kumar K.V" , iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-coco@lists.linux.dev, Robin Murphy , Will Deacon , Marc Zyngier , Steven Price , Suzuki K Poulose , Catalin Marinas , Jiri Pirko , Jason Gunthorpe , Petr Tesarik , Alexey Kardashevskiy , Dan Williams , Xu Yilun , linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Alexander Gordeev , Gerald Schaefer , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Sven Schnelle , x86@kernel.org Subject: Re: [PATCH v8 00/23] dma-mapping: Track shared DMA state through direct, pool and swiotlb paths Message-ID: References: <20260717180442.110954-1-aneesh.kumar@kernel.org> <85be992d-9567-433e-ae2e-64ae5483964d@samsung.com> Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <85be992d-9567-433e-ae2e-64ae5483964d@samsung.com> Hi Marek, On Fri, Jul 31, 2026 at 09:33:47AM +0200, Marek Szyprowski wrote: > On 25.07.2026 09:09, Aneesh Kumar K.V wrote: > > "Aneesh Kumar K.V (Arm)" writes: > >> This series tracks confidential-computing shared DMA state through the > >> dma-direct, dma-pool, and swiotlb paths so that encrypted and decrypted > >> DMA buffers are handled consistently. > >> > >> Today, the direct DMA path mostly relies on force_dma_unencrypted() for > >> [...] > > pKVM topic branch is now available > > > > https://lore.kernel.org/all/178467286876.125042.12010461715645610054.b4-ty@kernel.org/ > > > > https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/coco > I've just got back from my holiday's and I see that there is everything ready to give > this patchset some tests in linux-next. I hope nothing will break. > > I've applied this patchset to dma-mapping-for-next, on top of pKVM topic branch with I was trying to find this tree and it seems the MAINTAINERS file have the wrong address: DMA MAPPING HELPERS M: Marek Szyprowski R: Robin Murphy L: iommu@lists.linux.dev S: Supported W: http://git.infradead.org/users/hch/dma-mapping.git T: git git://git.infradead.org/users/hch/dma-mapping.git I believe the corret one is: https://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux.git/ Thanks, Mostafa > patch "[PATCH v8 17/23] dma-direct: make dma_direct_map_phys() honor DMA_ATTR_CC_SHARED" > rebased onto latest changes in arch/arm64/mm/init.c. > > The remaining items pointed in the review can be fixed incrementally. > > Best regards > -- > Marek Szyprowski, PhD > Samsung R&D Institute Poland >