From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from buildserver.ru.mvista.com (unknown [85.21.88.6]) by ozlabs.org (Postfix) with ESMTP id 23F65DE425 for ; Sat, 2 Aug 2008 00:46:22 +1000 (EST) Date: Fri, 1 Aug 2008 18:46:20 +0400 From: Anton Vorontsov To: Kumar Gala Subject: Re: [RFC][PATCH 0/8] kexec/kdump support for ppc32 Message-ID: <20080801144620.GA4427@polina.dev.rtsoft.ru> References: <20080801141306.GA29127@polina.dev.rtsoft.ru> <26A28837-B944-4CA6-83B5-5466CF1EDBF3@kernel.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 In-Reply-To: <26A28837-B944-4CA6-83B5-5466CF1EDBF3@kernel.crashing.org> Cc: linuxppc-dev@ozlabs.org, Paul Mackerras Reply-To: avorontsov@ru.mvista.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Aug 01, 2008 at 09:21:02AM -0500, Kumar Gala wrote: > > On Aug 1, 2008, at 9:13 AM, Anton Vorontsov wrote: > >> Hi all, >> >> I refreshed some Dale Farnsworth's kexec/kdump patches[1] against >> the latest kernel, and here they are. >> >> There is a difference though. Dale's patches were using >> kmap_atomic_pfn() to map oldmem memory, while for this patches >> I took PPC64 approach to use ioremap(). This is done to be able >> to support kdump on !HIGHMEM kernels. >> >> Also, please take a special look into 8/8 patch, there is a hunk >> marked with "XXX:", which I don't quite understand for PPC64 case >> (this hunk also persist in the original Dale's patch, and w/o it >> the capturing kernel doesn't boot on ppc32). >> >> I'll try to refresh BookE support as soon as I'll find some BookE >> board. >> >> The patchset includes: >> >> - Kexec support >> >> [PATCH 1/8] powerpc: set up OF properties for ppc32 kexec >> [PATCH 2/8] powerpc: make default kexec/crash_kernel ops implicit >> [PATCH 3/8] powerpc: remove default kexec/crash_kernel ops >> assignments >> >> 2/8 and 3/8 patches are used to avoid adding lots of default ops >> to the board files. >> >> - Kdump support >> >> [PATCH 4/8] powerpc: add the ability for a classic ppc kernel to be >> loaded at 32M >> [PATCH 5/8] powerpc: allow to ioremap RAM addresses for kdump kernel >> on ppc32 >> [PATCH 6/8] powerpc: set up OF properties for ppc32 kdump >> [PATCH 7/8] powerpc: implement crash_setup_regs for ppc32 >> [PATCH 8/8] powerpc: last bits to support kdump on ppc32 >> >> [1] http://ozlabs.org/pipermail/linuxppc-dev/2007-November/046739.html > > What's the state of the kexec tools for ppc32? Current kexec-tools has split arch support, and ppc32 is officially broken. I use some old (20070330), patched kexec-tools with ppc32/ and ppc64/ merged into powerpc (alike to Linux). I hope one day I (or somebody else) will find time to cleanup or re-do the patches for the recent kexec-tools, and merge them after all. Though, I didn't look into the patches themselves yet, so I can't tell how much work is pending. -- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2