Commit 1bd410d
committed
iommu/dart: Use virtual memory ttbr entries in apple_dart_cfg
Locked DARTs can not modify ttbr entries. To ensure atomic updates of
PTEs in the L1 table the DART driver will copy entries to the
preallocated L1 table. This requires access to io-pgtable-dart's tables.
For all other DARTs this moves virt_to_phys() calls into the DART
driver.
Signed-off-by: Janne Grunau <[email protected]>1 parent f96d12f commit 1bd410d
3 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
586 | | - | |
587 | | - | |
588 | | - | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
589 | 590 | | |
590 | 591 | | |
591 | 592 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
0 commit comments