Dominique Martinet
f9d8d98af1
sysfs: add missing symlinks for cpu/node
...
Add the following patterns of symlinks:
- /sys/bus/cpu/drivers/processor/cpu*
- /sys/bus/node/devices/node*
And slightly change how /sys/devices/system/cpu/cpu*/node* are created
to avoid duplicate lookups
Change-Id: Id94a4d157da06d75f6bd450d5bd9a9e7709a1414
2019-02-06 09:55:54 +00:00
Dominique Martinet
3185334c1c
debug messages: implement dynamic debug
...
Heavily inspired off linux kernel's dynamic debug:
* add a /sys/kernel/debug/dynamic_debug/control file
(accessible from linux side in /sys/class/mcos/mcos0/sys/kernel/debug/dynamic_debug/control)
* read from file to list debug statements (currently limited to 4k in size)
* write to file with '[file foo ][func bar ][line [x][-[y]]] [+-]p' to change values
Side effects:
* reindented all linker scripts, there is a new __verbose section
* added string function strpbrk
Change-Id: I36d7707274dcc3ecaf200075a31a2f0f76021059
2018-07-26 14:16:31 +09:00
Dominique Martinet
6df4bd8f8c
Fix a few more warnings
...
Some are important, e.g. the seemingly harmless braces around if with dprintf,
since that dprintf is defined as empty, will screw things up and grab the next
line
Change-Id: Ie5e1cf813178ad708ff42ae5e477fbc96034471c
2018-07-26 04:52:17 +00:00
Masamichi Takagi
8f4afe410f
Remove obsolete pc_init(), pc_ap_init(), pc_test()
2017-09-29 13:20:01 +09:00
Masamichi Takagi
aa7cb970c4
ihk_os_getrusage(): Compile LWK-specific results in mcctrl
...
1. User asks mcctrl for the result via ihk_os_getrusage() with passing void *
2. mcctrl compiles the results and passes them to the user
3. User interprets it by using the type defined in the LWK-specific header
2017-09-20 15:03:45 +09:00
Takayuki Okamoto
9989f41fd3
add arm64 support
...
- add arm64 dependent codes with GICv3 and SVE support
- fix bugs based on architecture separation requests
2017-09-05 15:06:27 +09:00
Tomoki Shirasawa
d7b8e7f4f4
fix to count user pages
...
refs #864
2017-07-14 09:51:39 +09:00
Masamichi Takagi
72e3f5ee50
ihk_mc_get_ikc_cpu(): Get IKC destination CPU
2017-07-11 20:20:40 +09:00
Tomoki Shirasawa
67843151d3
fix how to count rss and num of threads
...
refs #864
refs #865
2017-07-03 16:27:46 +09:00
Ken Sato
c2b1d8e3ef
IKC: delete the comments for review
2017-05-19 10:26:29 +09:00
Balazs Gerofi
373e9ea63c
ap_wait(): init syscall channel with proper Linux remote CPU
2017-05-19 10:26:29 +09:00
Ken Sato
8daffa939e
IKC: distribute IKC-interrupt to Linux cpus.
2017-05-19 10:26:29 +09:00
Katsukura
3fe2257929
create rusage branch.
2017-03-15 23:22:51 +09:00
Balazs Gerofi
b702c9691e
AP init: synchronize syscall channel initialization
2017-01-30 07:24:09 +09:00
Balazs Gerofi
0e67e9266b
ap_init(): reformat AP cores report
2017-01-08 14:16:10 +09:00
Balazs Gerofi
be4f6741f9
sysfs: fix /sys/devices/system/cpu/cpuXX/online value
2016-11-03 13:39:21 +09:00
Balazs Gerofi
3ae69d1290
NUMA: process CPU NUMA information
2016-10-14 21:34:30 +09:00
NAKAMURA Gou
41bb2ab5e6
support vdso which borrows clocksource from linux
2016-03-28 22:57:44 +09:00
NAKAMURA Gou
1aac2c8e23
add CPU timer initialization (refs #402 )
...
There is no actual initialization in x86 now.
The initialization rely on hardware reset and Linux initialization.
2016-03-11 19:20:37 +09:00
NAKAMURA Gou
70e8dd7979
remove initialization of TSC (refs #362 )
2016-03-11 19:17:29 +09:00
NAKAMURA Gou
a055fb525d
sysfs sample
2015-12-16 13:42:30 +09:00
Balazs Gerofi
9ae5bcf46e
gettimeofday(): an implementation based on CPU invariant TSC support
2015-08-24 23:53:56 +02:00
Balazs Gerofi
215cd370a1
ap_init(): clean up AP boot kernel messages
2015-08-07 10:57:59 +09:00
Balazs Gerofi bgerofi@riken.jp
dcea4fefb3
ap.c, futex.c, jhash.h, timer.c, waitq.c copyrights
2013-11-14 16:20:08 +09:00
Tomoki Shirasawa
4693789608
change function names
2012-12-17 16:15:05 +09:00
Tomoki Shirasawa
0a808057eb
modify include lines and Makefiles
2012-12-17 16:10:56 +09:00
Balazs Gerofi bgerofi@riken.jp
b59e36e1a5
reset TIME_STAMP_COUNTER during boot
2012-11-28 15:05:10 +09:00
Balazs Gerofi
10d6400d80
enable syscall channels for all MIC cores
2012-10-10 19:16:44 +09:00
Balazs Gerofi
0f8749e063
DMA test during init
2012-08-01 11:08:44 +09:00
Taku Shimosawa
b3cc785796
A little change on test IKC handlers
2012-02-29 10:43:38 +09:00
Taku Shimosawa
c13585fccb
unnecessary function deleted
2012-02-29 09:35:43 +09:00
Taku Shimosawa
07d4f293e2
Syscall Delegation is selectable by command line
2012-02-29 09:35:28 +09:00
Taku Shimosawa
e4d776a0b6
init functions changed
2012-02-22 18:00:15 +09:00
Taku Shimosawa
d2591c6d25
temp
2012-01-06 17:06:42 +09:00
Taku Shimosawa
00107164b3
valid flag is added
2011-12-02 14:00:12 +09:00
Taku Shimosawa
480e1b12ef
big commit
2011-11-28 13:00:13 +09:00
Taku Shimosawa
c5cdd121f6
misc fixed
2011-11-13 14:43:28 +09:00
Taku Shimosawa
2773606466
Kernel runs in the higher address space
2011-11-07 00:48:22 +09:00
Taku Shimosawa
83a17650b9
AP, kmalloc
2011-11-06 19:27:09 +09:00
Taku Shimosawa
5ddd25df98
AP booting added
2011-11-04 01:56:45 +09:00