diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2018-08-12 15:01:40 +0200 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2018-08-14 05:08:19 +0200 |
commit | 7bb516ca5424e12b42124fab2906b6da9c81ba9c (patch) | |
tree | 275dd23356eba62a81025221e23df3210a87a7be /arch/xtensa/configs | |
parent | xtensa: increase ranges in ___invalidate_{i,d}cache_all (diff) | |
download | linux-7bb516ca5424e12b42124fab2906b6da9c81ba9c.tar.xz linux-7bb516ca5424e12b42124fab2906b6da9c81ba9c.zip |
xtensa: rework noMMU cache attributes initialization
Marking default memory region as cached is not always sufficient and is
not flexible. Allow specifying cache attributes for the whole memory
address space with new config entry MEMMAP_CACHEATTR. Apply it after
cache initialization.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/configs')
-rw-r--r-- | arch/xtensa/configs/nommu_kc705_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/configs/nommu_kc705_defconfig b/arch/xtensa/configs/nommu_kc705_defconfig index 624f9b3a3878..610f622d3c84 100644 --- a/arch/xtensa/configs/nommu_kc705_defconfig +++ b/arch/xtensa/configs/nommu_kc705_defconfig @@ -33,6 +33,7 @@ CONFIG_XTENSA_VARIANT_CUSTOM_NAME="de212" # CONFIG_XTENSA_VARIANT_MMU is not set CONFIG_XTENSA_UNALIGNED_USER=y CONFIG_PREEMPT=y +CONFIG_MEMMAP_CACHEATTR=0xfff2442f # CONFIG_PCI is not set CONFIG_XTENSA_PLATFORM_XTFPGA=y CONFIG_CMDLINE_BOOL=y |