linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Dale Farnsworth <dale@farnsworth.org>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 03/10] powerpc: Add kexec support for PPC_85xx platforms
Date: Sat, 15 Dec 2007 17:16:25 +1100	[thread overview]
Message-ID: <1197699385.6696.43.camel@pasglop> (raw)
In-Reply-To: <20071122154607.GA26447@xyzzy.farnsworth.org>


> index 8b642ab..db0e749 100644
> --- a/arch/powerpc/kernel/misc_32.S
> +++ b/arch/powerpc/kernel/misc_32.S
> @@ -816,6 +816,75 @@ relocate_new_kernel:
>  	/* r4 = reboot_code_buffer */
>  	/* r5 = start_address      */
>  
> +#ifdef CONFIG_E500
> +	/*
> +	 * Since we can't turn off the MMU, we must create an identity
> +	 * map for kernel low memory.  We start by invalidating the
> +	 * TLB entries we don't need.
> +	 *
> +	 * First, invalidate the TLB0 entries
> +	 */
> +	li	r6, 0x04
> +	tlbivax	0, r6
> +#ifdef CONFIG_SMP
> +	tlbsync
> +#endif
> +	msync
> +

This is really E500 specific or should it be CONFIG_FSL_BOOKE ?

Ben.

  parent reply	other threads:[~2007-12-15  6:16 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <foo@xyzzy.farnsworth.org>
2007-11-22 15:42 ` [PATCH 00/10] powerpc: Add kexec/kdump support for ppc32 Dale Farnsworth
2007-11-22 15:45   ` [PATCH 01/10] powerpc: Set up OF properties for ppc32 kexec Dale Farnsworth
2007-11-22 22:17     ` Stephen Rothwell
2007-11-23  4:43       ` Dale Farnsworth
2007-11-22 15:46   ` [PATCH 02/10] powerpc: Cleanup CONFIG_KEXEC dependency Dale Farnsworth
2007-11-22 15:46   ` [PATCH 03/10] powerpc: Add kexec support for PPC_85xx platforms Dale Farnsworth
2007-11-22 22:20     ` Stephen Rothwell
2007-12-15  6:16     ` Benjamin Herrenschmidt [this message]
2007-12-18 16:14       ` Dale Farnsworth
2007-11-22 15:46   ` [PATCH 04/10] powerpc: Add crash kernel support for classic ppc Dale Farnsworth
2007-11-22 15:46   ` [PATCH 05/10] powerpc: Add crash kernel support for 85xx Dale Farnsworth
2007-12-14 16:48     ` Kumar Gala
2007-12-14 17:23       ` Dale Farnsworth
2008-01-18 22:29         ` Kumar Gala
2008-01-18 23:09           ` Dale Farnsworth
2008-01-21 16:19     ` Kumar Gala
2007-11-22 15:46   ` [PATCH 06/10] powerpc: Fix bogus crash kernel messages Dale Farnsworth
2007-11-22 15:46   ` [PATCH 07/10] powerpc: Implement kmap_atomic_pfn on powerpc Dale Farnsworth
2007-12-15  6:17     ` Benjamin Herrenschmidt
2007-12-18 16:20       ` Dale Farnsworth
2007-12-18 16:42         ` Kumar Gala
2007-11-22 15:46   ` [PATCH 08/10] powerpc: Implement crash dump support on ppc32 Dale Farnsworth
2007-11-22 15:46   ` [PATCH 09/10] powepc: Remove unnecessary of_get_flat_dt_prop casts Dale Farnsworth
2007-11-22 15:46   ` [PATCH 10/10] powerpc: Make crashkernels ignore crashkernel reservations Dale Farnsworth
2008-04-24 12:50   ` [PATCH 00/10] powerpc: Add kexec/kdump support for ppc32 Kumar Gala
2008-04-24 15:42     ` Dale Farnsworth
2008-04-24 16:28       ` Kumar Gala

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=1197699385.6696.43.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=dale@farnsworth.org \
    --cc=linuxppc-dev@ozlabs.org \
    /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;
as well as URLs for NNTP newsgroup(s).