History

Merge tag 'optee-async-notif-for-v5.17' of https://git.linaro.org/people/jens.wiklander/linux-tee into arm/drivers

OP-TEE Asynchronous notifications from secure world Adds support in the SMC based OP-TEE driver to receive asynchronous notifications from secure world using an edge-triggered interrupt as delivery mechanism. * tag 'optee-async-notif-for-v5.17' of https://git.linaro.org/people/jens.wiklander/linux-tee: optee: Fix NULL but dereferenced coccicheck error optee: add asynchronous notifications optee: separate notification functions tee: export teedev_open() and teedev_close_context() tee: fix put order in teedev_close_context() dt-bindings: arm: optee: add interrupt property docs: staging/tee.rst: add a section on OP-TEE notifications

Arnd Bergmann committed 4 years ago

Commit c6e5bda2 parents 5213313 b98aee414 files · +523 −124Browse files

Showing the changes to include (1 of 14 files). Show all

Unified · Split

include/linux/tee_drv.h+14−0
@@ -587,4 +587,18 @@ struct tee_client_driver { · 586 unmodified lines
587587 #define to_tee_client_driver(d) \
588588 container_of(d, struct tee_client_driver, driver)
589589
590+/**
591+ * teedev_open() - Open a struct tee_device
592+ * @teedev: Device to open
593+ *
594+ * @return a pointer to struct tee_context on success or an ERR_PTR on failure.
595+ */
596+struct tee_context *teedev_open(struct tee_device *teedev);
597+
598+/**
599+ * teedev_close_context() - closes a struct tee_context
600+ * @ctx: The struct tee_context to close
601+ */
602+void teedev_close_context(struct tee_context *ctx);
603+
590604 #endif /*__TEE_DRV_H*/

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t