summaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)Author
2006-10-06build-no-configureSimon Horman
[BUILD] Remove configure as its a target of configure.ac Generally only sources are stored in an SCM. There seems little reason to store configure, which is a target, as it can trivially be generated by autoconf and then either used by developers or included in distributed tar balls. Signed-Off-By: Simon Horman <horms@verge.net.au>
2006-07-27Rebuild configure from configure.acEric W. Biederman
2006-07-27ppc64 fix compiler flagsManeesh Soni
o This fixes the -m64 flag setting in configure script to avoid -m64 flags for other architectures. Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
2006-07-27basic kexec tools for ppc64 (compile warning cleanups)R Sharada
Hello, The basic_kexec_tools_for_ppc64 had a few issues with variable redeclarations that was throwing some compile warnings on GCC 4, though I was not seeing some of those on my GCC ver 3 on SLES9. This is a revised patch, which cleans up the errors and this should compile ok on ppc64. I also cleaned up a few other compile warnings that were showing up on my system. Thanks to Michael Neuling for pointing this out. Thanks and Regards, Sharada This provides the basic functionality in kexec-elf-ppc64.c to load the various segments required for kexec-tools on ppc64. It also adds ppc64 arch support in build scripts and cleans up some misc error in member deferencing to allow the build to succeed. Signed-off-by: R Sharada <sharada@in.ibm.com> Signed-off-by: Mohan Kumar <mohan@in.ibm.com> Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
2006-07-27add s390 support to kexec-tools-1.101Heiko Carstens
--===============39718348520004598== Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Milton, first of all thanks for looking at the patches. > 1) When patching the command line, you read the string from the > optarg. While you clear the area in the kernel looking at > COMMAND_LINE_SIZE, you do not limit the length that you copy into > the kernel by this amount. This would seem like a buffer-overflow > situation that could easily be trapped. Yes, you're right. The kernel image could be damaged. Fixed. > 2) I noticed your ramdisk code is quite similar in function to > slurp_file in kexec/kexec.c. I realize this is probably a new > function. Fixed as well :) > 3) Your elf-rel loading seem to not be implemented, but your probe > returns 0 just like the image loader. I think you're talking about the function machine_verify_elf_rel(). Unlike the probe functions this one should return 0 on error, shouldn't it? > 4) You seem to have several addresses hard-coded into the kexec-s390.h > file. This would seem to limit the image you are loading, including > any panic crash kernel options using the current scheme. I don't > know your abi to know what other issues you might have with a more > generic kexec to image interface. (It appears you setup your image > to load as if it were from 0 but skipping IMAGE_READ_OFFSET bytes. The hard coded addresses are part of the kernel abi. Nothing needs to be changed here. Skipping the first 64k of the kernel image is ok too, since you usually would only find a loader routine there which would load the rest of the kernel image into ram and then start it. If you are really interested you might have a look at arch/s390/kernel/head.S in the kernel sources :) Also we do not plan to use the kdump feature. It doesn't make too much sense for the s390 architecture since we have already other mechanisms which allow to reliably dump complete memory and register contents at any given state of the system. The patch below should be better (still against 1.101). Guess I will come up with an improved kernel patch too. Thanks, Heiko diffstat: configure | 5 - kexec/arch/s390/Makefile | 6 + kexec/arch/s390/include/arch/options.h | 11 ++ kexec/arch/s390/kexec-elf-rel-s390.c | 23 +++++ kexec/arch/s390/kexec-image.c | 137 +++++++++++++++++++++++++++++++++ kexec/arch/s390/kexec-s390.c | 104 +++++++++++++++++++++++++ kexec/arch/s390/kexec-s390.h | 25 ++++++ kexec/kexec-syscall.h | 7 + purgatory/arch/s390/Makefile | 7 + purgatory/arch/s390/include/limits.h | 54 +++++++++++++ purgatory/arch/s390/include/stdint.h | 24 +++++ 11 files changed, 402 insertions(+), 1 deletion(-)
2006-07-27kexec-tools-1.101Eric W. Biederman
- Initial import into git - initial nbi image formage support - ppc32 initial register setting fixes. - gzipped multiboot file support