linux_dsm_epyc7002/arch/tile/kernel
Chris Metcalf 76c567fbba arch/tile: support 4KB page size as well as 64KB
The Tilera architecture traditionally supports 64KB page sizes
to improve TLB utilization and improve performance when the
hardware is being used primarily to run a single application.

For more generic server scenarios, it can be beneficial to run
with 4KB page sizes, so this commit allows that to be specified
(by modifying the arch/tile/include/hv/pagesize.h header).

As part of this change, we also re-worked the PTE management
slightly so that PTE writes all go through a __set_pte() function
where we can do some additional validation.  The set_pte_order()
function was eliminated since the "order" argument wasn't being used.

One bug uncovered was in the PCI DMA code, which wasn't properly
flushing the specified range.  This was benign with 64KB pages,
but with 4KB pages we were getting some larger flushes wrong.

The per-cpu memory reservation code also needed updating to
conform with the newer percpu stuff; before it always chose 64KB,
and that was always correct, but with 4KB granularity we now have
to pay closer attention and reserve the amount of memory that will
be requested when the percpu code starts allocating.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
2011-03-10 13:17:53 -05:00
..
asm-offsets.c
backtrace.c
compat_signal.c arch/tile: handle rt_sigreturn() more cleanly 2010-12-17 16:59:29 -05:00
compat.c
early_printk.c
entry.S arch/tile: use a cleaner technique to enable interrupt for cpu_idle() 2011-03-01 16:20:48 -05:00
hardwall.c
head_32.S arch/tile: catch up with section naming convention in 2.6.35 2011-03-01 16:18:52 -05:00
hvglue.lds
init_task.c
intvec_32.S arch/tile: support 4KB page size as well as 64KB 2011-03-10 13:17:53 -05:00
irq.c tile: Use proper accessor functions in show_interrupt() 2011-02-23 16:07:34 -05:00
machine_kexec.c arch/tile: support 4KB page size as well as 64KB 2011-03-10 13:17:53 -05:00
Makefile
messaging.c
module.c
pci-dma.c arch/tile: support 4KB page size as well as 64KB 2011-03-10 13:17:53 -05:00
pci.c
proc.c
process.c arch/tile: support 4KB page size as well as 64KB 2011-03-10 13:17:53 -05:00
ptrace.c
reboot.c
regs_32.S
relocate_kernel.S
setup.c arch/tile: support 4KB page size as well as 64KB 2011-03-10 13:17:53 -05:00
signal.c arch/tile: handle rt_sigreturn() more cleanly 2010-12-17 16:59:29 -05:00
single_step.c arch/tile: bug fix: exec'ed task thought it was still single-stepping 2011-03-01 16:19:58 -05:00
smp.c arch/tile: warn and retry if an IPI is not accepted by the target cpu 2011-03-01 16:20:16 -05:00
smpboot.c
stack.c arch/tile: fix two bugs in the backtracer code 2011-03-01 16:21:00 -05:00
sys.c
tile-desc_32.c
time.c arch/tile: fix __ndelay etc to work better 2011-03-01 16:20:04 -05:00
tlb.c
traps.c
vmlinux.lds.S arch/tile: catch up with section naming convention in 2.6.35 2011-03-01 16:18:52 -05:00