[PATCH v3 10/11] drivers/xen: Export vmcoreinfo through sysfs

2012-12-26 Thread Daniel Kiper
Export vmcoreinfo through sysfs. Signed-off-by: Daniel Kiper --- drivers/xen/sys-hypervisor.c | 42 +- 1 files changed, 41 insertions(+), 1 deletions(-) diff --git a/drivers/xen/sys-hypervisor.c b/drivers/xen/sys-hypervisor.c index 96453f8..9dd290c

[PATCH v3 11/11] x86: Add Xen kexec control code size check to linker script

2012-12-26 Thread Daniel Kiper
Add Xen kexec control code size check to linker script. Signed-off-by: Daniel Kiper --- arch/x86/kernel/vmlinux.lds.S |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 22a1530..f18786a 100644

[PATCH v3 09/11] x86/xen/enlighten: Add init and crash kexec/kdump hooks

2012-12-26 Thread Daniel Kiper
Add init and crash kexec/kdump hooks. Signed-off-by: Daniel Kiper --- arch/x86/xen/enlighten.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 138e566..5025bba 100644 --- a/arch/x86/xen/enlighten.c

[PATCH v3 05/11] x86/xen: Register resources required by kexec-tools

2012-12-26 Thread Daniel Kiper
Register resources required by kexec-tools. v2 - suggestions/fixes: - change logging level (suggested by Konrad Rzeszutek Wilk). Signed-off-by: Daniel Kiper --- arch/x86/xen/kexec.c | 150 ++ 1 files changed, 150 insertions(+), 0

[PATCH v3 08/11] x86/xen: Add kexec/kdump Kconfig and makefile rules

2012-12-26 Thread Daniel Kiper
Add kexec/kdump Kconfig and makefile rules. Signed-off-by: Daniel Kiper --- arch/x86/Kconfig |3 +++ arch/x86/xen/Kconfig |1 + arch/x86/xen/Makefile |3 +++ 3 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 79795af

[PATCH v3 07/11] x86/xen: Add x86_64 kexec/kdump implementation

2012-12-26 Thread Daniel Kiper
Add x86_64 kexec/kdump implementation. Signed-off-by: Daniel Kiper --- arch/x86/xen/machine_kexec_64.c | 318 + arch/x86/xen/relocate_kernel_64.S | 309 +++ 2 files changed, 627 insertions(+), 0 deletions(-) create mode

