Commit b563e47
Stanislaw Gruszka
accel/ivpu: Do not use mutex_lock_interruptible
If we get signal when waiting for the mmu->lock we do not invalidate
current MMU configuration that might result in undefined behavior.
Additionally there is little or no benefit on break waiting for
ipc->lock. In current code base, we keep this lock for short periods.
Fixes: 263b2ba ("accel/ivpu: Add Intel VPU MMU support")
Reviewed-by: Krystian Pradzynski <krystian.pradzynski@linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230525103818.877590-2-stanislaw.gruszka@linux.intel.com1 parent 9f7e361 commit b563e47
2 files changed
Lines changed: 7 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
188 | | - | |
| 186 | + | |
189 | 187 | | |
190 | 188 | | |
191 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
| 590 | + | |
595 | 591 | | |
596 | | - | |
597 | | - | |
| 592 | + | |
| 593 | + | |
598 | 594 | | |
599 | | - | |
600 | 595 | | |
601 | 596 | | |
602 | 597 | | |
| |||
614 | 609 | | |
615 | 610 | | |
616 | 611 | | |
617 | | - | |
| 612 | + | |
618 | 613 | | |
619 | 614 | | |
620 | 615 | | |
| |||
655 | 650 | | |
656 | 651 | | |
657 | 652 | | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
| 653 | + | |
| 654 | + | |
664 | 655 | | |
665 | | - | |
666 | 656 | | |
667 | 657 | | |
668 | 658 | | |
| |||
0 commit comments