Commit e84bb6b
committed
ipc4: helper: use LL scheduler lock for userspace builds
The ll_block()/ll_unblock() macros use irq_local_disable() and
irq_local_enable() for the same-core binding path, or when
CONFIG_CROSS_CORE_STREAM is not enabled. These are not available
in user-space.
Use zephyr_ll_lock_sched()/zephyr_ll_unlock_sched() when building
with CONFIG_SOF_USERSPACE_LL to acquire the LL scheduler's own
k_mutex instead.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>1 parent 33b3b32 commit e84bb6b
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
591 | 608 | | |
592 | 609 | | |
593 | 610 | | |
| |||
603 | 620 | | |
604 | 621 | | |
605 | 622 | | |
| 623 | + | |
606 | 624 | | |
607 | 625 | | |
608 | 626 | | |
| |||
634 | 652 | | |
635 | 653 | | |
636 | 654 | | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
637 | 659 | | |
638 | 660 | | |
| 661 | + | |
639 | 662 | | |
640 | 663 | | |
641 | 664 | | |
| |||
0 commit comments