Dominique Martinet
1e1fa4f70d
trivial warnings fixes (unused variable/function)
...
Change-Id: I71cedd2c09eeb5d2c2fd2e988dfdde0877627abc
2018-10-11 09:03:53 +00:00
Dominique Martinet
ea35954613
linux side: replace vfs_read by kernel_read
...
vfs_read has been unexported in bd8df82be66 ("fs: unexport vfs_read and vfs_write")
in kernel 4.14.
kernel_read has always™ existed and is actually more appropriate: we can
remove the set_fs calls that are done in kernel_read.
The downside is that the function prototype also changed in 4.14 with
bdd1d2d3d251 ("fs: fix kernel_read prototype")...
(same with kernel_write e13ec939e96b ("fs: fix kernel_write prototype"))
Change-Id: I6f76a6387ae02b4d33bd62952d995a90b1952fc9
2018-08-22 06:27:12 +00:00
Dominique Martinet
e8f8660b73
mcctrl: lookup unexported symbols at runtime
...
Instead of parsing System.map, use kallsyms_lookup_name() to
get unexported symbols addresses at module loading time.
This lets mckernel work with kaslr enabled (it gets enabled by
default from el7.5 onwards)
Change-Id: Ie4349fc1145ebce44f37f1f40c16f9d75584074d
2018-08-08 06:00:20 +00:00
Dominique Martinet
625607e6db
mcctrl sysfs_files: cleanup vfs_readdir -> iterate_dir compat
...
Cleanup the fix suggested by Fujitsu a bit
Change-Id: I95165b834e32a01f43eb3b4fcaca039e4d04fe86
2018-08-08 05:41:04 +00:00
Dominique Martinet
05afa8b6dd
mcctrl sysfs_files: vfs_readdir -> iterate_dir compat
...
vfs_readdir got removed in recent kernels
Change-Id: Iac9a9954afefa0f6dbcdc2c94786cf747e21e1fe
Fujitsu: POSTK_DEBUG_TEMP_FIX_22
2018-08-08 05:39:07 +00: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
Balazs Gerofi
52bc052e1a
mcexec: recursively bind mount $prefix/rootfs/ on /
2017-06-16 18:01:25 +09:00
Balazs Gerofi
052b3f44ca
mcexec: -n: topology aware partitioned execution
2016-12-10 16:27:57 +09:00
Balazs Gerofi
69a5c53074
NUMA: hide non-existing nodes from /sys/devices/system/node listing
2016-11-05 16:12:08 +09:00
Balazs Gerofi
3e093f6a40
sysfs: fix /sys/devices/system/node/online value
2016-11-03 16:10:29 +09:00
Balazs Gerofi
7a2f67f5f0
sysfs: eliminate unnecessary new line from /sys/devices/system/node/nodeX/distance
2016-11-03 13:37:53 +09:00
Balazs Gerofi
bba0425267
sysfs: fix /sys/devices/system/cpu/online value
2016-11-03 13:36:29 +09:00
Balazs Gerofi
f1af1ffb8f
NUMA: expose correct NUMA distances in sysfs
2016-10-27 14:29:15 +09:00
Balazs Gerofi
059fab2cc0
mcctrl: fix NULL pointer dereference for unbooted OS instance shutdown
2016-10-26 14:50:07 +09:00
Balazs Gerofi
994b9a19ac
NUMA: expose CPU and memory info in /proc/self/status
2016-10-14 21:34:32 +09:00
Balazs Gerofi
73e1a4f1f9
NUMA: fill in /sys/devices/system/cpu/nodeX properly and sync with boot script
2016-10-14 21:34:31 +09:00
Balazs Gerofi
b068fde9cd
NUMA: use IHK CPU and NUMA mappings for sysfs entries
2016-10-14 21:34:31 +09:00
NAKAMURA Gou
1bb948f43b
hwloc support
2016-04-11 22:25:27 +09:00
Yoichi Umezawa
7fac03d4de
sysfs: support /sys/devices/system/cpu/offline,online,possible,present
2016-03-04 13:48:06 +09:00
NAKAMURA Gou
6ce00b5f0f
sysfs: samples of snooping ops
2016-02-29 19:59:04 +09:00
NAKAMURA Gou
1ffe740153
sysfs sample
2016-01-26 18:08:25 +09:00