Commit f42df88
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 76c6561 commit f42df88
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
602 | 619 | | |
603 | 620 | | |
604 | 621 | | |
| |||
614 | 631 | | |
615 | 632 | | |
616 | 633 | | |
| 634 | + | |
617 | 635 | | |
618 | 636 | | |
619 | 637 | | |
| |||
645 | 663 | | |
646 | 664 | | |
647 | 665 | | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
648 | 670 | | |
649 | 671 | | |
| 672 | + | |
650 | 673 | | |
651 | 674 | | |
652 | 675 | | |
| |||
0 commit comments