Advanced Embedded Systems Question:
Please explain whether we can use semaphore or mutex or spinlock in interrupt context in Linux Kernel?

Answer:
Semaphore or Mutex cannot be used for interrupt context in Linux Kernel. While spinlocks can be used for locking in interrupt context.