
27 Mar
2015
27 Mar
'15
4:42 p.m.
Hello fenghua@phytium.com.cn,
On Sat, 31 Jan 2015 17:02:17 +0800, fenghua@phytium.com.cn fenghua@phytium.com.cn wrote:
From: David Feng fenghua@phytium.com.cn
- Fix a bug of mmu_setup that variable i and j should be type long instead of int.
- Give mmu_setup weak attribute so that other implementation can redfine it.
- A more common set_pgtable_section().
- Give device memory PXN and UXN attribute. CPU may speculatively prefetch instructions from device memory, but the IO subsystem of some implementation may not support this operation. The two attributes prevent this behavior.
Signed-off-by: David Feng fenghua@phytium.com.cn
arch/arm/cpu/armv8/cache_v8.c | 73 +++++++++++++++++++++++------------- arch/arm/cpu/armv8/fsl-lsch3/cpu.c | 22 +++++------ arch/arm/include/asm/armv8/mmu.h | 71 +++++++++++++++++++---------------- 3 files changed, 95 insertions(+), 71 deletions(-)
This patch does not apply on current ARM tree; at least part of it must be rewritten.
Amicalement,
--
Albert.