- Sep 06, 2016
-
-
Shiraz Hashim authored
Presently, we can have combination of legacy msm_iommu or arm-smmu driver managed iommu domain. Further the page table format also may differ in these respective managed domains. While with arm-smmu driver, we only use armv8 page table format, with legacy msm_iommu driver we can support both armv7s and armv8 format page tables. Refactor the code to distinguish respective domain as to what pagetable format it supports and accordingly call corresponding page table parser. Change-Id: I71479dc70d93124603f6bd5403296efa4e6dfdeb
-
- Jun 29, 2016
-
-
Liam Mark authored
Ensure we don't try to parse the page tables for an arm_smmu_domain where the pgtbl_ops is NULL. CRs-Fixed: 1034128 Change-Id: If9e63e27a052ed45ad3c187983311acdc3376579
-
Liam Mark authored
The arm_smmu_domain is no longer stored in the iommu_domain priv field, from kernel version 4.1 the arm_smmu_domain is a container of iommu_domain. Add support for this configuration. CRs-Fixed: 1034128 Change-Id: I949ec4a24a7dedc394aedc3e6e30e64f34ca3715
-
- Apr 28, 2016
-
-
Susheel Khiani authored
Some clients can generate 48/49 bit virtual address. Enhance ramdump parser to add support for this page table format. Change-Id: I46d803e7fcecadc73e0ccca3422d586c00ecc610
-
- Sep 09, 2014
-
-
Mitchel Humpherys authored
The `RamParse.read_word' function reads a different number of bits depending on the architecture (it reads 32 bits on ARM and 64 bits on ARM64). We were relying on it to only read 32 bits in a few places, so things were broken on ARM64. Fix this by using explicitly-sized reads where appropriate. Change-Id: Id717787c4e7df344964387d245b732d9fffb1397
-
- Apr 23, 2014
-
-
Mitchel Humpherys authored
It's not always useful to pass extra data to the list walker function. For example, if the list walker function is a class method, state can be passed around by simply modifying class instance variables. Update `ListWalker.walk' to accept extra arguments optionally, not require them. Change-Id: I433f1e34db5c143c838f0eb2ed7f58203712ccb3
-
- Apr 21, 2014
-
-
Mitchel Humpherys authored
The IOMMU parser currently only supports short-descriptor format page tables but hardware supports long-descriptor format page tables. Add support for the long-descriptor format. Most of the existing LPAE MMU code can be re-used for this, although it must be refactored a bit. Change-Id: I464d7edeb8818c0be9de1e1a8224bc9b478eac37
-
- Apr 16, 2014
-
-
Mitchel Humpherys authored
The Iommu domain parsing code is common across different Iommu page table types (normal vs LPAE). Pull this code out so that it can be easily re-used later when LPAE page table support is added. Change-Id: Ifc39c12428a9c090f8197d997ddd293e0ae1f0b1
-