)]}'
{
  "commit": "db227c19e68db353e4cc6c99b6bc86bb24736943",
  "tree": "bd3a465bb4cb24f075257d062ffcfe9a2ec9a8d6",
  "parents": [
    "39c3e304567a013ac096ca8747fe53b44a76e44b"
  ],
  "author": {
    "name": "Ard Biesheuvel",
    "email": "ardb@kernel.org",
    "time": "Fri Jun 12 11:21:35 2020 +0100"
  },
  "committer": {
    "name": "Russell King",
    "email": "rmk+kernel@armlinux.org.uk",
    "time": "Sat Jun 13 11:11:18 2020 +0100"
  },
  "message": "ARM: 8985/1: efi/decompressor: deal with HYP mode boot gracefully\n\nEFI on ARM only supports short descriptors, and given that it mandates\nthat the MMU and caches are on, it is implied that booting in HYP mode\nis not supported.\n\nHowever, implementations of EFI exist (i.e., U-Boot) that ignore this\nrequirement, which is not entirely unreasonable, given that it makes\nHYP mode inaccessible to the operating system.\n\nSo let\u0027s make sure that we can deal with this condition gracefully.\nWe already tolerate booting the EFI stub with the caches off (even\nthough this violates the EFI spec as well), and so we should deal\nwith HYP mode boot with MMU and caches either on or off.\n\n- When the MMU and caches are on, we can ignore the HYP stub altogether,\n  since we can carry on executing at HYP. We do need to ensure that we\n  disable the MMU at HYP before entering the kernel proper.\n\n- When the MMU and caches are off, we have to drop to SVC mode so that\n  we can set up the page tables using short descriptors. In this case,\n  we need to install the HYP stub as usual, so that we can return to HYP\n  mode before handing over to the kernel proper.\n\nTested-by: Heinrich Schuchardt \u003cxypron.glpk@gmx.de\u003e\nSigned-off-by: Ard Biesheuvel \u003cardb@kernel.org\u003e\nSigned-off-by: Russell King \u003crmk+kernel@armlinux.org.uk\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c79db44ba1284bdcdbcfb188d301ef5144e4c43c",
      "old_mode": 33188,
      "old_path": "arch/arm/boot/compressed/head.S",
      "new_id": "434a16982e344fe43d62f45b14bdf9ab4c780800",
      "new_mode": 33188,
      "new_path": "arch/arm/boot/compressed/head.S"
    }
  ]
}