[PATCH v3 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-12-26 Thread Daniel Kiper
Add i386 kexec/kdump implementation. v2 - suggestions/fixes: - allocate transition page table pages below 4 GiB (suggested by Jan Beulich). Signed-off-by: Daniel Kiper --- arch/x86/xen/machine_kexec_32.c | 226 ++ arch/x86/xen/relocate_kernel_32.S | 323

[PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2012-12-26 Thread Daniel Kiper
existing code. Signed-off-by: Daniel Kiper --- arch/x86/include/asm/kexec.h | 10 +++--- arch/x86/kernel/machine_kexec_64.c | 12 ++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/arch/x86/include/asm/kexec.h b/arch/x86/include/asm/kexec.h index 6080d26

[PATCH v3 03/11] xen: Introduce architecture independent data for kexec/kdump

2012-12-26 Thread Daniel Kiper
Introduce architecture independent constants and structures required by Xen kexec/kdump implementation. Signed-off-by: Daniel Kiper --- include/xen/interface/xen.h | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/include/xen/interface

[PATCH v3 04/11] x86/xen: Introduce architecture dependent data for kexec/kdump

2012-12-26 Thread Daniel Kiper
Introduce architecture dependent constants, structures and functions required by Xen kexec/kdump implementation. Signed-off-by: Daniel Kiper --- arch/x86/include/asm/xen/hypercall.h |6 +++ arch/x86/include/asm/xen/kexec.h | 79 ++ 2 files changed, 85

[PATCH v3 00/11] xen: Initial kexec/kdump implementation

2012-12-26 Thread Daniel Kiper
/Makefile |1 + kernel/kexec-firmware.c | 743 ++ kernel/kexec.c | 46 ++- 20 files changed, 2331 insertions(+), 18 deletions(-) Daniel Kiper (11): kexec: introduce kexec firmware support x86

[PATCH v3 00/11] xen: Initial kexec/kdump implementation

2012-12-26 Thread Daniel Kiper
/Makefile |1 + kernel/kexec-firmware.c | 743 ++ kernel/kexec.c | 46 ++- 20 files changed, 2331 insertions(+), 18 deletions(-) Daniel Kiper (11): kexec: introduce kexec firmware support x86

[PATCH v3 03/11] xen: Introduce architecture independent data for kexec/kdump

2012-12-26 Thread Daniel Kiper
Introduce architecture independent constants and structures required by Xen kexec/kdump implementation. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- include/xen/interface/xen.h | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) diff --git

[PATCH v3 04/11] x86/xen: Introduce architecture dependent data for kexec/kdump

2012-12-26 Thread Daniel Kiper
Introduce architecture dependent constants, structures and functions required by Xen kexec/kdump implementation. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/include/asm/xen/hypercall.h |6 +++ arch/x86/include/asm/xen/kexec.h | 79

[PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2012-12-26 Thread Daniel Kiper
existing code. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/include/asm/kexec.h | 10 +++--- arch/x86/kernel/machine_kexec_64.c | 12 ++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/arch/x86/include/asm/kexec.h b/arch/x86/include/asm

[PATCH v3 07/11] x86/xen: Add x86_64 kexec/kdump implementation

2012-12-26 Thread Daniel Kiper
Add x86_64 kexec/kdump implementation. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/machine_kexec_64.c | 318 + arch/x86/xen/relocate_kernel_64.S | 309 +++ 2 files changed, 627 insertions(+), 0

[PATCH v3 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-12-26 Thread Daniel Kiper
Add i386 kexec/kdump implementation. v2 - suggestions/fixes: - allocate transition page table pages below 4 GiB (suggested by Jan Beulich). Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/machine_kexec_32.c | 226 ++ arch/x86/xen

[PATCH v3 05/11] x86/xen: Register resources required by kexec-tools

2012-12-26 Thread Daniel Kiper
Register resources required by kexec-tools. v2 - suggestions/fixes: - change logging level (suggested by Konrad Rzeszutek Wilk). Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/kexec.c | 150 ++ 1 files changed, 150

[PATCH v3 08/11] x86/xen: Add kexec/kdump Kconfig and makefile rules

2012-12-26 Thread Daniel Kiper
Add kexec/kdump Kconfig and makefile rules. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/Kconfig |3 +++ arch/x86/xen/Kconfig |1 + arch/x86/xen/Makefile |3 +++ 3 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86

[PATCH v3 09/11] x86/xen/enlighten: Add init and crash kexec/kdump hooks

2012-12-26 Thread Daniel Kiper
Add init and crash kexec/kdump hooks. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/enlighten.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 138e566..5025bba 100644 --- a/arch

[PATCH v3 11/11] x86: Add Xen kexec control code size check to linker script

2012-12-26 Thread Daniel Kiper
Add Xen kexec control code size check to linker script. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/kernel/vmlinux.lds.S |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 22a1530

[PATCH v3 10/11] drivers/xen: Export vmcoreinfo through sysfs

2012-12-26 Thread Daniel Kiper
Export vmcoreinfo through sysfs. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- drivers/xen/sys-hypervisor.c | 42 +- 1 files changed, 41 insertions(+), 1 deletions(-) diff --git a/drivers/xen/sys-hypervisor.c b/drivers/xen/sys-hypervisor.c

[PATCH v3 01/11] kexec: introduce kexec firmware support

2012-12-26 Thread Daniel Kiper
(suggested by Konrad Rzeszutek Wilk). Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- include/linux/kexec.h | 26 ++- kernel/Makefile |1 + kernel/kexec-firmware.c | 743 +++ kernel/kexec.c | 46 +++- 4 files changed

Re: [Xen-devel] [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-23 Thread Daniel Kiper
On Fri, Nov 23, 2012 at 10:51:08AM +, Ian Campbell wrote: > On Fri, 2012-11-23 at 10:37 +0000, Daniel Kiper wrote: > > On Fri, Nov 23, 2012 at 09:53:37AM +, Jan Beulich wrote: > > > >>> On 23.11.12 at 02:56, Andrew Cooper wrote: > > > > The cr

Re: [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-23 Thread Daniel Kiper
On Fri, Nov 23, 2012 at 10:51:55AM +, Jan Beulich wrote: > >>> On 23.11.12 at 11:37, Daniel Kiper wrote: > > On Fri, Nov 23, 2012 at 09:53:37AM +, Jan Beulich wrote: > >> >>> On 23.11.12 at 02:56, Andrew Cooper wrote: > >> > On 23/11/2

Re: [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-23 Thread Daniel Kiper
On Fri, Nov 23, 2012 at 09:53:37AM +, Jan Beulich wrote: > >>> On 23.11.12 at 02:56, Andrew Cooper wrote: > > On 23/11/2012 01:38, H. Peter Anvin wrote: > >> I still don't really get why it can't be isolated from dom0, which would > > make more sense to me, even for a Xen crash. > >> > > > >

Re: [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-23 Thread Daniel Kiper
On Thu, Nov 22, 2012 at 04:15:48AM -0800, ebied...@xmission.com wrote: > Daniel Kiper writes: > > > On Tue, Nov 20, 2012 at 08:40:39AM -0800, ebied...@xmission.com wrote: > >> Daniel Kiper writes: > >> > >> > Some kexec/kdump implementati

Re: [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-23 Thread Daniel Kiper
On Thu, Nov 22, 2012 at 04:15:48AM -0800, ebied...@xmission.com wrote: Daniel Kiper daniel.ki...@oracle.com writes: On Tue, Nov 20, 2012 at 08:40:39AM -0800, ebied...@xmission.com wrote: Daniel Kiper daniel.ki...@oracle.com writes: Some kexec/kdump implementations (e.g. Xen PVOPS) could

Re: [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-23 Thread Daniel Kiper
On Fri, Nov 23, 2012 at 09:53:37AM +, Jan Beulich wrote: On 23.11.12 at 02:56, Andrew Cooper andrew.coop...@citrix.com wrote: On 23/11/2012 01:38, H. Peter Anvin wrote: I still don't really get why it can't be isolated from dom0, which would make more sense to me, even for a Xen crash.

Re: [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-23 Thread Daniel Kiper
On Fri, Nov 23, 2012 at 10:51:55AM +, Jan Beulich wrote: On 23.11.12 at 11:37, Daniel Kiper daniel.ki...@oracle.com wrote: On Fri, Nov 23, 2012 at 09:53:37AM +, Jan Beulich wrote: On 23.11.12 at 02:56, Andrew Cooper andrew.coop...@citrix.com wrote: On 23/11/2012 01:38, H. Peter

Re: [Xen-devel] [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-23 Thread Daniel Kiper
On Fri, Nov 23, 2012 at 10:51:08AM +, Ian Campbell wrote: On Fri, 2012-11-23 at 10:37 +, Daniel Kiper wrote: On Fri, Nov 23, 2012 at 09:53:37AM +, Jan Beulich wrote: On 23.11.12 at 02:56, Andrew Cooper andrew.coop...@citrix.com wrote: The crash region (as specified

Re: [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-21 Thread Daniel Kiper
On Tue, Nov 20, 2012 at 08:40:39AM -0800, ebied...@xmission.com wrote: > Daniel Kiper writes: > > > Some kexec/kdump implementations (e.g. Xen PVOPS) could not use default > > functions or require some changes in behavior of kexec/kdump generic code. > > To cope with that

Re: [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-21 Thread Daniel Kiper
On Tue, Nov 20, 2012 at 08:40:39AM -0800, ebied...@xmission.com wrote: Daniel Kiper daniel.ki...@oracle.com writes: Some kexec/kdump implementations (e.g. Xen PVOPS) could not use default functions or require some changes in behavior of kexec/kdump generic code. To cope with that problem

[PATCH v2 03/11] xen: Introduce architecture independent data for kexec/kdump

2012-11-20 Thread Daniel Kiper
Introduce architecture independent constants and structures required by Xen kexec/kdump implementation. Signed-off-by: Daniel Kiper --- include/xen/interface/xen.h | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/include/xen/interface

[PATCH v2 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-11-20 Thread Daniel Kiper
Add i386 kexec/kdump implementation. v2 - suggestions/fixes: - allocate transition page table pages below 4 GiB (suggested by Jan Beulich). Signed-off-by: Daniel Kiper --- arch/x86/xen/machine_kexec_32.c | 247 arch/x86/xen/relocate_kernel_32.S | 323

[PATCH v2 04/11] x86/xen: Introduce architecture dependent data for kexec/kdump

2012-11-20 Thread Daniel Kiper
Introduce architecture dependent constants, structures and functions required by Xen kexec/kdump implementation. Signed-off-by: Daniel Kiper --- arch/x86/include/asm/xen/hypercall.h |6 +++ arch/x86/include/asm/xen/kexec.h | 83 ++ 2 files changed, 89

[PATCH v2 05/11] x86/xen: Register resources required by kexec-tools

2012-11-20 Thread Daniel Kiper
Register resources required by kexec-tools. v2 - suggestions/fixes: - change logging level (suggested by Konrad Rzeszutek Wilk). Signed-off-by: Daniel Kiper --- arch/x86/xen/kexec.c | 150 ++ 1 files changed, 150 insertions(+), 0

[PATCH v2 11/11] x86: Add Xen kexec control code size check to linker script

2012-11-20 Thread Daniel Kiper
Add Xen kexec control code size check to linker script. Signed-off-by: Daniel Kiper --- arch/x86/kernel/vmlinux.lds.S |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 22a1530..f18786a 100644

[PATCH v2 09/11] x86/xen/enlighten: Add init and crash kexec/kdump hooks

2012-11-20 Thread Daniel Kiper
Add init and crash kexec/kdump hooks. Signed-off-by: Daniel Kiper --- arch/x86/xen/enlighten.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 586d838..e5b4d0d 100644 --- a/arch/x86/xen/enlighten.c

[PATCH v2 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2012-11-20 Thread Daniel Kiper
existing code. Signed-off-by: Daniel Kiper --- arch/x86/include/asm/kexec.h | 10 +++--- arch/x86/kernel/machine_kexec_64.c | 12 ++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/arch/x86/include/asm/kexec.h b/arch/x86/include/asm/kexec.h index 317ff17

[PATCH v2 00/11] xen: Initial kexec/kdump implementation

2012-11-20 Thread Daniel Kiper
insertions(+), 43 deletions(-) Daniel Kiper (11): kexec: introduce kexec_ops struct x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE xen: Introduce architecture independent data for kexec/kdump x86/xen: Introduce architecture dependent data

[PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-20 Thread Daniel Kiper
-by: Daniel Kiper --- include/linux/kexec.h | 26 ++ kernel/kexec.c| 131 + 2 files changed, 125 insertions(+), 32 deletions(-) diff --git a/include/linux/kexec.h b/include/linux/kexec.h index d0b8458..c8d0b35 100644 --- a/include

[PATCH v2 08/11] x86/xen: Add kexec/kdump makefile rules

2012-11-20 Thread Daniel Kiper
Add kexec/kdump makefile rules. Signed-off-by: Daniel Kiper --- arch/x86/xen/Makefile |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile index 96ab2c0..7a5db44 100644 --- a/arch/x86/xen/Makefile +++ b/arch/x86/xen/Makefile

[PATCH v2 07/11] x86/xen: Add x86_64 kexec/kdump implementation

2012-11-20 Thread Daniel Kiper
Add x86_64 kexec/kdump implementation. Signed-off-by: Daniel Kiper --- arch/x86/xen/machine_kexec_64.c | 302 arch/x86/xen/relocate_kernel_64.S | 309 + 2 files changed, 611 insertions(+), 0 deletions(-) create mode

[PATCH v2 10/11] drivers/xen: Export vmcoreinfo through sysfs

2012-11-20 Thread Daniel Kiper
Export vmcoreinfo through sysfs. Signed-off-by: Daniel Kiper --- drivers/xen/sys-hypervisor.c | 42 +- 1 files changed, 41 insertions(+), 1 deletions(-) diff --git a/drivers/xen/sys-hypervisor.c b/drivers/xen/sys-hypervisor.c index 96453f8..6edc289

[PATCH v2 10/11] drivers/xen: Export vmcoreinfo through sysfs

2012-11-20 Thread Daniel Kiper
Export vmcoreinfo through sysfs. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- drivers/xen/sys-hypervisor.c | 42 +- 1 files changed, 41 insertions(+), 1 deletions(-) diff --git a/drivers/xen/sys-hypervisor.c b/drivers/xen/sys-hypervisor.c

[PATCH v2 07/11] x86/xen: Add x86_64 kexec/kdump implementation

2012-11-20 Thread Daniel Kiper
Add x86_64 kexec/kdump implementation. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/machine_kexec_64.c | 302 arch/x86/xen/relocate_kernel_64.S | 309 + 2 files changed, 611 insertions(+), 0

[PATCH v2 08/11] x86/xen: Add kexec/kdump makefile rules

2012-11-20 Thread Daniel Kiper
Add kexec/kdump makefile rules. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/Makefile |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile index 96ab2c0..7a5db44 100644 --- a/arch/x86/xen/Makefile +++ b

[PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-20 Thread Daniel Kiper
-by: Daniel Kiper daniel.ki...@oracle.com --- include/linux/kexec.h | 26 ++ kernel/kexec.c| 131 + 2 files changed, 125 insertions(+), 32 deletions(-) diff --git a/include/linux/kexec.h b/include/linux/kexec.h index d0b8458..c8d0b35

[PATCH v2 00/11] xen: Initial kexec/kdump implementation

2012-11-20 Thread Daniel Kiper
insertions(+), 43 deletions(-) Daniel Kiper (11): kexec: introduce kexec_ops struct x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE xen: Introduce architecture independent data for kexec/kdump x86/xen: Introduce architecture dependent data

[PATCH v2 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2012-11-20 Thread Daniel Kiper
existing code. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/include/asm/kexec.h | 10 +++--- arch/x86/kernel/machine_kexec_64.c | 12 ++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/arch/x86/include/asm/kexec.h b/arch/x86/include/asm

[PATCH v2 09/11] x86/xen/enlighten: Add init and crash kexec/kdump hooks

2012-11-20 Thread Daniel Kiper
Add init and crash kexec/kdump hooks. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/enlighten.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 586d838..e5b4d0d 100644 --- a/arch

[PATCH v2 11/11] x86: Add Xen kexec control code size check to linker script

2012-11-20 Thread Daniel Kiper
Add Xen kexec control code size check to linker script. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/kernel/vmlinux.lds.S |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 22a1530

[PATCH v2 05/11] x86/xen: Register resources required by kexec-tools

2012-11-20 Thread Daniel Kiper
Register resources required by kexec-tools. v2 - suggestions/fixes: - change logging level (suggested by Konrad Rzeszutek Wilk). Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/kexec.c | 150 ++ 1 files changed, 150

[PATCH v2 04/11] x86/xen: Introduce architecture dependent data for kexec/kdump

2012-11-20 Thread Daniel Kiper
Introduce architecture dependent constants, structures and functions required by Xen kexec/kdump implementation. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/include/asm/xen/hypercall.h |6 +++ arch/x86/include/asm/xen/kexec.h | 83

[PATCH v2 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-11-20 Thread Daniel Kiper
Add i386 kexec/kdump implementation. v2 - suggestions/fixes: - allocate transition page table pages below 4 GiB (suggested by Jan Beulich). Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/machine_kexec_32.c | 247 arch/x86/xen

[PATCH v2 03/11] xen: Introduce architecture independent data for kexec/kdump

2012-11-20 Thread Daniel Kiper
Introduce architecture independent constants and structures required by Xen kexec/kdump implementation. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- include/xen/interface/xen.h | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) diff --git

Re: [Xen-devel] [PATCH 01/11] kexec: introduce kexec_ops struct

2012-10-08 Thread Daniel Kiper
Hi, > On Mon, 2012-10-01 at 12:36 +0100, Daniel Kiper wrote: > > On Fri, Sep 28, 2012 at 08:49:16AM +0100, Jan Beulich wrote: > > > >>> On 27.09.12 at 20:06, Daniel Kiper wrote: > > > > Some kexec/kdump implementations (e.g. Xen PVOPS) on different archs

Re: [Xen-devel] [PATCH 01/11] kexec: introduce kexec_ops struct

2012-10-08 Thread Daniel Kiper
Hi, On Mon, 2012-10-01 at 12:36 +0100, Daniel Kiper wrote: On Fri, Sep 28, 2012 at 08:49:16AM +0100, Jan Beulich wrote: On 27.09.12 at 20:06, Daniel Kiper daniel.ki...@oracle.com wrote: Some kexec/kdump implementations (e.g. Xen PVOPS) on different archs could not use default

Re: [PATCH 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-10-01 Thread Daniel Kiper
On Mon, Oct 01, 2012 at 02:55:01PM +0100, Jan Beulich wrote: > >>> On 01.10.12 at 14:52, Daniel Kiper wrote: > > On Fri, Sep 28, 2012 at 09:11:47AM +0100, Jan Beulich wrote: > >> Finally, as noticed in an earlier patch already, you appear to > >> re-introduc

Re: [PATCH 01/11] kexec: introduce kexec_ops struct

2012-10-01 Thread Daniel Kiper
On Fri, Sep 28, 2012 at 12:07:42PM -0400, Konrad Rzeszutek Wilk wrote: > On Thu, Sep 27, 2012 at 08:06:28PM +0200, Daniel Kiper wrote: > > Some kexec/kdump implementations (e.g. Xen PVOPS) on different archs could > > not use default functions or require some changes in behavior

Re: [PATCH 03/11] xen: Introduce architecture independent data for kexec/kdump

2012-10-01 Thread Daniel Kiper
On Fri, Sep 28, 2012 at 12:10:17PM -0400, Konrad Rzeszutek Wilk wrote: > On Thu, Sep 27, 2012 at 08:06:30PM +0200, Daniel Kiper wrote: > > Introduce architecture independent constants and structures > > Don't you mean 'dependent constants'? Right. > > required by Xen kexec

Re: [PATCH 05/11] x86/xen: Register resources required by kexec-tools

2012-10-01 Thread Daniel Kiper
On Mon, Oct 01, 2012 at 10:40:01AM +0100, Jan Beulich wrote: > >>> On 28.09.12 at 18:21, Konrad Rzeszutek Wilk > >>> wrote: > > On Thu, Sep 27, 2012 at 08:06:32PM +0200, Daniel Kiper wrote: > >> + for (i = 0; i < cpus; ++i) { > > >

Re: [PATCH 05/11] x86/xen: Register resources required by kexec-tools

2012-10-01 Thread Daniel Kiper
On Fri, Sep 28, 2012 at 12:21:35PM -0400, Konrad Rzeszutek Wilk wrote: > On Thu, Sep 27, 2012 at 08:06:32PM +0200, Daniel Kiper wrote: > > Register resources required by kexec-tools. > > > > Signed-off-by: Daniel Kiper > > --- >

Re: [PATCH 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-10-01 Thread Daniel Kiper
On Fri, Sep 28, 2012 at 12:39:44PM -0400, Konrad Rzeszutek Wilk wrote: > On Thu, Sep 27, 2012 at 08:06:33PM +0200, Daniel Kiper wrote: > > Add i386 kexec/kdump implementation. > > > > Signed-off-by: Daniel Kiper > > --- > > arch/x8

Re: [PATCH 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2012-10-01 Thread Daniel Kiper
On Fri, Sep 28, 2012 at 08:56:50AM +0100, Jan Beulich wrote: > >>> On 27.09.12 at 20:06, Daniel Kiper wrote: > > Some implementations (e.g. Xen PVOPS) could not use part of identity page > > table to construct transition page table. It means that they require > > se

Re: [PATCH 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-10-01 Thread Daniel Kiper
On Fri, Sep 28, 2012 at 09:11:47AM +0100, Jan Beulich wrote: > >>> On 27.09.12 at 20:06, Daniel Kiper wrote: > > Add i386 kexec/kdump implementation. > > So this as well as the subsequent patch introduces quite a bit of > duplicate code. The old 2.6.18 kernel had

Re: [PATCH 01/11] kexec: introduce kexec_ops struct

2012-10-01 Thread Daniel Kiper
On Fri, Sep 28, 2012 at 08:49:16AM +0100, Jan Beulich wrote: > >>> On 27.09.12 at 20:06, Daniel Kiper wrote: > > Some kexec/kdump implementations (e.g. Xen PVOPS) on different archs could > > not use default functions or require some changes in behavior of kexec/kdump &

Re: [PATCH 01/11] kexec: introduce kexec_ops struct

2012-10-01 Thread Daniel Kiper
On Fri, Sep 28, 2012 at 08:49:16AM +0100, Jan Beulich wrote: On 27.09.12 at 20:06, Daniel Kiper daniel.ki...@oracle.com wrote: Some kexec/kdump implementations (e.g. Xen PVOPS) on different archs could not use default functions or require some changes in behavior of kexec/kdump generic

Re: [PATCH 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-10-01 Thread Daniel Kiper
On Fri, Sep 28, 2012 at 09:11:47AM +0100, Jan Beulich wrote: On 27.09.12 at 20:06, Daniel Kiper daniel.ki...@oracle.com wrote: Add i386 kexec/kdump implementation. So this as well as the subsequent patch introduces quite a bit of duplicate code. The old 2.6.18 kernel had an initial pair

Re: [PATCH 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2012-10-01 Thread Daniel Kiper
On Fri, Sep 28, 2012 at 08:56:50AM +0100, Jan Beulich wrote: On 27.09.12 at 20:06, Daniel Kiper daniel.ki...@oracle.com wrote: Some implementations (e.g. Xen PVOPS) could not use part of identity page table to construct transition page table. It means that they require separate PUDs

Re: [PATCH 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-10-01 Thread Daniel Kiper
On Fri, Sep 28, 2012 at 12:39:44PM -0400, Konrad Rzeszutek Wilk wrote: On Thu, Sep 27, 2012 at 08:06:33PM +0200, Daniel Kiper wrote: Add i386 kexec/kdump implementation. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/machine_kexec_32.c | 245

Re: [PATCH 05/11] x86/xen: Register resources required by kexec-tools

2012-10-01 Thread Daniel Kiper
On Fri, Sep 28, 2012 at 12:21:35PM -0400, Konrad Rzeszutek Wilk wrote: On Thu, Sep 27, 2012 at 08:06:32PM +0200, Daniel Kiper wrote: Register resources required by kexec-tools. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/kexec.c | 150

Re: [PATCH 05/11] x86/xen: Register resources required by kexec-tools

2012-10-01 Thread Daniel Kiper
On Mon, Oct 01, 2012 at 10:40:01AM +0100, Jan Beulich wrote: On 28.09.12 at 18:21, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Thu, Sep 27, 2012 at 08:06:32PM +0200, Daniel Kiper wrote: + for (i = 0; i cpus; ++i) { Any specific reason for using '++i' instead of 'i

Re: [PATCH 03/11] xen: Introduce architecture independent data for kexec/kdump

2012-10-01 Thread Daniel Kiper
On Fri, Sep 28, 2012 at 12:10:17PM -0400, Konrad Rzeszutek Wilk wrote: On Thu, Sep 27, 2012 at 08:06:30PM +0200, Daniel Kiper wrote: Introduce architecture independent constants and structures Don't you mean 'dependent constants'? Right. required by Xen kexec/kdump implementation

Re: [PATCH 01/11] kexec: introduce kexec_ops struct

2012-10-01 Thread Daniel Kiper
On Fri, Sep 28, 2012 at 12:07:42PM -0400, Konrad Rzeszutek Wilk wrote: On Thu, Sep 27, 2012 at 08:06:28PM +0200, Daniel Kiper wrote: Some kexec/kdump implementations (e.g. Xen PVOPS) on different archs could not use default functions or require some changes in behavior of kexec/kdump

Re: [PATCH 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-10-01 Thread Daniel Kiper
On Mon, Oct 01, 2012 at 02:55:01PM +0100, Jan Beulich wrote: On 01.10.12 at 14:52, Daniel Kiper daniel.ki...@oracle.com wrote: On Fri, Sep 28, 2012 at 09:11:47AM +0100, Jan Beulich wrote: Finally, as noticed in an earlier patch already, you appear to re-introduce stuff long dropped from

[PATCH 03/11] xen: Introduce architecture independent data for kexec/kdump

2012-09-27 Thread Daniel Kiper
Introduce architecture independent constants and structures required by Xen kexec/kdump implementation. Signed-off-by: Daniel Kiper --- include/xen/interface/xen.h | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/include/xen/interface

[PATCH 00/11] xen: Initial kexec/kdump implementation

2012-09-27 Thread Daniel Kiper
drivers/xen/sys-hypervisor.c | 42 +- include/linux/kexec.h| 18 ++ include/xen/interface/xen.h | 33 kernel/kexec.c | 125 ++ 16 files changed, 1636 insertions(+), 43 deletions(-) Daniel Kiper (11): kexec

[PATCH 01/11] kexec: introduce kexec_ops struct

2012-09-27 Thread Daniel Kiper
functionality of kexec/kdump generic code. Default behavior of kexec/kdump generic code is not changed. Signed-off-by: Daniel Kiper --- include/linux/kexec.h | 18 +++ kernel/kexec.c| 125 - 2 files changed, 111 insertions(+), 32

[PATCH 09/11] x86/xen/enlighten: Add init and crash kexec/kdump hooks

2012-09-27 Thread Daniel Kiper
Add init and crash kexec/kdump hooks. Signed-off-by: Daniel Kiper --- arch/x86/xen/enlighten.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 1fbe75a..5043d77 100644 --- a/arch/x86/xen/enlighten.c

[PATCH 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-09-27 Thread Daniel Kiper
Add i386 kexec/kdump implementation. Signed-off-by: Daniel Kiper --- arch/x86/xen/machine_kexec_32.c | 245 arch/x86/xen/relocate_kernel_32.S | 323 + 2 files changed, 568 insertions(+), 0 deletions(-) create mode 100644 arch

[PATCH 08/11] x86/xen: Add kexec/kdump makefile rules

2012-09-27 Thread Daniel Kiper
Add kexec/kdump makefile rules. Signed-off-by: Daniel Kiper --- arch/x86/xen/Makefile |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile index 96ab2c0..7a5db44 100644 --- a/arch/x86/xen/Makefile +++ b/arch/x86/xen/Makefile

[PATCH 07/11] x86/xen: Add x86_64 kexec/kdump implementation

2012-09-27 Thread Daniel Kiper
Add x86_64 kexec/kdump implementation. Signed-off-by: Daniel Kiper --- arch/x86/xen/machine_kexec_64.c | 301 arch/x86/xen/relocate_kernel_64.S | 309 + 2 files changed, 610 insertions(+), 0 deletions(-) create mode

[PATCH 10/11] drivers/xen: Export vmcoreinfo through sysfs

2012-09-27 Thread Daniel Kiper
Export vmcoreinfo through sysfs. Signed-off-by: Daniel Kiper --- drivers/xen/sys-hypervisor.c | 42 +- 1 files changed, 41 insertions(+), 1 deletions(-) diff --git a/drivers/xen/sys-hypervisor.c b/drivers/xen/sys-hypervisor.c index fdb6d22..0111ad0

[PATCH 04/11] x86/xen: Introduce architecture dependent data for kexec/kdump

2012-09-27 Thread Daniel Kiper
Introduce architecture dependent constants, structures and functions required by Xen kexec/kdump implementation. Signed-off-by: Daniel Kiper --- arch/x86/include/asm/xen/hypercall.h |6 +++ arch/x86/include/asm/xen/kexec.h | 83 ++ 2 files changed, 89

[PATCH 11/11] x86: Add Xen kexec control code size check to linker script

2012-09-27 Thread Daniel Kiper
Add Xen kexec control code size check to linker script. Signed-off-by: Daniel Kiper --- arch/x86/kernel/vmlinux.lds.S |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 22a1530..f18786a 100644

[PATCH 05/11] x86/xen: Register resources required by kexec-tools

2012-09-27 Thread Daniel Kiper
Register resources required by kexec-tools. Signed-off-by: Daniel Kiper --- arch/x86/xen/kexec.c | 150 ++ 1 files changed, 150 insertions(+), 0 deletions(-) create mode 100644 arch/x86/xen/kexec.c diff --git a/arch/x86/xen/kexec.c b/arch/x86

[PATCH 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2012-09-27 Thread Daniel Kiper
existing code. Signed-off-by: Daniel Kiper --- arch/x86/include/asm/kexec.h | 10 +++--- arch/x86/kernel/machine_kexec_64.c | 12 ++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/arch/x86/include/asm/kexec.h b/arch/x86/include/asm/kexec.h index 317ff17

[PATCH 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2012-09-27 Thread Daniel Kiper
existing code. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/include/asm/kexec.h | 10 +++--- arch/x86/kernel/machine_kexec_64.c | 12 ++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/arch/x86/include/asm/kexec.h b/arch/x86/include/asm

[PATCH 05/11] x86/xen: Register resources required by kexec-tools

2012-09-27 Thread Daniel Kiper
Register resources required by kexec-tools. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/kexec.c | 150 ++ 1 files changed, 150 insertions(+), 0 deletions(-) create mode 100644 arch/x86/xen/kexec.c diff --git a/arch/x86

[PATCH 11/11] x86: Add Xen kexec control code size check to linker script

2012-09-27 Thread Daniel Kiper
Add Xen kexec control code size check to linker script. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/kernel/vmlinux.lds.S |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 22a1530

[PATCH 04/11] x86/xen: Introduce architecture dependent data for kexec/kdump

2012-09-27 Thread Daniel Kiper
Introduce architecture dependent constants, structures and functions required by Xen kexec/kdump implementation. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/include/asm/xen/hypercall.h |6 +++ arch/x86/include/asm/xen/kexec.h | 83

[PATCH 07/11] x86/xen: Add x86_64 kexec/kdump implementation

2012-09-27 Thread Daniel Kiper
Add x86_64 kexec/kdump implementation. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/machine_kexec_64.c | 301 arch/x86/xen/relocate_kernel_64.S | 309 + 2 files changed, 610 insertions(+), 0

[PATCH 10/11] drivers/xen: Export vmcoreinfo through sysfs

2012-09-27 Thread Daniel Kiper
Export vmcoreinfo through sysfs. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- drivers/xen/sys-hypervisor.c | 42 +- 1 files changed, 41 insertions(+), 1 deletions(-) diff --git a/drivers/xen/sys-hypervisor.c b/drivers/xen/sys-hypervisor.c

[PATCH 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-09-27 Thread Daniel Kiper
Add i386 kexec/kdump implementation. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/machine_kexec_32.c | 245 arch/x86/xen/relocate_kernel_32.S | 323 + 2 files changed, 568 insertions(+), 0 deletions

[PATCH 08/11] x86/xen: Add kexec/kdump makefile rules

2012-09-27 Thread Daniel Kiper
Add kexec/kdump makefile rules. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/Makefile |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile index 96ab2c0..7a5db44 100644 --- a/arch/x86/xen/Makefile +++ b

[PATCH 09/11] x86/xen/enlighten: Add init and crash kexec/kdump hooks

2012-09-27 Thread Daniel Kiper
Add init and crash kexec/kdump hooks. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- arch/x86/xen/enlighten.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 1fbe75a..5043d77 100644 --- a/arch

[PATCH 01/11] kexec: introduce kexec_ops struct

2012-09-27 Thread Daniel Kiper
functionality of kexec/kdump generic code. Default behavior of kexec/kdump generic code is not changed. Signed-off-by: Daniel Kiper daniel.ki...@oracle.com --- include/linux/kexec.h | 18 +++ kernel/kexec.c| 125 - 2 files changed, 111

[PATCH 00/11] xen: Initial kexec/kdump implementation

2012-09-27 Thread Daniel Kiper
drivers/xen/sys-hypervisor.c | 42 +- include/linux/kexec.h| 18 ++ include/xen/interface/xen.h | 33 kernel/kexec.c | 125 ++ 16 files changed, 1636 insertions(+), 43 deletions(-) Daniel Kiper (11): kexec

<    1   2   3   4   5   6   7   >