Closed jewcomm closed 1 year ago
Bottom half is a wording used in Linux kernel for tasks related to an interrupt but that executes out of the CPU interrupt execution context.
On interrupt occurrence, CPU switches into interrupt mode and executes the interruptible handler function. The execution should be fast because, while exectuing, some other interrupts are masked (for that CPU and to simplify the picture). This fast sequence called the top half or primary handler.
If more work needs to be done but doesn't need to be done in the interrupt context, then a task/thread/work is spwaned, from the interrupt hande, to be shortly scheduled by the scheduler, after the interrupt handler completes and CPU returns from the interrupt mode. This deferred task is called the bottom half.
OP-TEE async notif allows, for example, a secure interrupt to spwan the TEE thread for some work to do in OP-TEE world.
You're right @jewcomm, feel free to make a pull request to fix it.
Create pull request . Close issue.
In section Notifications, the documents https://github.com/OP-TEE/optee_docs/blob/master/architecture/core.rst mistake in "..driver need a bootom half..". May be should be bottom?