Home | History | Annotate | Download | only in arch
History log of /src/usr.sbin/cpuctl/arch/arm.c
RevisionDateAuthorComments
 1.8  04-Jun-2025  martin Simplify previous, pointed out by kre@
 1.7  03-Jun-2025  martin Make cpuctl identify print something for old arm where the kernel does
not provide the required data.
 1.6  06-Aug-2022  andvar s/blity/bility/ in various words, mainly in comments.
 1.5  05-Dec-2021  msaitoh auxilary -> auxiliary
 1.4  16-Jan-2021  jmcneill trailing whitespace
 1.3  03-Feb-2019  mrg - enlarge buffer to avoid snprintf() truncation
 1.2  16-Jan-2018  mrg branches: 1.2.4;
implement cpuctl identify for sparc and sparc64.

sparc:
- move enum vactype and struct cacheinfo into cpu.h
- move the cache flags from cpuinfo.flags into CACHEINFO.c_flags
(this allows the new cache_printf_backend() to see them.)
remove unused CPUFLG_CACHEIOMMUTABLES and CPUFLG_CACHEDVMA.
- align xmpsg to 64 bytes
- move cache_print() into cache_print.h so it can be shared with
cpuctl. it only depends upon a working printf().
- if found, store the CPU node's "name" into cpu_longname. this
changes the default output to show the local CPU not the
generic CPU family. eg:
cpu0 at mainbus0: mid 8: Ross,RT625 @ 90 MHz, on-chip FPU
vs the generic "RT620/625" previously shown.
- for each CPU export these things:
- name
- fpuname
- mid
- cloc
- freq
- psr impl and version
- mmu impl, version, and number of contexts
- cacheinfo structure (which changed for the first time ever
with this commit.)

sparc64:
- add a minimal "cacheinfo" structure to export the i/d/e-cache
size and linesize.
- store %ver, cpu node "name" and cacheinfo in cpu_info.
- set cpu_info ver, name and cacheinfo in cpu_attach(), and
export them via sysctl, as well as CPU ID and clock freq

cpuctl:
- add identifycpu_bind() that returns false on !x86 as their
identify routines do not need to run on a particular CPU to
obtain its information, and use it to avoid trying to set
affinity when not needed.
- add sparc and sparc64 cpu identify support using the newly
exported values.
 1.1  31-Jan-2013  matt branches: 1.1.4; 1.1.10;
Add arm support for cpuctl identify
 1.1.10.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.10.1  31-Jan-2013  yamt file arm.c was added on branch yamt-pagecache on 2014-05-22 11:43:02 +0000
 1.1.4.2  25-Feb-2013  tls resync with head
 1.1.4.1  31-Jan-2013  tls file arm.c was added on branch tls-maxphys on 2013-02-25 00:30:42 +0000
 1.2.4.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed