linux_dsm_epyc7002/arch/arm64/include/asm
Steve Capper 206a2a73a6 arm64: mm: Create gigabyte kernel logical mappings where possible
We have the capability to map 1GB level 1 blocks when using a 4K
granule.

This patch adjusts the create_mapping logic s.t. when mapping physical
memory on boot, we attempt to use a 1GB block if both the VA and PA
start and end are 1GB aligned. This both reduces the levels of lookup
required to resolve a kernel logical address, as well as reduces TLB
pressure on cores that support 1GB TLB entries.

Signed-off-by: Steve Capper <steve.capper@linaro.org>
Tested-by: Jungseok Lee <jays.lee@samsung.com>
[catalin.marinas@arm.com: s/prot_sect_kernel/PROT_SECT_NORMAL_EXEC/]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2014-05-09 16:10:58 +01:00
..
xen xen/arm64: do not call the swiotlb functions twice 2013-12-11 16:21:00 +00:00
arch_timer.h
asm-offsets.h
assembler.h
atomic.h arm64: Make atomic64_t() return "long", not "long long" 2014-05-09 16:00:19 +01:00
barrier.h arm64: barriers: add dmb barrier 2014-03-10 11:57:40 +00:00
bitops.h
cache.h arm64: Implement cache_line_size() based on CTR_EL0.CWG 2014-05-09 15:47:45 +01:00
cacheflush.h arm64: Implement coherent DMA API based on swiotlb 2014-02-27 17:16:59 +00:00
cachetype.h arm64: Implement cache_line_size() based on CTR_EL0.CWG 2014-05-09 15:47:45 +01:00
cmpxchg.h arm64: asm: remove redundant "cc" clobbers 2014-02-07 16:46:07 +00:00
compat.h ARM64: perf: support dwarf unwinding in compat mode 2014-03-13 11:22:38 +00:00
compiler.h
cpu_ops.h arm64: kernel: cpu_{suspend/resume} implementation 2013-12-16 17:17:31 +00:00
cpufeature.h arm64: enable generic CPU feature modalias matching for this architecture 2014-03-14 18:01:36 +00:00
cputable.h
cputype.h Merge tag 'arm64-suspend' of git://linux-arm.org/linux-2.6-lp into upstream 2013-12-19 17:57:51 +00:00
debug-monitors.h arm64: KGDB: Add Basic KGDB support 2014-02-26 11:16:25 +00:00
device.h
dma-contiguous.h arm64: fix build error if DMA_CMA is enabled 2014-01-27 12:00:25 +00:00
dma-mapping.h arm64: Implement coherent DMA API based on swiotlb 2014-02-27 17:16:59 +00:00
elf.h
esr.h arm64: Provide read/write fault information in compat signal handlers 2014-05-09 15:47:47 +01:00
exception.h
exec.h
fb.h
fixmap.h arm64: add early_ioremap support 2014-04-07 16:36:15 -07:00
fpsimd.h
fpsimdmacros.h
futex.h arm64: asm: remove redundant "cc" clobbers 2014-02-07 16:46:07 +00:00
hardirq.h arm64: enable generic clockevent broadcast 2013-12-16 17:17:35 +00:00
hugetlb.h
hw_breakpoint.h
hwcap.h arm64: advertise ARMv8 extensions to 32-bit compat ELF binaries 2014-03-04 08:06:32 +00:00
hypervisor.h
insn.h arm64: introduce aarch64_insn_gen_{nop|branch_imm}() helper functions 2014-01-08 15:21:29 +00:00
io.h arm64: Clean up the default pgprot setting 2014-05-09 15:53:37 +01:00
irq.h
irqflags.h arm64: Add macros to manage processor debug state 2014-02-26 11:16:25 +00:00
jump_label.h arm64, jump label: optimize jump label implementation 2014-01-08 15:23:53 +00:00
Kbuild arm64: add early_ioremap support 2014-04-07 16:36:15 -07:00
kgdb.h arm64: KGDB: Add Basic KGDB support 2014-02-26 11:16:25 +00:00
kvm_arm.h Merge tag 'kvm-3.15-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2014-04-02 14:50:10 -07:00
kvm_asm.h arm64: KVM: trap VM system registers until MMU and caches are ON 2014-03-03 01:15:21 +00:00
kvm_coproc.h
kvm_emulate.h
kvm_host.h arm64: KVM: Add Kconfig option for max VCPUs per-Guest 2013-12-28 10:28:50 +00:00
kvm_mmio.h
kvm_mmu.h arm64: KVM: flush VM pages before letting the guest enable caches 2014-03-03 01:15:22 +00:00
kvm_psci.h
linkage.h
memblock.h
memory.h arm64: add early_ioremap support 2014-04-07 16:36:15 -07:00
mmu_context.h
mmu.h arm64: initialize spinlock for init_mm's context 2014-04-25 16:46:51 +01:00
module.h
neon.h
page.h
percpu.h arm64: Fix !CONFIG_SMP kernel build 2014-02-28 16:12:25 +00:00
perf_event.h
pgalloc.h
pgtable-2level-hwdef.h
pgtable-2level-types.h
pgtable-3level-hwdef.h
pgtable-3level-types.h
pgtable-hwdef.h arm64: mm: Create gigabyte kernel logical mappings where possible 2014-05-09 16:10:58 +01:00
pgtable.h arm64: mm: Create gigabyte kernel logical mappings where possible 2014-05-09 16:10:58 +01:00
pmu.h
proc-fns.h arm64: kernel: suspend/resume registers save/restore 2013-12-16 17:17:31 +00:00
processor.h arm64: Provide read/write fault information in compat signal handlers 2014-05-09 15:47:47 +01:00
psci.h arm64: remove return value form psci_init() 2014-02-28 14:14:53 +00:00
ptrace.h ARM64: perf: support dwarf unwinding in compat mode 2014-03-13 11:22:38 +00:00
shmparam.h
signal32.h
smp_plat.h arm64: kernel: build MPIDR_EL1 hash function data structure 2013-12-16 17:17:30 +00:00
smp.h
sparsemem.h
spinlock_types.h
spinlock.h arm64: asm: remove redundant "cc" clobbers 2014-02-07 16:46:07 +00:00
stacktrace.h
stat.h
string.h
suspend.h arm64: kernel: cpu_{suspend/resume} implementation 2013-12-16 17:17:31 +00:00
sync_bitops.h
syscall.h
syscalls.h
system_misc.h
thread_info.h
timex.h
tlb.h arm64: mm: Add THP TLB entries to general mmu_gather 2014-04-25 16:46:49 +01:00
tlbflush.h
topology.h arm64: topology: Implement basic CPU topology support 2014-03-04 10:30:07 +00:00
traps.h
uaccess.h arm64: Fix __range_ok macro 2014-03-20 17:41:27 +00:00
ucontext.h
unistd32.h arm64: add renameat2 compat syscall 2014-04-23 10:22:33 +01:00
unistd.h compat: let architectures define __ARCH_WANT_COMPAT_SYS_GETDENTS64 2014-03-04 09:05:33 +01:00
vdso_datapage.h
vdso.h
virt.h Revert "arm64: virt: ensure visibility of __boot_cpu_mode" 2014-04-05 10:06:20 +01:00
word-at-a-time.h arm64: dcache: select DCACHE_WORD_ACCESS for little-endian CPUs 2013-12-19 17:43:08 +00:00