Skip to content
Snippets Groups Projects
  1. Sep 09, 2014
    • Mitchel Humpherys's avatar
      lrdpv2: use explicitly-sized types in Iommu parsing · 162f7411
      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
      162f7411
  2. Apr 23, 2014
    • Mitchel Humpherys's avatar
      lrdp-v2: linux_list.py: make the `extra' argument of `walk' optional · e2f87e11
      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
      e2f87e11
  3. Apr 21, 2014
    • Mitchel Humpherys's avatar
      lrdp-v2: add support for parsing LPAE IOMMU page table · 9de5aebd
      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
      9de5aebd
  4. Apr 16, 2014
    • Mitchel Humpherys's avatar
      lrdp-v2: refactor Iommu domain parsing code · 29d3f2ed
      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
      29d3f2ed
Loading