[PATCH v2 0/4] ppc: memory layout and memtest

Sascha Hauer s.hauer at pengutronix.de
Mon Mar 3 03:08:03 EST 2014


On Fri, Feb 28, 2014 at 12:58:51PM +0000, Renaud Barbier wrote:
> Like version 1, this patchset updates the PPC memory layout and memtest with
> the addition of the first item below:
> 
>  - Move configurable memory layout selection from PPC to MPC5xxx and disable
>    CONFIGURABLE_MEMORY_LAYOUT on MPC85xx platforms.
> 
>  - Memory regions on PPC are redefined to prevent corruption of critical memory
>    areas while running the memtest.
> 
>  - To support the memory test framework with cache disabled, a TLB remapping
>    function is added for the memtest to enable/disable caching on a mapped
>    memory region.
> 
>  - To prevent memtest failure, the memory test is updated to exclude memory
>    region at the bank start.
> 
> Finally, the configuration files are updated for the DA923RC and P2020RDB.
> 
> 
> Renaud Barbier (4):
>   MPC85xx: fix memory layout to prevent corruption during memtest
>   ppc: add support for memtest with cache disabled
>   memtest: exclude page starting at address 0.
>   ppc: P2020RDB and DA923RC configuration

Applied, thanks

Sascha

> 
>  arch/ppc/Kconfig                         |    1 -
>  arch/ppc/configs/da923rc_defconfig       |    2 +
>  arch/ppc/configs/p2020rdb_defconfig      |    2 +
>  arch/ppc/cpu-85xx/Makefile               |    1 +
>  arch/ppc/cpu-85xx/mmu.c                  |   54 ++++++++++++++++++++++++++++++
>  arch/ppc/cpu-85xx/start.S                |    3 --
>  arch/ppc/cpu-85xx/tlb.c                  |   17 +++++++++-
>  arch/ppc/include/asm/mmu.h               |    6 +++
>  arch/ppc/lib/board.c                     |    6 +---
>  arch/ppc/mach-mpc5xxx/Kconfig            |    1 +
>  arch/ppc/mach-mpc85xx/Kconfig            |    3 ++
>  arch/ppc/mach-mpc85xx/barebox.lds.S      |    8 +++--
>  arch/ppc/mach-mpc85xx/cpu.c              |   11 ++++++
>  arch/ppc/mach-mpc85xx/include/mach/mmu.h |    5 +++
>  commands/memtest.c                       |   10 +++---
>  15 files changed, 112 insertions(+), 18 deletions(-)
>  create mode 100644 arch/ppc/cpu-85xx/mmu.c
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list