mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Wiklander <jens.wiklander@linaro.org>
To: linux-kernel@vger.kernel.org, op-tee@lists.trustedfirmware.org
Cc: Sumit Garg <sumit.garg@linaro.org>,
	Jerome Forissier <jerome.forissier@linaro.org>,
	Shyam Saini <shyamsaini@linux.microsoft.com>,
	Jens Wiklander <jens.wiklander@linaro.org>
Subject: [PATCH v3 0/2] OP-TEE kernel private shared memory optimizations
Date: Tue, 14 Nov 2023 10:52:15 +0100	[thread overview]
Message-ID: <20231114095217.1142360-1-jens.wiklander@linaro.org> (raw)

Hi,

This patch set optimizes OP-TEE driver private shared memory allocated as
dynamic shared memory (not from the static shared memory pool). The first
patch handles kernel private RPC allocatations larger than one page and the
second changes from alloc_pages_exact() instead of alloc_pages() for more
efficient memory usage.

v1->v2:
* Split into two patches as requested

v2->v3:
* Simplified optee_pool_op_alloc_helper() by always doing the same thing

Thanks,
Jens

Jens Wiklander (2):
  optee: add page list to kernel private shared memory
  optee: allocate shared memory with alloc_pages_exact()

 drivers/tee/optee/core.c    | 44 +++++++++++++++++++-----------------
 drivers/tee/optee/smc_abi.c | 45 +++++++++++++++++--------------------
 2 files changed, 44 insertions(+), 45 deletions(-)


base-commit: 05d3ef8bba77c1b5f98d941d8b2d4aeab8118ef1
-- 
2.34.1


             reply	other threads:[~2023-11-14  9:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-14  9:52 Jens Wiklander [this message]
2023-11-14  9:52 ` [PATCH v3 1/2] optee: add page list to kernel private shared memory Jens Wiklander
2023-11-16 12:28   ` Sumit Garg
2023-11-17  8:29     ` Jens Wiklander
2023-11-17 14:10       ` Sumit Garg
2023-11-14  9:52 ` [PATCH v3 2/2] optee: allocate shared memory with alloc_pages_exact() Jens Wiklander
2023-11-16 12:36   ` Sumit Garg
2023-12-04 16:11 ` [PATCH v3 0/2] OP-TEE kernel private shared memory optimizations Jens Wiklander

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=20231114095217.1142360-1-jens.wiklander@linaro.org \
    --to=jens.wiklander@linaro.org \
    --cc=jerome.forissier@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=op-tee@lists.trustedfirmware.org \
    --cc=shyamsaini@linux.microsoft.com \
    --cc=sumit.garg@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®