Skip to content
Commit acf9675b authored by Wayne Ren's avatar Wayne Ren Committed by Johan Hedberg
Browse files

arch: arc: implement MPU_GAP_FILLING for mpu version 3



when MPU_GAP_FILLING is configured, the default mpu entry
(kernel read + kernel write) will be used to fill the gaps
among mpu entires to avoid dynamic mpu region splitting.
This will bring better performance in thread switch but fewer
constraints on privileged codes.

when MPU_GAP_FILLING is not configured, a sw-based mpu dynamic
region splitting is used to bypass the limitation of no mpu region
overlap in hardware. This approach will consume more hardware
mpu entries and more time in thread switch.

Signed-off-by: default avatarWayne Ren <wei.ren@synopsys.com>
parent 85f591e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment