Module Name: src Committed By: mrg Date: Wed Jan 15 08:34:04 UTC 2020
Modified Files: src/sys/arch/aarch64/aarch64: cpu.c cpufunc.c locore.S src/sys/arch/aarch64/conf: files.aarch64 src/sys/arch/aarch64/include: cpu.h cpufunc.h src/sys/arch/arm/arm32: cpu.c src/sys/arch/arm/conf: files.arm src/sys/arch/arm/include: cpu.h Added Files: src/sys/arch/arm/arm: arm_cpu_topology.c src/sys/arch/arm/include: cpu_topology.h Log Message: port the arm64 cpu topology setup for big.little to arm. rename arm64 cpu_do_topology() to arm_cpu_do_topology() and call it from both arm cpu_attach(). replace both aarch64_set_topology() inline code in arm cpu_attach() with new arm_cpu_do_topology(), which is called by the arm64 locore as well (possibly not needed, which would allow it to become static.) not yet tested on a real big.little armv7 system. tested on rockpro64 and pinebook pro. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/aarch64/aarch64/cpu.c cvs rdiff -u -r1.14 -r1.15 src/sys/arch/aarch64/aarch64/cpufunc.c cvs rdiff -u -r1.51 -r1.52 src/sys/arch/aarch64/aarch64/locore.S cvs rdiff -u -r1.16 -r1.17 src/sys/arch/aarch64/conf/files.aarch64 cvs rdiff -u -r1.18 -r1.19 src/sys/arch/aarch64/include/cpu.h cvs rdiff -u -r1.10 -r1.11 src/sys/arch/aarch64/include/cpufunc.h cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/arm/arm_cpu_topology.c cvs rdiff -u -r1.139 -r1.140 src/sys/arch/arm/arm32/cpu.c cvs rdiff -u -r1.149 -r1.150 src/sys/arch/arm/conf/files.arm cvs rdiff -u -r1.103 -r1.104 src/sys/arch/arm/include/cpu.h cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/include/cpu_topology.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.