diff options
| author | Mostafa Saleh <smostafa@google.com> | 2026-05-13 21:52:03 +0000 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2026-05-19 11:03:45 +0200 |
| commit | adb77e757680dcfa79ccc554ec51d42cf56ef69a (patch) | |
| tree | 0e8266aefc6403266c8cd2e50ff9a9698b6374f9 /drivers/phy | |
| parent | d996116cde972756e8415d6e070b960f6f6a8f6c (diff) | |
iommu/io-pgtable-arm: Use address conversion consistently
Use consistent address conversions in the driver:
- virt_to_phys(): For all virtual to physical address conversion,
convert __pa users as we don’t need to rely on it type casting.
- phys_to_virt(): For all physical to virtual address conversion,
similarly, convert __va users.
That changes nothing at all. However, it will be useful when
compiling this file for the KVM hypervisor as it can cleanly
replace virt_to_phys/phys_to_virt
Signed-off-by: Mostafa Saleh <smostafa@google.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions
