]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8757/1: NOMMU: Support PMSAv8 MPU
authorVladimir Murzin <vladimir.murzin@arm.com>
Tue, 3 Apr 2018 09:39:23 +0000 (10:39 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Sat, 19 May 2018 10:53:46 +0000 (11:53 +0100)
commit9ba49672cdb6be1124130654b7e696b979c0f7c3
tree1f1e8dc8ed4c30f03ba51d930a6f79a923959937
parent4650d85e32f59efa298b16c2ce27f6ee6a0b7141
ARM: 8757/1: NOMMU: Support PMSAv8 MPU

ARMv8R/M architecture defines new memory protection scheme - PMSAv8
which is not compatible with PMSAv7.

Key differences to PMSAv7 are:
 - Region geometry is defined by base and limit addresses
 - Addresses need to be either 32 or 64 byte aligned
 - No region priority due to overlapping regions are not allowed
 - It is unified, i.e. no distinction between data/instruction regions
 - Memory attributes are controlled via MAIR

This patch implements support for PMSAv8 MPU defined by ARMv8R/M
architecture.

Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/mpu.h
arch/arm/include/asm/v7m.h
arch/arm/kernel/asm-offsets.c
arch/arm/kernel/head-nommu.S
arch/arm/kernel/vmlinux-xip.lds.S
arch/arm/kernel/vmlinux.lds.S
arch/arm/mm/Makefile
arch/arm/mm/nommu.c
arch/arm/mm/pmsa-v8.c [new file with mode: 0644]