GitHub PushEvent at 2014-05-22 16:48:16
Repository: kernel_sony_msm8930
Actor: olivieer
Payload: {"shas":[["2bef7edee0fc63dd74f112d32ab83424c3fb5a41","70688c5938a79956832325b2d148fefbab76f911@gmail.com","Implement kexec-hardboot\n\nThis allows performing kexec with a full hardware reboot so that the \"guest\"\nkernel does not have to worry about reinitializing hardware states.\n\nI've ported the patch to this Xperia M stock kernel. The hardboot page is\nlocated at 0x88000000, which is exactly 1MiB below the ram_console.\n\nI've tested kexec hardboot with the following parameters:\n    --mem-min=0x85000000 --mem-max=0x87ffffff\n\nKeep in mind that normally, the bootloader will append parameters (e.g. IMEI)\nto the cmdline, but doing kexec will require manually appending them.\n\nHere is a sample script that uses `sed` to do the work:\n\n- https://gist.github.com/alvinhochun/7945270\n\nPlease refer to the following links for more information:\n\n- https://gist.github.com/Tasssadar/6766757\n- http://forum.xda-developers.com/showthread.php?p=46223952\n\nOriginal author: Mike Kasick <mike@kasick.org>\n\nVojtech Bocek <vbocek@gmail.com>:\n  I've ported it to mako and flo, it is based of my grouper port, which is\n  based of Asus TF201 patche ported by Jens Andersen <jens.andersen@gmail.com>\n\n  I've moved atags copying from guest to the host kernel, which means there\n  is no need to patch the guest kernel, assuming the --mem-min in kexec call\n  is within the first 256MB of System RAM, otherwise it will take a long time\n  to load. I've also fixed /proc/atags entry, which would give the kexec-tools\n  userspace binary only the first 1024 bytes of atags,\n  see arch/arm/kernel/atags.c for more details.\n\n  Other than that, memory-reservation code for the hardboot page and\n  some assembler to do the watchdog reset on MSM chip are new for this device.\n\nayysir <dresadd09691@gmail.com>:\n  kexec: use mem_text_write_kernel_word to set reboot_code_buffer args\n  in order to avoid protection faults (writes to read-only\n  kernel memory) when CONFIG_STRICT_MEMORY_RWX is enabled.","Alvin Wong",true]],"size":1,"ref":"refs/heads/exp","head":"2bef7edee0fc63dd74f112d32ab83424c3fb5a41"}