Commit b853007
committed
accel/amdxdna: Remove hardware context status
One newly supported command does not require hardware context configuration
to be performed upfront. As a result, checking hardware context status
causes this command to fail incorrectly.
Remove hardware context status handling entirely. For other commands,
if userspace submits a request without configuring the hardware context
first, the firmware will report an error or time out as appropriate.
Fixes: aac2430 ("accel/amdxdna: Add command execution")
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260202212450.2681273-1-lizhi.hou@amd.com1 parent fe6d29b commit b853007
3 files changed
Lines changed: 5 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 50 | | |
62 | 51 | | |
63 | 52 | | |
| |||
84 | 73 | | |
85 | 74 | | |
86 | 75 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | 76 | | |
93 | 77 | | |
94 | 78 | | |
| |||
140 | 124 | | |
141 | 125 | | |
142 | 126 | | |
143 | | - | |
144 | 127 | | |
145 | 128 | | |
146 | 129 | | |
| |||
162 | 145 | | |
163 | 146 | | |
164 | 147 | | |
165 | | - | |
166 | 148 | | |
167 | 149 | | |
168 | 150 | | |
| |||
315 | 297 | | |
316 | 298 | | |
317 | 299 | | |
318 | | - | |
| 300 | + | |
319 | 301 | | |
320 | 302 | | |
321 | 303 | | |
| |||
666 | 648 | | |
667 | 649 | | |
668 | 650 | | |
669 | | - | |
670 | 651 | | |
671 | 652 | | |
672 | 653 | | |
| |||
710 | 691 | | |
711 | 692 | | |
712 | 693 | | |
713 | | - | |
714 | 694 | | |
715 | 695 | | |
716 | 696 | | |
| |||
755 | 735 | | |
756 | 736 | | |
757 | 737 | | |
758 | | - | |
| 738 | + | |
759 | 739 | | |
760 | 740 | | |
761 | 741 | | |
| |||
786 | 766 | | |
787 | 767 | | |
788 | 768 | | |
789 | | - | |
790 | 769 | | |
791 | 770 | | |
792 | 771 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
496 | 499 | | |
497 | 500 | | |
498 | 501 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | 102 | | |
108 | 103 | | |
109 | 104 | | |
| |||
0 commit comments