)]}'
{
  "commit": "7eb57be1efb8cdcf613fd8b089295ed5a4f48d7d",
  "tree": "0ac9477926c2529697aef40f9edae7d660c1b3b9",
  "parents": [
    "9dd6aa9b05d535f6d66e7b07134bddf1689ab23f"
  ],
  "author": {
    "name": "Mostafa Saleh",
    "email": "smostafa@google.com",
    "time": "Mon Jul 15 08:45:09 2024 +0000"
  },
  "committer": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Thu Jul 18 13:49:29 2024 +0100"
  },
  "message": "hw/arm/smmu-common: Rework TLB lookup for nesting\n\nIn the next patch, combine_tlb() will be added which combines 2 TLB\nentries into one for nested translations, which chooses the granule\nand level from the smallest entry.\n\nThis means that with nested translation, an entry can be cached with\nthe granule of stage-2 and not stage-1.\n\nHowever, currently, the lookup for an IOVA is done with input stage\ngranule, which is stage-1 for nested configuration, which will not\nwork with the above logic.\nThis patch reworks lookup in that case, so it falls back to stage-2\ngranule if no entry is found using stage-1 granule.\n\nAlso, drop aligning the iova to avoid over-aligning in case the iova\nis cached with a smaller granule, the TLB lookup will align the iova\nanyway for each granule and level, and the page table walker doesn\u0027t\nconsider the page offset bits.\n\nSigned-off-by: Mostafa Saleh \u003csmostafa@google.com\u003e\nReviewed-by: Jean-Philippe Brucker \u003cjean-philippe@linaro.org\u003e\nReviewed-by: Eric Auger \u003ceric.auger@redhat.com\u003e\nReviewed-by: Alex Bennée \u003calex.bennee@linaro.org\u003e\nMessage-id: 20240715084519.1189624-10-smostafa@google.com\nSigned-off-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7fbf8e22fe092063966d6867d1f380cebf65cc30",
      "old_mode": 33188,
      "old_path": "hw/arm/smmu-common.c",
      "new_id": "e374cae0db6423c2ae2d27c2352032f6a92a98b1",
      "new_mode": 33188,
      "new_path": "hw/arm/smmu-common.c"
    }
  ]
}
