Re: KEXEC on ARM Cortex-A15 versatile express V2P

2012-12-14 Thread Daniel Mack
On 14.12.2012 21:58, Daniel Mack wrote: > Hi, > > On 14.12.2012 18:33, Naresh Bhat wrote: >> Thanks for the suggestions. I really appreciate your help. >> >> I have tried the following in my below setup > > Your should really fix your mailer. The way you quote makes it > impossible to see which

Re: KEXEC on ARM Cortex-A15 versatile express V2P

2012-12-14 Thread Daniel Mack
Hi, On 14.12.2012 18:33, Naresh Bhat wrote: > Thanks for the suggestions. I really appreciate your help. > > I have tried the following in my below setup Your should really fix your mailer. The way you quote makes it impossible to see which lines you added. > My setup: > kexec-tools - latest G

KEXEC on ARM Cortex-A15 versatile express V2P

2012-12-14 Thread Naresh Bhat
Hi Daniel, Thanks for the suggestions. I really appreciate your help. I have tried the following in my below setup My setup: kexec-tools - latest GIT tree with http://lists.infradead.org/pipermail/kexec/2012-December/007526.html patch Kernel version - 3.4.22 Hardware target - V2P-CA15_A7 Cor

Re: Re:

2012-12-14 Thread Sven Neumann
Hi, On Fri, 2012-12-14 at 19:39 +0530, Naresh Bhat wrote: > I can see you have tested a patch from "Daniel Mack" > http://lists.infradead.org/pipermail/kexec/2012-December/007526.html > > Can you please help me with the following > > 1. On which target it has been tested ? > 2. Which kernel is

Re:

2012-12-14 Thread Naresh Bhat
Hi Sven Neumann, I can see you have tested a patch from "Daniel Mack" http://lists.infradead.org/pipermail/kexec/2012-December/007526.html Can you please help me with the following 1. On which target it has been tested ? 2. Which kernel is used for testing ? 3. What are the --command-line argume

Re: [PATCH 1/5] Fix xen_cpuid() inline asm to not clobber stack's red zone

2012-12-14 Thread Simon Horman
On Thu, Dec 13, 2012 at 04:48:46PM +0100, Olaf Hering wrote: > Port xen-unstable changeset 24344:72f4e4cb7440 to kexec-tools: > > Pushing stuff onto the stack on x86-64 when we do not specify > -mno-red-zone is unsafe. Since the complicated asm is due to register > pressure on i386, we simpl

Re: [PATCH] kexec-zImage-arm: add code to support --command-line along with --dtb

2012-12-14 Thread Simon Horman
On Fri, Dec 14, 2012 at 10:20:21AM +0100, Sven Neumann wrote: > Hi, > > On Thu, 2012-12-13 at 14:35 +0100, Daniel Mack wrote: > > If --dtb is called together with --command-line, we need to modify the > > binary dtb buffer. Luckily, we have libfdt functions available, so this > > is straight forwa

[PATCH v3 4/7] Implement apigetctype call back function

2012-12-14 Thread Aravinda Prasad
libeppic will call apigetctype call back function whenever it encounters a token in the eppic macro. The call back function will use DWARF to query information related to the requested token and will pass it back to eppic using libeppic API calls. If the token does not exist, then apigetctype call

[PATCH v3 7/7] Support fully typed symbol access mode

2012-12-14 Thread Aravinda Prasad
Eppic enables access to symbols in two ways. The first, is a more natural mode in that it makes symbols available as fully typed entities. The second, is generic and treats all symbols as an address to data which then needs to be cast to the proper type explicitly. The former obviously enables an e

[PATCH v3 3/7] Eppic call back functions to query a dump image

2012-12-14 Thread Aravinda Prasad
This patch implements a series of apigetuint* call back functions which are used to access data from the dump image. Eppic uses these call back functions to fetch the actual value of the global variables. This patch also adds other call back functions as a place holder which will be implemented in

[PATCH v3 6/7] Extend eppic built-in functions to include memset function

2012-12-14 Thread Aravinda Prasad
The memset function will be used to specify the virtual address and the length of the data to be scrubbed in the dump file from the eppic macro. makedumpfile will convert these requests into filter_info nodes which will be enqueued for filtering. Existing makedumpfile functionality reads the filter

[PATCH v3 2/7] makedumpfile and eppic interface layer

2012-12-14 Thread Aravinda Prasad
This patch extends the makedumpfile functionality to include eppic language support. The patch dynamically loads the makedumpfile specific shared object and calls the eppic_load function in shared object to load/compile and execute the specified eppic macros. This patch also includes "--eppic" opt

[PATCH v3 0/7] makedumpfile security key filtering with eppic

2012-12-14 Thread Aravinda Prasad
makedumpfile security key filtering enhancement - Add Eppic language support (formerly known as SIAL) to specify rules to scrub data in a dumpfile. Eppic was previously part of crash source code repository. The following series of patches enhance the makedumpfile to provide a more powerful way to

[PATCH v3 1/7] Initialize and setup eppic

2012-12-14 Thread Aravinda Prasad
This patch contains routines which initialize eppic and register call back function which will be called whenever a new eppic macro is loaded using eppic_load() API. The registered call back function executes the eppic macro as soon as it is loaded. Signed-off-by: Aravinda Prasad --- Makefile

[PATCH v3 5/7] Implement apimember and apigetrtype call back functions

2012-12-14 Thread Aravinda Prasad
The patch includes functionality for apimember and apigetrtype eppic callback routines along with helper functions to fetch information related to the member of the structure/union Whenever a structure/union member is accessed inside the eppic macro, eppic will query makedumpfile through call back

Re: [PATCH] kexec-zImage-arm: add code to support --command-line along with --dtb

2012-12-14 Thread Sven Neumann
Hi, On Thu, 2012-12-13 at 14:35 +0100, Daniel Mack wrote: > If --dtb is called together with --command-line, we need to modify the > binary dtb buffer. Luckily, we have libfdt functions available, so this > is straight forward. > > Signed-off-by: Daniel Mack Tested-by: Sven Neumann Works fine