From: Vincent Donnefort <vdonnefort@google.com>
To: Sumit Garg <sumit.garg@kernel.org>
Cc: catalin.marinas@arm.com, will@kernel.org, rppt@kernel.org,
akpm@linux-foundation.org, m.szyprowski@samsung.com,
jenswi@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, mark.rutland@arm.com, robin.murphy@arm.com,
hch@lst.de, ryan.roberts@arm.com, sudeep.holla@kernel.org,
ardb@kernel.org, thierry.reding@kernel.org, david@kernel.org,
danielmentz@google.com, linux-arm-kernel@lists.infradead.org,
linux-mm@kvack.org, iommu@lists.linux.dev,
op-tee@lists.trustedfirmware.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 8/8] optee: Add support for lendable-dma-pool
Date: Wed, 2 Dec 2026 10:00:47 +0000 [thread overview]
Message-ID: <aw_sT2Za4HvDFBDc@google.com> (raw)
In-Reply-To: <179578166371.172025.1170602724631713692.b4-review@b4>
On Fri, Nov 27, 2026 at 05:44:23PM +0530, Sumit Garg wrote:
> > When memory is lent to secure world, fatal CPU speculative reads can
> > still occur while it retains a cacheable mapping. Use the
> > lendable-dma-pool API to unmap pages before lending and restore them
> > upon reclaim.
> >
> > Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
>
> Thanks for all the rework, the OP-TEE changes looks good to me. FWIW:
>
> Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
>
> -Sumit
>
> --
> Sumit Garg <sumit.garg@kernel.org>
Thank you for the review, the new approach looks better than what I had in the
v2.
--
Vincent
WARNING: multiple messages have this Message-ID (diff)
From: Vincent Donnefort via OP-TEE <op-tee@lists.trustedfirmware.org>
To: Sumit Garg <sumit.garg@kernel.org>
Cc: catalin.marinas@arm.com, will@kernel.org, rppt@kernel.org,
akpm@linux-foundation.org, m.szyprowski@samsung.com,
jenswi@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, mark.rutland@arm.com, robin.murphy@arm.com,
hch@lst.de, ryan.roberts@arm.com, sudeep.holla@kernel.org,
ardb@kernel.org, thierry.reding@kernel.org, david@kernel.org,
danielmentz@google.com, linux-arm-kernel@lists.infradead.org,
linux-mm@kvack.org, iommu@lists.linux.dev,
op-tee@lists.trustedfirmware.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 8/8] optee: Add support for lendable-dma-pool
Date: Wed, 2 Dec 2026 10:00:47 +0000 [thread overview]
Message-ID: <aw_sT2Za4HvDFBDc@google.com> (raw)
In-Reply-To: <179578166371.172025.1170602724631713692.b4-review@b4>
On Fri, Nov 27, 2026 at 05:44:23PM +0530, Sumit Garg wrote:
> > When memory is lent to secure world, fatal CPU speculative reads can
> > still occur while it retains a cacheable mapping. Use the
> > lendable-dma-pool API to unmap pages before lending and restore them
> > upon reclaim.
> >
> > Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
>
> Thanks for all the rework, the OP-TEE changes looks good to me. FWIW:
>
> Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
>
> -Sumit
>
> --
> Sumit Garg <sumit.garg@kernel.org>
Thank you for the review, the new approach looks better than what I had in the
v2.
--
Vincent
next prev parent reply other threads:[~2026-12-02 10:00 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-11 11:07 [PATCH v3 0/8] arm64: Unmap FF-A lent memory from direct map Vincent Donnefort
2026-11-11 11:07 ` Vincent Donnefort via OP-TEE
2026-11-11 11:07 ` [PATCH v3 1/8] memblock: Introduce MEMBLOCK_PTEMAP Vincent Donnefort
2026-11-11 11:07 ` Vincent Donnefort via OP-TEE
2026-11-15 19:14 ` Mike Rapoport via OP-TEE
2026-11-15 19:14 ` Mike Rapoport
2026-11-11 11:07 ` [PATCH v3 2/8] arm64: Add support for MEMBLOCK_PTEMAP Vincent Donnefort
2026-11-11 11:07 ` Vincent Donnefort via OP-TEE
2026-11-15 19:20 ` Mike Rapoport via OP-TEE
2026-11-15 19:20 ` Mike Rapoport
2026-11-11 11:07 ` [PATCH v3 3/8] dma-contiguous: Expose rmem_cma_ops Vincent Donnefort
2026-11-11 11:07 ` Vincent Donnefort via OP-TEE
2026-11-11 11:07 ` [PATCH v3 4/8] dt-bindings: reserved-memory: Add lendable-dma-pool Vincent Donnefort
2026-11-11 11:07 ` Vincent Donnefort via OP-TEE
2026-11-18 20:24 ` Rob Herring (Arm)
2026-11-18 20:24 ` Rob Herring (Arm) via OP-TEE
2026-11-11 11:07 ` [PATCH v3 5/8] dma-mapping: Introduce lendable-dma-pool Vincent Donnefort
2026-11-11 11:07 ` Vincent Donnefort via OP-TEE
2026-11-12 11:08 ` sashiko-bot
2026-11-12 11:08 ` sashiko-bot--- via OP-TEE
2026-11-27 12:14 ` Sumit Garg
2026-11-27 12:14 ` Sumit Garg via OP-TEE
2026-11-11 11:07 ` [PATCH v3 6/8] arm64: Introduce direct_map_is_ptemap() Vincent Donnefort
2026-11-11 11:07 ` Vincent Donnefort via OP-TEE
2026-11-11 11:07 ` [PATCH v3 7/8] arm64: Add support for lendable-dma-pool Vincent Donnefort
2026-11-11 11:07 ` Vincent Donnefort via OP-TEE
2026-11-11 11:07 ` [PATCH v3 8/8] optee: " Vincent Donnefort
2026-11-11 11:07 ` Vincent Donnefort via OP-TEE
2026-11-12 11:08 ` sashiko-bot
2026-11-12 11:08 ` sashiko-bot--- via OP-TEE
2026-11-27 12:14 ` Sumit Garg
2026-11-27 12:14 ` Sumit Garg via OP-TEE
2026-12-02 10:00 ` Vincent Donnefort [this message]
2026-12-02 10:00 ` Vincent Donnefort via OP-TEE
2026-11-27 12:14 ` [PATCH v3 0/8] arm64: Unmap FF-A lent memory from direct map Sumit Garg
2026-11-27 12:14 ` Sumit Garg via OP-TEE
2026-12-02 9:59 ` Vincent Donnefort
2026-12-02 9:59 ` Vincent Donnefort via OP-TEE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aw_sT2Za4HvDFBDc@google.com \
--to=vdonnefort@google.com \
--cc=akpm@linux-foundation.org \
--cc=ardb@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=danielmentz@google.com \
--cc=david@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hch@lst.de \
--cc=iommu@lists.linux.dev \
--cc=jenswi@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=m.szyprowski@samsung.com \
--cc=mark.rutland@arm.com \
--cc=op-tee@lists.trustedfirmware.org \
--cc=robh@kernel.org \
--cc=robin.murphy@arm.com \
--cc=rppt@kernel.org \
--cc=ryan.roberts@arm.com \
--cc=sudeep.holla@kernel.org \
--cc=sumit.garg@kernel.org \
--cc=thierry.reding@kernel.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.