linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Clément Le Goffic" <clement.legoffic@foss.st.com>
To: "Clément Léger" <clement.leger@bootlin.com>,
	"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
	"Jens Wiklander" <jens.wiklander@linaro.org>
Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org,
	"Clément Le Goffic" <clement.legoffic@foss.st.com>,
	linux-stm32@st-md-mailman.stormreply.com
Subject: [PATCH 0/3] Add alarm operation to the rtc-optee driver
Date: Tue, 15 Jul 2025 16:07:12 +0200	[thread overview]
Message-ID: <20250715-upstream-optee-rtc-v1-0-e0fdf8aae545@foss.st.com> (raw)

The optee-rtc driver is used to query the rtc handled by OP-TEE OS
through PTA (Pseudo Trusted Application) call.
This serie fixes memory concerns and add alarm operations for the
rtc-optee driver as the RTC PTA now support them [1].

For the alarm notification, the OP-TEE OS secure world will be
able to inform the kernel when a secured alarm will occured
through a notification sent to a kernel thread waiting in OP-TEE OS.

[1]: https://github.com/OP-TEE/optee_os/pull/7440

Signed-off-by: Clément Le Goffic <clement.legoffic@foss.st.com>
---
Clément Le Goffic (3):
      rtc: rtc-optee: fix memory leak on driver removal
      rtc: optee: remove unnecessary memory operations
      rtc: optee: add alarm related rtc ops to optee rtc driver

 drivers/rtc/rtc-optee.c | 464 ++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 426 insertions(+), 38 deletions(-)
---
base-commit: 155a3c003e555a7300d156a5252c004c392ec6b0
change-id: 20250224-upstream-optee-rtc-0cf0b9f45351

Best regards,
--  
Clément Le Goffic <clement.legoffic@foss.st.com>


             reply	other threads:[~2025-07-15 14:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-15 14:07 Clément Le Goffic [this message]
2025-07-15 14:07 ` [PATCH 1/3] rtc: rtc-optee: fix memory leak on driver removal Clément Le Goffic
2025-07-15 14:07 ` [PATCH 2/3] rtc: optee: remove unnecessary memory operations Clément Le Goffic
2025-07-15 14:07 ` [PATCH 3/3] rtc: optee: add alarm related rtc ops to optee rtc driver Clément Le Goffic

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=20250715-upstream-optee-rtc-v1-0-e0fdf8aae545@foss.st.com \
    --to=clement.legoffic@foss.st.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=clement.leger@bootlin.com \
    --cc=jens.wiklander@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    /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;
as well as URLs for NNTP newsgroup(s).