Introduce EFI_DIRECT flag. If it is set this means that Linux
Kernel has direct access to EFI infrastructure. If not then
kernel runs on EFI platform but it has not direct control
on EFI stuff. This functionality is used in Xen dom0.
Signed-off-by: Daniel Kiper
---
arch/x86/kernel/setup.c
Remove redundant set_bit(EFI_SYSTEM_TABLES, &efi.flags) call.
It is executed earlier in efi_systab_init().
Signed-off-by: Daniel Kiper
---
arch/x86/platform/efi/efi.c |2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c
index 7fc
+++
include/linux/efi.h | 13 +--
include/xen/interface/platform.h | 123 +++
8 files changed, 582 insertions(+), 24 deletions(-)
Daniel Kiper (5):
efi: Introduce EFI_DIRECT flag
xen
Beulich
Signed-off-by: Tang Liang
Signed-off-by: Daniel Kiper
---
include/xen/interface/platform.h | 123 ++
1 file changed, 123 insertions(+)
diff --git a/include/xen/interface/platform.h b/include/xen/interface/platform.h
index f1331e3..55deeb7 100644
--- a
Signed-off-by: Daniel Kiper
---
arch/x86/kernel/setup.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index f41f648..7a67f5d 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -924,11 +924,11
Put EFI machinery for Xen in place.
This patch is based on Jan Beulich and Tang Liang work.
v4 - suggestions/fixes:
- "just populate an efi_system_table_t object"
(suggested by Matt Fleming).
Signed-off-by: Jan Beulich
Signed-off-by: Tang Liang
Signed-off-by: Daniel Kiper
On Wed, Mar 26, 2014 at 01:57:23PM +, Matt Fleming wrote:
> On Wed, 26 Mar, at 02:48:45PM, Daniel Kiper wrote:
> >
> > On my machine this function crashes on Xen so that is why I have changed
> > condition. However, if you say that this issue could be solved in
&
On Wed, Mar 26, 2014 at 01:21:19PM +, Jan Beulich wrote:
> >>> On 25.03.14 at 21:57, wrote:
> > Export arch_tables variable. Xen init function calls efi_config_init()
> > which takes it as an argument.
> >
> > Additionally, put __initdata in place suggested by include/linux/init.h.
>
> Which i
On Wed, Mar 26, 2014 at 12:56:23PM +, Matt Fleming wrote:
> On Tue, 25 Mar, at 09:57:52PM, Daniel Kiper wrote:
> > Add efi_init_ops variable which allows us to replace
> > EFI init functions on Xen with its specific stuff.
> >
> > This patch is based on Jan
On Wed, Mar 26, 2014 at 01:39:42PM +, Jan Beulich wrote:
> >>> On 26.03.14 at 14:31, wrote:
> > On Wed, 26 Mar, at 01:22:49PM, Jan Beulich wrote:
> >> >>> On 26.03.14 at 14:00, wrote:
> >> >
> >> > This could do with a little bit more explanation. Why is it not
> >> > necessary to mark the EF
Export arch_tables variable. Xen init function calls efi_config_init()
which takes it as an argument.
Additionally, put __initdata in place suggested by include/linux/init.h.
Signed-off-by: Daniel Kiper
---
arch/x86/platform/efi/efi.c |2 +-
include/linux/efi.h |2 ++
2 files
+++
include/linux/efi.h | 10 ++
include/xen/interface/platform.h | 123 +++-
10 files changed, 633 insertions(+), 17 deletions(-)
Daniel Kiper (5):
efi: Add efi_init_ops variable
efi: Export arch_tables variable
x86: Call efi_memblock_x86_reserve_range
Add efi_init_ops variable which allows us to replace
EFI init functions on Xen with its specific stuff.
This patch is based on Jan Beulich and Tang Liang work.
Signed-off-by: Daniel Kiper
Signed-off-by: Tang Liang
---
arch/ia64/kernel/efi.c | 30 +-
arch/x86
Put EFI machinery for Xen in place.
This patch is based on Jan Beulich and Tang Liang work.
Signed-off-by: Daniel Kiper
Signed-off-by: Tang Liang
Signed-off-by: Jan Beulich
---
arch/x86/xen/enlighten.c | 10 ++
drivers/xen/Kconfig |3 +
drivers/xen/Makefile |1 +
drivers
Define EFI related stuff for Xen.
This patch is based on Jan Beulich and Tang Liang work.
Signed-off-by: Daniel Kiper
Signed-off-by: Tang Liang
Signed-off-by: Jan Beulich
---
include/xen/interface/platform.h | 123 +-
1 file changed, 122 insertions(+), 1
Call efi_memblock_x86_reserve_range() on native EFI platform only.
This is not needed and even it should not be called on platforms
which wraps EFI infrastructure like Xen.
Signed-off-by: Daniel Kiper
---
arch/x86/kernel/setup.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
On Wed, Nov 06, 2013 at 08:25:04PM -0500, Konrad Rzeszutek Wilk wrote:
> Bob Liu wrote:
> >
> >On 11/07/2013 04:37 AM, Boris Ostrovsky wrote:
> >> Currently balloon's initial value is set to max_pfn which includes
> >> non-RAM ranges such as MMIO hole. As result, initial memory target
> >> (specif
Hi,
Here is a short summary of our discussion. It looks
that we have two choices right now:
- chainloader,
- multiboot2 protocol.
chainloader solution could be implemented quite easily. Some code should be
added for command line parsing. However, all arguments for Xen itself and
modules must
or launch.
>
> --Richard
>
> On 10/22/13 9:51 AM, "Daniel Kiper" wrote:
>
> >On Tue, Oct 22, 2013 at 04:36:04PM +, Maliszewski, Richard L wrote:
> >> I may be off-base, but when I was wading through the grub2 code earlier
> >> this year, it looked to me l
On Mon, Oct 21, 2013 at 11:16:24PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> Mail is big, I think I got your essential points but I didn't read it whole.
> On 21.10.2013 14:57, Daniel Kiper wrote:
> > Hi,
> >
> > During work on multiboot2 pro
On Tue, Oct 22, 2013 at 10:54:44AM +0200, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> On 21.10.2013 23:16, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> > Mail is big, I think I got your essential points but I didn't read it whole.
> > On 21.10
On Tue, Oct 22, 2013 at 09:42:52AM -0400, Konrad Rzeszutek Wilk wrote:
> On Tue, Oct 22, 2013 at 10:59:33AM +0100, Jan Beulich wrote:
> > >>> On 22.10.13 at 11:45, Ian Campbell wrote:
> > > On Tue, 2013-10-22 at 10:31 +0100, Jan Beulich wrote:
> > >> >>> On 22.10.13 at 11:26, Ian Campbell wrote:
On Tue, Oct 22, 2013 at 04:36:04PM +, Maliszewski, Richard L wrote:
> I may be off-base, but when I was wading through the grub2 code earlier
> this year, it looked to me like it was going to refuse to launch anything
> via MB1 or MB2 if the current state was a secure boot launch.
Are you talk
On Tue, Oct 22, 2013 at 05:08:03PM +0100, Ian Campbell wrote:
> On Tue, 2013-10-22 at 18:01 +0200, Daniel Kiper wrote:
> > On Tue, Oct 22, 2013 at 03:42:42PM +, Woodhouse, David wrote:
> > > On Tue, 2013-10-22 at 16:32 +0100, Matthew Garrett wrote:
> > > >
>
On Tue, Oct 22, 2013 at 03:42:42PM +, Woodhouse, David wrote:
> On Tue, 2013-10-22 at 16:32 +0100, Matthew Garrett wrote:
> >
> > There are two problems with this:
> >
> > 1) The kernel will only boot if it's signed with a key in db, not a key
> > in MOK.
> > 2) grub will read the kernel, but t
On Mon, Oct 21, 2013 at 09:54:38AM -0400, Peter Jones wrote:
> On Mon, Oct 21, 2013 at 02:57:56PM +0200, Daniel Kiper wrote:
> > Hi,
> >
> > During work on multiboot2 protocol support for Xen it was discovered
> > that memory map passed via relevant tag could not represe
On Mon, Oct 21, 2013 at 03:37:21PM +0100, Jan Beulich wrote:
> >>> On 21.10.13 at 16:23, Konrad Rzeszutek Wilk
> >>> wrote:
> > On Mon, Oct 21, 2013 at 02:36:38PM +0100, Jan Beulich wrote:
> >> >>> On 21.10.13 at 14:57, Daniel Kiper wrote:
[...]
On Mon, Oct 21, 2013 at 02:36:38PM +0100, Jan Beulich wrote:
> >>> On 21.10.13 at 14:57, Daniel Kiper wrote:
[...]
> > Separate multiboot2efi module should be established. It should verify system
> > kernel and all loaded modules using shim on EFI platforms with enabled
Hi,
During work on multiboot2 protocol support for Xen it was discovered
that memory map passed via relevant tag could not represent wide range
of memory types available on EFI platforms. Additionally, GRUB2
implementation calls ExitBootServices() on them just before jumping
into loaded image. In
On Fri, Oct 11, 2013 at 03:15:38PM -0700, ebied...@xmission.com wrote:
> Daniel Kiper writes:
>
> > On Fri, Oct 11, 2013 at 03:08:43AM -0700, ebied...@xmission.com wrote:
> >> Daniel Kiper writes:
[...]
> > What is your opinion in that case?
>
> I can see doc
On Fri, Oct 11, 2013 at 03:08:43AM -0700, ebied...@xmission.com wrote:
> Daniel Kiper writes:
>
> > Hi,
> >
> > Could you explain why do you clear all registers just before jumping
> > into purgatory (please look into arch/x86/kernel/relocate_kernel_64.S
> >
Hi,
Could you explain why do you clear all registers just before jumping
into purgatory (please look into arch/x86/kernel/relocate_kernel_64.S
for more details)? There is no any single word about that. I do not
count comment which states what is going on. purgatory on entry does
not assume any val
On Mon, Jul 29, 2013 at 02:44:19PM -0700, Matt Wilson wrote:
> On Mon, Jul 29, 2013 at 07:15:43PM +0200, Daniel Kiper wrote:
> > Hi all,
> >
> > Here I am sending as attachments patches enabling kexec/kdump
> > support in Xen PV domU. Only x84_64 architecture is support
On Fri, Jul 19, 2013 at 01:58:05PM -0700, H. Peter Anvin wrote:
> On 07/19/2013 12:14 PM, Greg KH wrote:
> >>
> >>> The errors that the kexec tools seem to run into is finding the memory
> >>> to place the new kernel into, is that just an issue that PV guests
> >>> aren't given enough kernel memory
On Fri, Jul 19, 2013 at 08:12:43AM -0700, Greg KH wrote:
> On Fri, Jul 19, 2013 at 03:18:19PM +0200, Daniel Kiper wrote:
> > > support is "easy" after your patches go in, is that because Dom0 needs
> > > to support this, or is it something specific to only domU?
&g
On Fri, Jul 19, 2013 at 07:58:40AM -0700, Brandon Philips wrote:
> On Fri, Jul 19, 2013 at 6:18 AM, Daniel Kiper wrote:
> > - PV guests: there is no support for kexec at this time;
> > Once I wrote an implementatation for that type of guests
> > for one company
On Thu, Jul 18, 2013 at 07:06:03PM -0700, Greg KH wrote:
> Hi all,
>
> I was messing around with kexec and it seems to work just fine on KVM,
> but for Xen domU images, it doesn't work at all. Daniel, I saw some
> patches from you back in September 2012 for adding this support for
> Dom0, but they
On Mon, May 20, 2013 at 08:51:47AM -0700, Dan Magenheimer wrote:
> Hi Linux kernel folks and Xen folks --
>
> Effective July 5, I will be resigning from Oracle and "retiring"
> for a minimum of 12-18 months and probably/hopefully much longer.
> Between now and July 5, I will be tying up loose ends
On Fri, May 03, 2013 at 03:11:18PM +0100, Ian Campbell wrote:
> On Fri, 2013-05-03 at 14:47 +0100, Daniel Kiper wrote:
> > On Fri, May 03, 2013 at 02:21:24PM +0100, Ian Campbell wrote:
> > > On Fri, 2013-05-03 at 14:00 +0100, Daniel Kiper wrote:
> > > > On Fri, Ma
On Fri, May 03, 2013 at 02:21:24PM +0100, Ian Campbell wrote:
> On Fri, 2013-05-03 at 14:00 +0100, Daniel Kiper wrote:
> > On Fri, May 03, 2013 at 09:15:32AM +0100, Ian Campbell wrote:
> > > On Thu, 2013-05-02 at 19:04 +0100, Konrad Rzeszutek Wilk wrote:
> > > > On T
On Fri, May 03, 2013 at 09:15:32AM +0100, Ian Campbell wrote:
> On Thu, 2013-05-02 at 19:04 +0100, Konrad Rzeszutek Wilk wrote:
> > On Thu, May 02, 2013 at 12:34:32PM +0100, Stefano Stabellini wrote:
[...]
> > > The xapi guys, CC'ed, might have more insights on what exactly is.
>
> I think that u
On Tue, Apr 30, 2013 at 02:44:18PM +0100, Ian Campbell wrote:
> On Tue, 2013-04-30 at 13:59 +0100, Daniel Kiper wrote:
> > On Mon, Apr 29, 2013 at 03:44:09PM +0100, Ian Campbell wrote:
> > > On Mon, 2013-04-29 at 12:37 +0100, Daniel Kiper wrote:
> > >
> > > &
On Mon, Apr 29, 2013 at 03:44:09PM +0100, Ian Campbell wrote:
> On Mon, 2013-04-29 at 12:37 +0100, Daniel Kiper wrote:
>
> > This patch enforces on target limit statically defined in Linux Kernel
> > source and limit defined by hypervisor or host. This way the balloon
> > d
On Mon, Apr 29, 2013 at 03:35:11PM +0100, Ian Campbell wrote:
> On Mon, 2013-04-29 at 12:37 +0100, Daniel Kiper wrote:
> > Notify a host about a guest memory size limit.
> >
> > Idea of this patch was discussed with Ian Campbell and Ian Jackson.
> >
>
dom0
(suggested by Konrad Rzeszutek Wilk),
- improve commit comment
(suggested by David Vrabel).
Signed-off-by: Daniel Kiper
---
drivers/xen/balloon.c | 40 ++--
1 file changed, 38 insertions(+), 2 deletions(-)
diff --git a/drivers/xen/balloon.c b
Notify a host about a guest memory size limit.
Idea of this patch was discussed with Ian Campbell and Ian Jackson.
Signed-off-by: Daniel Kiper
---
drivers/xen/balloon.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/xen/balloon.c b/drivers/xen
On Thu, Mar 07, 2013 at 12:07:09PM +, David Vrabel wrote:
> On 07/03/13 11:28, Daniel Kiper wrote:
> > On Wed, Mar 06, 2013 at 05:52:28PM +, David Vrabel wrote:
> >
> >> If you set the target above d->max_pages you won't be able to populate
&g
On Wed, Mar 06, 2013 at 05:52:28PM +, David Vrabel wrote:
> On 06/03/13 16:47, Daniel Kiper wrote:
[...]
> >> I think reserve_additional_memory() should check the current resource
> >> map and the e820 map to find a large enough unused region. This can be
> >>
On Wed, Mar 06, 2013 at 11:05:03AM +, David Vrabel wrote:
> On 04/03/13 21:14, Daniel Kiper wrote:
> > This patch enforces on target limit statically defined in Linux Kernel
> > source and limit defined by hypervisor or host.
> >
> > Particularly this patch fixes bu
: reserve_additional_memory: add_memory() failed: -17
It does not allow balloon driver to execute infinite
loops when target exceeds limits in other cases too.
Signed-off-by: Daniel Kiper
---
drivers/xen/balloon.c | 47 ++-
1 file changed, 46
On Fri, Jan 11, 2013 at 03:22:35PM +, David Vrabel wrote:
> On 11/01/13 13:22, Daniel Kiper wrote:
> > On Thu, Jan 10, 2013 at 02:19:55PM +, David Vrabel wrote:
> >> On 04/01/13 17:01, Daniel Kiper wrote:
> >>> My .5 cents:
> >>> - W
On Mon, Jan 07, 2013 at 01:49:44PM +, Ian Campbell wrote:
> On Mon, 2013-01-07 at 12:34 +0000, Daniel Kiper wrote:
> > I think that new kexec hypercall function should mimics kexec syscall.
>
> We want to have an interface can be used by non-Linux domains (both dom0
> and do
On Thu, Jan 10, 2013 at 02:07:31PM +, David Vrabel wrote:
> On 04/01/13 15:15, Daniel Kiper wrote:
> > On Thu, Jan 03, 2013 at 09:34:55AM +, Jan Beulich wrote:
> >>>>> On 27.12.12 at 03:18, Daniel Kiper wrote:
> >>> Some implementations (e.g. Xen PVO
On Thu, Jan 10, 2013 at 02:19:55PM +, David Vrabel wrote:
> On 04/01/13 17:01, Daniel Kiper wrote:
> > On Fri, Jan 04, 2013 at 02:38:44PM +, David Vrabel wrote:
> >> On 04/01/13 14:22, Daniel Kiper wrote:
> >>> On Wed, Jan 02, 2013 at 11:26:43AM +, Andrew
On Mon, Jan 07, 2013 at 01:05:10PM +, Jan Beulich wrote:
> >>> On 07.01.13 at 13:52, Daniel Kiper wrote:
> > On Mon, Jan 07, 2013 at 09:48:20AM +, Jan Beulich wrote:
> >> >>> On 04.01.13 at 18:25, Daniel Kiper wrote:
> >> > Right, so wher
On Mon, Jan 07, 2013 at 09:48:20AM +, Jan Beulich wrote:
> >>> On 04.01.13 at 18:25, Daniel Kiper wrote:
> > Right, so where is virtual mapping of control page established?
> > I could not find relevant code in SLES kernel which does that.
>
> I
On Fri, Jan 04, 2013 at 02:11:46PM -0500, Konrad Rzeszutek Wilk wrote:
> On Fri, Jan 04, 2013 at 06:07:51PM +0100, Daniel Kiper wrote:
> > On Fri, Jan 04, 2013 at 02:41:17PM +, Jan Beulich wrote:
> > > >>> On 04.01.13 at 15:22, Daniel Kiper wrote:
> > >
On Fri, Jan 04, 2013 at 04:12:32PM +, Jan Beulich wrote:
> >>> On 04.01.13 at 16:15, Daniel Kiper wrote:
> > On Thu, Jan 03, 2013 at 09:34:55AM +, Jan Beulich wrote:
> >> >>> On 27.12.12 at 03:18, Daniel Kiper wrote:
> >> > Some implem
On Fri, Jan 04, 2013 at 02:41:17PM +, Jan Beulich wrote:
> >>> On 04.01.13 at 15:22, Daniel Kiper wrote:
> > On Wed, Jan 02, 2013 at 11:26:43AM +, Andrew Cooper wrote:
> >> /sbin/kexec can load the "Xen" crash kernel itself by issuing
> >>
On Fri, Jan 04, 2013 at 02:38:44PM +, David Vrabel wrote:
> On 04/01/13 14:22, Daniel Kiper wrote:
> > On Wed, Jan 02, 2013 at 11:26:43AM +, Andrew Cooper wrote:
> >> On 27/12/12 18:02, Eric W. Biederman wrote:
> >>> Andrew Cooper writes:
> >&
On Thu, Jan 03, 2013 at 09:34:55AM +, Jan Beulich wrote:
> >>> On 27.12.12 at 03:18, 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
On Wed, Jan 02, 2013 at 11:26:43AM +, Andrew Cooper wrote:
> On 27/12/12 18:02, Eric W. Biederman wrote:
> >Andrew Cooper writes:
> >
> >>On 27/12/2012 07:53, Eric W. Biederman wrote:
> >>>The syscall ABI still has the wrong semantics.
> >>>
> >>>Aka totally unmaintainable and umergeable.
> >>
On Fri, Dec 28, 2012 at 01:59:27PM +0100, Borislav Petkov wrote:
> On Thu, Dec 27, 2012 at 03:19:24PM -0800, Daniel Kiper wrote:
> > > Hmm... this code is being redone at the moment... this might conflict.
> >
> > Is this available somewhere? May I have a look at it?
>
On Thu, Dec 27, 2012 at 07:06:13PM -0800, ebied...@xmission.com wrote:
> Daniel Kiper writes:
>
> >> Daniel Kiper writes:
> >>
> >> > Some kexec/kdump implementations (e.g. Xen PVOPS) could not use default
> >> > Linux infrastructu
> Andrew Cooper writes:
>
> > On 27/12/2012 07:53, Eric W. Biederman wrote:
> >> The syscall ABI still has the wrong semantics.
> >>
> >> Aka totally unmaintainable and umergeable.
> >>
> >> The concept of domU support is also strange. What does domU support even
> >> mean, when the dom0 > suppo
> Daniel Kiper writes:
>
> > Some kexec/kdump implementations (e.g. Xen PVOPS) could not use default
> > Linux infrastructure and require some support from firmware and/or
> > hypervisor.
> > To cope with that problem kexec firmware infrastructure was introduced.
&g
> On 12/26/2012 06:18 PM, Daniel Kiper wrote:
> > Hi,
> >
> > This set of patches contains initial kexec/kdump implementation for Xen v3.
> > Currently only dom0 is supported, however, almost all infrustructure
> > required for domU support is ready.
> >
>
> On 12/26/2012 06:18 PM, Daniel Kiper wrote:
> > Add i386 kexec/kdump implementation.
> >
> > v2 - suggestions/fixes:
> > - allocate transition page table pages below 4 GiB
> > (suggested by Jan Beulich).
>
> Why?
Sadly all addresses are pas
> Hmm... this code is being redone at the moment... this might conflict.
Is this available somewhere? May I have a look at it?
Daniel
PS I am on holiday until 02/01/2013 and I could not
have access to my email box. Please be patient.
At worst case I will send reply when I will be
back a
(suggested by Konrad Rzeszutek Wilk).
Signed-off-by: Daniel Kiper
---
include/linux/kexec.h | 26 ++-
kernel/Makefile |1 +
kernel/kexec-firmware.c | 743 +++
kernel/kexec.c | 46 +++-
4 files changed, 809 insertions(+), 7
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
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
--- a
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
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
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
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
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
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
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
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
/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
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 crash
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
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.
> >>
> >
> > T
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
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
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
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
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
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
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
--- a
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
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
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 for
-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
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
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
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
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
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
201 - 300 of 323 matches
Mail list logo