[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220802095843.14614-1-olivier.masse@nxp.com>
Date: Tue, 2 Aug 2022 11:58:38 +0200
From: Olivier Masse <olivier.masse@....com>
To: sumit.semwal@...aro.org, benjamin.gaignard@...labora.com,
Brian.Starkey@....com, christian.koenig@....com,
linux-media@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linaro-mm-sig@...ts.linaro.org, linux-kernel@...r.kernel.org
Cc: clement.faure@....com, olivier.masse@....com
Subject: [PATCH 0/5] Add dma-buf secure-heap
Purpose of these patches is to add a new dma-buf heap: linaro,secure-heap
Linaro OPTEE OS Secure Data Path feature is relying on a reserved memory
defined at Linux Kernel level and OPTEE OS level.
>From Linux Kernel side, heap management is using dma-buf heaps interface.
John Stultz (2):
ANDROID: dma-buf: heaps: Add deferred-free-helper library code
ANDROID: dma-buf: heaps: Add a shrinker controlled page pool
Olivier Masse (3):
dma-buf: heaps: add Linaro secure dmabuf heap support
dt-bindings: reserved-memory: add linaro,secure-heap
plat-hikey: Add linaro,secure-heap compatible
.../reserved-memory/linaro,secure-heap.yaml | 56 ++
.../arm64/boot/dts/hisilicon/hi6220-hikey.dts | 11 +
arch/arm64/configs/defconfig | 4 +
drivers/dma-buf/heaps/Kconfig | 19 +
drivers/dma-buf/heaps/Makefile | 3 +
drivers/dma-buf/heaps/deferred-free-helper.c | 136 ++++
drivers/dma-buf/heaps/deferred-free-helper.h | 63 ++
drivers/dma-buf/heaps/page_pool.c | 246 ++++++++
drivers/dma-buf/heaps/page_pool.h | 55 ++
drivers/dma-buf/heaps/secure_heap.c | 588 ++++++++++++++++++
10 files changed, 1181 insertions(+)
create mode 100644 Documentation/devicetree/bindings/reserved-memory/linaro,secure-heap.yaml
create mode 100644 drivers/dma-buf/heaps/deferred-free-helper.c
create mode 100644 drivers/dma-buf/heaps/deferred-free-helper.h
create mode 100644 drivers/dma-buf/heaps/page_pool.c
create mode 100644 drivers/dma-buf/heaps/page_pool.h
create mode 100644 drivers/dma-buf/heaps/secure_heap.c
--
2.25.0
Powered by blists - more mailing lists