)]}'
{
  "commit": "ec457f7cfde59a2122297a7a217c88f02acc63a5",
  "tree": "bdc615a5b86378741e1e7d8b67dd144a43e53456",
  "parents": [
    "58c7145d687a6442c077b0ed0a8c57012de347af"
  ],
  "author": {
    "name": "David Lechner",
    "email": "dlechner@baylibre.com",
    "time": "Mon Jun 15 14:23:37 2026 -0500"
  },
  "committer": {
    "name": "David Lechner",
    "email": "dlechner@baylibre.com",
    "time": "Wed Jun 24 10:06:16 2026 -0500"
  },
  "message": "arm: mediatek: mt8195: fix gd-\u003ebd-\u003ebi_dram[0].size\n\nUse board_get_usable_ram_top() instead of get_effective_memsize() to\nset gd-\u003eram_top to something \u003c\u003d 4GiB.\n\nBoth board_get_usable_ram_top() and get_effective_memsize() are used to\nset gd-\u003eram_top in setup_dest_addr(). However, get_effective_memsize()\nalso sets gd-\u003ebd-\u003ebi_dram[0].size in dram_init_banksize(), which is\nundesirable.\n\nPrior to commit d83bd9729d75 (\"arm: mediatek: mt8195:\ndrop dram_init_banksize()\"), gd-\u003ebd-\u003ebi_dram[0].size was overridden in\na board-specific dram_init_banksize() implementation. When that was\nremoved get_effective_memsize() set gd-\u003ebd-\u003ebi_dram[0].size to the wrong\nvalue because of get_effective_memsize() being overridden in commit\naf4cba9a05aa (\"arm: mediatek: mt8195: fix gd-\u003eram_top limit\")\n\nWe can just use board_get_usable_ram_top() now to set gd-\u003eram_top to the\ncorrect value instead. This is possible now, thanks to\nLMB_LIMIT_DMA_BELOW_RAM_TOP being set by default for 64-bit Mediatek\nARM SoCs.\n\nFixes: d83bd9729d75 (\"arm: mediatek: mt8195: drop dram_init_banksize()\")\nLink: https://patch.msgid.link/20260615-mtk-fix-ram-size-v2-7-f72cfc52ce58@baylibre.com\nSigned-off-by: David Lechner \u003cdlechner@baylibre.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e31d4eec0fb68ad3d33d9cc6eff69bafd0003871",
      "old_mode": 33188,
      "old_path": "arch/arm/mach-mediatek/mt8195/init.c",
      "new_id": "83cac9d01d694f07299be58b045fbf56cc75fe22",
      "new_mode": 33188,
      "new_path": "arch/arm/mach-mediatek/mt8195/init.c"
    }
  ]
}
