[PATCH 0/3] Add alarm operation to the rtc-optee driver

Clément Le Goffic posted 3 patches 2 months, 3 weeks ago
drivers/rtc/rtc-optee.c | 464 ++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 426 insertions(+), 38 deletions(-)
[PATCH 0/3] Add alarm operation to the rtc-optee driver
Posted by Clément Le Goffic 2 months, 3 weeks ago
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>

Re: [PATCH 0/3] Add alarm operation to the rtc-optee driver
Posted by Alexandre Belloni 3 weeks, 1 day ago
On Tue, 15 Jul 2025 16:07:12 +0200, Clément Le Goffic wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/3] rtc: rtc-optee: fix memory leak on driver removal
      https://git.kernel.org/abelloni/c/3e044fa26038
[2/3] rtc: optee: remove unnecessary memory operations
      https://git.kernel.org/abelloni/c/9b9f352d5b02
[3/3] rtc: optee: add alarm related rtc ops to optee rtc driver
      https://git.kernel.org/abelloni/c/96e8fe5b8a88

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Re: [PATCH 0/3] Add alarm operation to the rtc-optee driver
Posted by Clément Le Goffic 3 weeks, 4 days ago
Hello,

Anyone to review this series ?
I used the mailto:link from the lore.kernel website here:
https://lore.kernel.org/all/20250715-upstream-optee-rtc-v1-0-e0fdf8aae545@foss.st.com/ 

Let me know if the series needs a resend.

Best regards,
Clément
Re: [PATCH 0/3] Add alarm operation to the rtc-optee driver
Posted by Clément Le Goffic 3 weeks, 4 days ago
Hello,

Anyone to review this series ?
I used the mailto:link from the lore.kernel website here:
https://lore.kernel.org/all/20250715-upstream-optee-rtc-v1-0-e0fdf8aae545@foss.st.com/
Let me know if the series needs a resend.

Best regards,
Clément