)]}'
{
  "commit": "b6cba11b4abdfb457cfba6869dd37095543d8ab0",
  "tree": "5baa431e7b3f17468f2d3c3bc8421f4fc2084616",
  "parents": [
    "8abcb48e76c2da5bf39f3cf8f2d7ab72afd84da6"
  ],
  "author": {
    "name": "Mike Rapoport",
    "email": "rppt@kernel.org",
    "time": "Thu Dec 09 18:29:27 2021 +0200"
  },
  "committer": {
    "name": "Borislav Petkov",
    "email": "bp@suse.de",
    "time": "Sat Dec 11 11:41:07 2021 +0100"
  },
  "message": "x86/boot: Move EFI range reservation after cmdline parsing\n\nThe memory reservation in arch/x86/platform/efi/efi.c depends on at\nleast two command line parameters. Put it back later in the boot process\nand move efi_memblock_x86_reserve_range() out of early_memory_reserve().\n\nThis was attempted to be fixed in\n\n  8d48bf8206f7 (\"x86/boot: Pull up cmdline preparation and early param parsing\")\n\nbut that caused other troubles so it got reverted.\n\nThe bug this is addressing is:\n\nDan reports that Anjaneya Chagam can no longer use the efi\u003dnosoftreserve\nkernel command line parameter to suppress \"soft reservation\" behavior.\n\nThis is due to the fact that the following call-chain happens at boot:\n\nearly_reserve_memory\n|-\u003e efi_memblock_x86_reserve_range\n    |-\u003e efi_fake_memmap_early\n\nwhich does\n\n        if (!efi_soft_reserve_enabled())\n                return;\n\nand that would have set EFI_MEM_NO_SOFT_RESERVE after having parsed\n\"nosoftreserve\".\n\nHowever, parse_early_param() gets called *after* it, leading to the boot\ncmdline not being taken into account.\n\n [ bp: Productize into a proper patch. ]\n\nSigned-off-by: Mike Rapoport \u003crppt@kernel.org\u003e\nSigned-off-by: Borislav Petkov \u003cbp@suse.de\u003e\nLink: https://lore.kernel.org/r/e8dd8993c38702ee6dd73b3c11f158617e665607.camel@intel.com\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "49b596db5631e83ad216f737d97ec2c308a08967",
      "old_mode": 33188,
      "old_path": "arch/x86/kernel/setup.c",
      "new_id": "e04f5e6eb33f453193c4769f8e39ded586e2a3fa",
      "new_mode": 33188,
      "new_path": "arch/x86/kernel/setup.c"
    }
  ]
}
