WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-devel] [PATCH] kexec: framework and i386 (Take XIV)

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] kexec: framework and i386 (Take XIV)
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 31 Aug 2006 16:43:02 +0900
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, Kazuo Moriwaka <moriwaka@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Zou, Nanhai" <nanhai.zou@xxxxxxxxx>, Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>, Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, Magnus Damm <magnus@xxxxxxxxxxxxx>, Mark Williamson <mark.williamson@xxxxxxxxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 31 Aug 2006 01:41:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060811074839.GA21317@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E5C678D85FF5AFtakebe_akio@xxxxxxxxxxxxxx> <12c36e8e9c573c900cd75f27b3d650d3@xxxxxxxxxxxx> <20060517024402.GA13874@xxxxxxxxxxxx> <20060517045322.GA24072@xxxxxxxxxxxx> <20060517095213.GA31686@xxxxxxxxxxxx> <805b0fdb70b2ca542d6f9f43c0936928@xxxxxxxxxxxx> <20060518033753.GB13670@xxxxxxxxxxxx> <20060525072017.GA25881@xxxxxxxxxxxx> <20060711033900.GA26632@xxxxxxxxxxxx> <20060811074839.GA21317@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: mutt-ng/devel-r804 (Debian)
Hi,

here is an update of the kexec/kdump patchset.

Summary:

* Up port to xen-unstable.hg-11296 (45f6ee334fcc)
  - kexec hypercall number fragment is now in xen-unstable
* Make kexec_page_to_pfn and friends need to be architecture specific
  - this abstraction is needed to support ia64
* Use kexec_page_to_pfn in machine_kexec_setup_load_arg()
  - this abstraction is needed to support ia64
* Rename do_kexec to do_kexec_op to make it consistent with other
  hypercalls
* Add ppc stubs
* Add ia64 support

Architectures:

x86_32: 

Seems to be working fine

x86_64:

Probably working fine, but I can't test this as dom0 refuses to boot for
me on xen-unstable-11388 (50aea0ec406b).  That is, even without the
kexec patches. I'm not sure what the problem is and I've devicided to
get these patches out rather and investigate later.

ia64:

This patchset also, for the first time, includes ia64 code.
Please note that this currently does _not_ work. I am actually
struggling to work out why, and would really appreaciate it
if someone could cast an eye over it.

One possible area of concern is that relocate_kernel wipes out TLB
entries. However many of the entries instated in
arch/ia64/xen/xenasm.S:ia64_new_rr7() are not wiped. In particular,
VHPT_ADDR, Shared info, and Map mapped_reg are not handled by
relocate_kernel(), and the handling of current seems to be different.

There are also problems with constants inside kexec_fake_sal_rendez.
However this function probably also suffers the same problems as
relocate_kernel. And it is easy not ro run kexec_fake_sal_rendez
by booting xen with maxcpus=1, thus avoiding calling
kexec_fake_sal_rendez, which is used in cpu shutdown.

ppc:

stubs only

Patches

   1. 51.1-kexec-generic-upstream.patch
      * Common code for all architectures,
        the basic plumbing for kexec/kdump

   2. 51.1.1-kexec-trigger_crash_dump.patch
      * xen-console trigger crash_dump
      * Depends on 1

   3. 51.2.1-kexec-x86-upstream.patch
      * Glue between 1, and 3 and 4.
      * Depends on 1

   4. 51.2.1.1-kexec-x86_32-upstream.patch
      * Kexec/kdump for x86_32
      * Depends on 3 (and 1)

   5. 51.2.31.2-kexec-x86_64-upstream.patch
      * Kexec/kdump for x86_64
      * Depends on 3 (and 1)

   6. 51.2.2-kexec-ia64-upstream.patch
      * Kexec/kdump for ia64
      * Depends 1

Discussion:

Email is always good. Also my partner in crime, Magnus Damm,
will be at Xen Summit.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/

Attachment: 51.1-kexec-generic-upstream.patch
Description: Text document

Attachment: 51.1.1-kexec-trigger_crash_dump.patch
Description: Text document

Attachment: 51.2.1-kexec-x86-upstream.patch
Description: Text document

Attachment: 51.2.1.1-kexec-x86_32-upstream.patch
Description: Text document

Attachment: 51.2.1.2-kexec-x86_64-upstream.patch
Description: Text document

Attachment: 51.2.2-kexec-ia64-upstream.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>