[PATCH v3 0/8] ARM: NOMMU: MPU updates

Benjamin Gaignard benjamin.gaignard at linaro.org
Tue Oct 17 07:05:30 PDT 2017


2017-09-25 11:05 GMT+02:00 Vladimir Murzin <vladimir.murzin at arm.com>:
> Hi,
>
> This is an update of the existent MPU code which consist set of
> clean-ups and enhancements. The most significant changes are in the
> way how MPU settings sync-up for secondaries (PATCH 3/8), more
> flexible layout for memory (PATCH 7/8) and support for XIP (PATCH
> 8/8). Since there is no in-tree user of MPU, support for M-class has
> been added (PATCH 6/8).
>
> There is also practical benefit of patch set:
>
> "These MPU patches introduce a nice feature that it simplifies the
> bootloader: do not need to setup the MPU, for example for coherent DMA
> region, which is described in device-tree too." András Szemző
>
> Changelog:
>            v2 -> v3
>               - fixed support for XIP (PATCH 8/8)
>               - rebased on 4.14-rc2
>
>            v1 -> v2
>               - support for XIP (PATCH 8/8)
>               - rebased on 4.13-rc1
>
>         RFC v2 -> v1
>                - dropped RFC tag
>                - Tested-by from András
>                - rebased on 4.12-rc5
>
>            RFC -> RFC v2
>                - fixed MPU enable for v7m (PATCH 6/7)
>
> Thanks!

for the whole serie on stm32f4 and stm32f7:

Tested-by: Benjamin Gaignard <benjamin.gaignard at linaro.org>

>
> Vladimir Murzin (8):
>   ARM: NOMMU: Move out MPU setup in separate module
>   ARM: NOMMU: Update MPU accessors to use cp15 helpers
>   ARM: NOMMU: Rework MPU to be mostly done in C
>   ARM: NOMMU: Disallow MPU for XIP
>   ARM: Kconfig: Kill CONFIG_VECTORS_BASE
>   ARM: V7M: Add support for MPU to M-class
>   ARM: NOMMU: Use more MPU regions to cover memory
>   ARM: NOMMU: Support MPU in XIP configuration
>
>  arch/arm/Kconfig                  |   9 -
>  arch/arm/Kconfig-nommu            |   4 +-
>  arch/arm/include/asm/cputype.h    |  10 +
>  arch/arm/include/asm/mpu.h        |  26 +-
>  arch/arm/include/asm/smp.h        |   2 +-
>  arch/arm/include/asm/v7m.h        |  10 +
>  arch/arm/kernel/asm-offsets.c     |  11 +
>  arch/arm/kernel/head-nommu.S      | 148 +++++++++---
>  arch/arm/kernel/smp.c             |   2 +-
>  arch/arm/kernel/vmlinux-xip.lds.S |  23 ++
>  arch/arm/mm/Makefile              |   1 +
>  arch/arm/mm/nommu.c               | 254 +-------------------
>  arch/arm/mm/pmsa-v7.c             | 484 ++++++++++++++++++++++++++++++++++++++
>  13 files changed, 682 insertions(+), 302 deletions(-)
>  create mode 100644 arch/arm/mm/pmsa-v7.c
>
> --
> 1.9.1
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



-- 
Benjamin Gaignard

Graphic Study Group

Linaro.org │ Open source software for ARM SoCs

Follow Linaro: Facebook | Twitter | Blog



More information about the linux-arm-kernel mailing list