)]}'
{
  "commit": "8c6e9b60f5c7985a9fe41320556a92d7a33451df",
  "tree": "29f43484902f70f2c54163a01ff74b24b8fb72a0",
  "parents": [
    "fb75437b447875ae97ea3a173e734dbd553a3881"
  ],
  "author": {
    "name": "Suzuki K Poulose",
    "email": "suzuki.poulose@arm.com",
    "time": "Mon Mar 16 16:19:01 2026 +0000"
  },
  "committer": {
    "name": "Will Deacon",
    "email": "will@kernel.org",
    "time": "Thu Mar 19 12:46:05 2026 +0000"
  },
  "message": "arm64: realm: Fix PTE_NS_SHARED for 52bit PA support\n\nWith LPA/LPA2, the top bits of the PFN (Bits[51:48]) end up in the lower bits\nof the PTE. So, simply creating a mask of the \"top IPA bit\" doesn\u0027t work well\nfor these configurations to set the \"top\" bit at the output of Stage1\ntranslation.\n\nFix this by using the __phys_to_pte_val() to do the right thing for all\nconfigurations.\n\nTested using, kvmtool, placing the memory at a higher address (-m \u003csize\u003e@\u003cAddr\u003e).\n\n e.g:\n # lkvm run --realm -c 4 -m 512M@@128T -k Image --console serial\n\n sh-5.0# dmesg | grep \"LPA2\\|RSI\"\n[    0.000000] RME: Using RSI version 1.0\n[    0.000000] CPU features: detected: 52-bit Virtual Addressing (LPA2)\n[    0.777354] CPU features: detected: 52-bit Virtual Addressing for KVM (LPA2)\n\nFixes: 399306954996 (\"arm64: realm: Query IPA size from the RMM\")\nCc: Catalin Marinas \u003ccatalin.marinas@arm.com\u003e\nCc: Steven Price \u003csteven.price@arm.com\u003e\nCc: Will Deacon \u003cwill@kernel.org\u003e\nSigned-off-by: Suzuki K Poulose \u003csuzuki.poulose@arm.com\u003e\nReviewed-by: Steven Price \u003csteven.price@arm.com\u003e\nReviewed-by: Catalin Marinas \u003ccatalin.marinas@arm.com\u003e\nSigned-off-by: Will Deacon \u003cwill@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c64a06f58c0bc0d1e9e95d5a489d9f65c0e037c7",
      "old_mode": 33188,
      "old_path": "arch/arm64/kernel/rsi.c",
      "new_id": "9e846ce4ef9ca7c3781d9e98224647494f478713",
      "new_mode": 33188,
      "new_path": "arch/arm64/kernel/rsi.c"
    }
  ]
}
