Commit 5d658d0
accel/habanalabs: mask part of hmmu page fault captured address
When receiving page fault from hmmu, the captured address is scrambled
both by HW and by driver. The driver part is unscrambled but the HW
part isn't getting unscrambled.
To avoid declaring wrong address, the HW scrambled part will be
masked.
Signed-off-by: Dani Liberman <dliberman@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>1 parent 7e63f31 commit 5d658d0
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
165 | 168 | | |
166 | 169 | | |
167 | 170 | | |
| |||
8835 | 8838 | | |
8836 | 8839 | | |
8837 | 8840 | | |
8838 | | - | |
| 8841 | + | |
| 8842 | + | |
| 8843 | + | |
| 8844 | + | |
8839 | 8845 | | |
| 8846 | + | |
| 8847 | + | |
| 8848 | + | |
| 8849 | + | |
8840 | 8850 | | |
8841 | | - | |
8842 | | - | |
8843 | 8851 | | |
8844 | 8852 | | |
8845 | 8853 | | |
| |||
0 commit comments