public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: "Friesen, Christopher" <cbf123@mail.usask.ca>
Cc: Michael Ellerman <michael@ellerman.id.au>,
	Paul Mackerras <paulus@samba.org>,
	"kexec@lists.infradead.org" <kexec@lists.infradead.org>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	Vivek Goyal <vgoyal@redhat.com>
Subject: Re: visible memory seems wrong in kexec crash dump kernel
Date: Wed, 31 Jul 2013 11:50:50 -0500	[thread overview]
Message-ID: <1375289450.30721.93@snotra> (raw)
In-Reply-To: <CFBB0F4944BCD94BAC0398D7DB81D705EAF91D@CAMPUSMB5.usask.ca> (from cbf123@mail.usask.ca on Wed Jul 31 11:40:05 2013)

On 07/31/2013 11:40:05 AM, Friesen, Christopher wrote:
> 
> From: Scott Wood [scottwood@freescale.com]
> Sent: Monday, July 29, 2013 5:10 PM
> To: Friesen, Christopher
> Cc: Michael Ellerman; kexec@lists.infradead.org; Paul Mackerras;  
> linuxppc-dev@lists.ozlabs.org; Vivek Goyal
> Subject: Re: visible memory seems wrong in kexec crash dump kernel
> 
> On 07/13/2013 01:30:50 AM, Chris Friesen wrote:
> > The upshot is that there seems to be a number of things that could  
> be
> > improved:
> >
> > 1) kexec should accept "/memory" and not just "/memory@"
> > 2) lmb_reserve() should really respect the crashkernel memory limit
> > 3) the freescale stuff really shouldn't assume it can map things
> > wherever it feels like
> 
> What "board-specific freescale code" are you referring to?
> 
> -Scott
> 
> 
> Sorry for the crappy quoting, I'm using a web outlook portal.
> 
> I've switched employers so I don't have access to the exact details  
> any more.  The system in question was a Kontron AM4150 which uses the  
> P5020.  As I recall, one of the Freescale drivers (I think it was the  
> buffer or queue manager that the network driver makes use of) was  
> attempting to call lmb_reserve() with a base address in the 4GB range  
> even though the recovery kernel was limited to 224MB of memory.

That's not "board specific" code, and it's not even mainline Linux  
code.  Unfortunately none of the datapath stuff is upstream, still.

> While I've got your attention, the other thing that I found was that  
> the "dpa" network driver didn't properly work in a kexec'd kernel  
> even when given lots of memory.  It would work for a little bit and  
> then hang.

I'm not particularly surprised by this.  It doesn't help that there's  
no way to do a device reset. :-(

Issues with Freescale SDK code should be reported on  
https://community.freescale.com/, to support@freescale.com, or to your  
FAE.

-Scott

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

      reply	other threads:[~2013-07-31 16:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-11 20:55 visible memory seems wrong in kexec crash dump kernel Chris Friesen
2013-07-11 21:22 ` Chris Friesen
2013-07-11 22:46   ` Chris Friesen
2013-07-12  1:21   ` Michael Ellerman
2013-07-12 21:08     ` Chris Friesen
2013-07-12 22:59       ` Chris Friesen
2013-07-13  6:30         ` Chris Friesen
2013-07-14  4:36           ` Michael Ellerman
2013-07-14  5:26             ` Benjamin Herrenschmidt
2013-07-14 23:08               ` Chris Friesen
2013-07-14 23:11                 ` Benjamin Herrenschmidt
2013-07-29 23:10           ` Scott Wood
2013-07-31 16:40             ` Friesen, Christopher
2013-07-31 16:50               ` Scott Wood [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1375289450.30721.93@snotra \
    --to=scottwood@freescale.com \
    --cc=cbf123@mail.usask.ca \
    --cc=kexec@lists.infradead.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=michael@ellerman.id.au \
    --cc=paulus@samba.org \
    --cc=vgoyal@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox