)]}'
{
  "commit": "cee87af2a5f75713b98d3e65e43872e547122cd5",
  "tree": "1b5e4778d66cab374e333b4a327d28b0e037ab3f",
  "parents": [
    "41d5e5d73ecef4ef56b7b4cde962929a712689b4"
  ],
  "author": {
    "name": "Magnus Damm",
    "email": "magnus@valinux.co.jp",
    "time": "Tue Mar 06 02:34:26 2007 -0800"
  },
  "committer": {
    "name": "Tony Luck",
    "email": "tony.luck@intel.com",
    "time": "Tue Mar 06 14:50:33 2007 -0800"
  },
  "message": "[IA64] kexec: Use EFI_LOADER_DATA for ELF core header\n\nThe address where the ELF core header is stored is passed to the secondary\nkernel as a kernel command line option.  The memory area for this header is\nalso marked as a separate EFI memory descriptor on ia64.\n\nThe separate EFI memory descriptor is at the moment of the type\nEFI_UNUSABLE_MEMORY.  With such a type the secondary kernel skips over the\nentire memory granule (config option, 16M or 64M) when detecting memory.\nIf we are lucky we will just lose some memory, but if we happen to have\ndata in the same granule (such as an initramfs image), then this data will\nnever get mapped and the kernel bombs out when trying to access it.\n\nSo this is an attempt to fix this by changing the EFI memory descriptor\ntype into EFI_LOADER_DATA.  This type is the same type used for the kernel\ndata and for initramfs.  In the secondary kernel we then handle the ELF\ncore header data the same way as we handle the initramfs image.\n\nThis patch contains the kernel changes to make this happen.  Pretty\nstraightforward, we reserve the area in reserve_memory().  The address for\nthe area comes from the kernel command line and the size comes from the\nspecialized EFI parsing function vmcore_find_descriptor_size().\n\nThe kexec-tools-testing code for this can be found here:\nhttp://lists.osdl.org/pipermail/fastboot/2007-February/005983.html\n\nSigned-off-by: Magnus Damm \u003cmagnus@valinux.co.jp\u003e\nCc: Simon Horman \u003chorms@verge.net.au\u003e\nCc: Vivek Goyal \u003cvgoyal@in.ibm.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "32ce330cbc641217b85ce277f94fcc04f60526a8",
      "old_mode": 33188,
      "old_path": "arch/ia64/kernel/efi.c",
      "new_id": "4061593e5b174a1f74b718cebda66bf118f7cf82",
      "new_mode": 33188,
      "new_path": "arch/ia64/kernel/efi.c"
    },
    {
      "type": "modify",
      "old_id": "5fa09d141ab7a8545a963dfb1e9e60fdb316ea7e",
      "old_mode": 33188,
      "old_path": "arch/ia64/kernel/setup.c",
      "new_id": "7d6fe65c93f434e5b329973de95783500354e5a6",
      "new_mode": 33188,
      "new_path": "arch/ia64/kernel/setup.c"
    },
    {
      "type": "modify",
      "old_id": "6dd476b652c6aba995e03d3208c50f21adcba594",
      "old_mode": 33188,
      "old_path": "include/asm-ia64/meminit.h",
      "new_id": "21ec5f3d23deb4478cbb355f0b942e0cd2514e72",
      "new_mode": 33188,
      "new_path": "include/asm-ia64/meminit.h"
    }
  ]
}
