Multicore support for the Xeon Phi
authorReto Achermann <acreto@student.ethz.ch>
Thu, 17 Apr 2014 11:35:22 +0000 (13:35 +0200)
committerStefan Kaestle <stefan.kaestle@inf.ethz.ch>
Wed, 20 Aug 2014 13:46:07 +0000 (15:46 +0200)
commitb8df64a86243d03a28a4e8def4252114bae6c163
tree72886ccf5802a7fb09f7f21bfc5e7548f1e7d9d0
parent3f0cf56ba93558933a0b92053a05bedd719d2d19
Multicore support for the Xeon Phi

- Adapted the xapic.dev to account for the special register layout in
icr and id register
- added switches to use alternative register layout in apic.c
- added APIC and FLASH memoryhole in mmap
- Bugfix: Wrong CPU information (cpu_arch.h)
- Added: delay_ms assembly that stalls the CPU some time (needed for
booting the cores)
- Some fixes with memory offsets in startu parch
- Added: support for pagetables that map MMIO range of the xeon phi in
init_ap.S
- Added Delays in start_aps
- Adpted offset in entry.S fo match for the new layout
- Removed Global Flag for the valid page table bits
- Disabled activation of MMX
31 files changed:
devices/xapic.dev
hake/menu.lst.k1om
hake/symbolic_targets.mk
include/arch/k1om/barrelfish/cpu_arch.h
include/arch/k1om/barrelfish_kpi/asm_inlines_arch.h
kernel/arch/k1om/init.c
kernel/arch/k1om/serial.c
kernel/arch/k1om/startup_arch.c
kernel/arch/x86/apic.c
kernel/arch/x86/init_ap_x86_64.S
kernel/arch/x86/misc.c
kernel/arch/x86/start_aps.c
kernel/arch/x86/startup_x86.c
kernel/arch/x86/syscall.c
kernel/dispatch.c
kernel/include/arch/k1om/x86.h
kernel/include/target/k1om/offsets_target.h
kernel/include/target/k1om/paging_kernel_target.h
tools/k1om/gnu-gcc/binutils-2.24-barrelfish.patch [deleted file]
tools/k1om/gnu-gcc/build-toolchain.sh [deleted file]
tools/k1om/gnu-gcc/gcc-4.8.2-barrelfish.patch [deleted file]
tools/k1om/mpss-gcc/binutils-2.22+mpss3.2-barrelfish.patch [deleted file]
tools/k1om/mpss-gcc/build-gcc.sh [deleted file]
tools/k1om/mpss-gcc/build-toolchain.sh [deleted file]
tools/k1om/mpss-gcc/gcc-4.7.0+mpss3.2-barrelfish.patch [deleted file]
tools/k1om/mpss-gcc/glibc-2.14+mpss3.2-cpuheader.patch [deleted file]
tools/xeon_phi/mpss.patch [new file with mode: 0644]
usr/monitor/arch/x86/boot.c
usr/skb/skb_simple/Hakefile
usr/spawnd/bsp_bootup.c
usr/spawnd/main.c