5594a4a4a9
The build is successful, testing is required
2025-08-23 12:12:22 +08:00
9ae3a3f374
todo: modpost undefined errors
2025-08-23 11:02:25 +08:00
64dbb93260
Still need to port some kernel modules
2025-08-23 00:35:29 +08:00
015a64039d
Try to port mckernel to rhel9
2025-08-22 22:02:50 +08:00
a1b9721772
RHEL8.4: make mcinspect and eclair fPIE for RPM, clear build_ldflags in mckernel.spec
...
Change-Id: I06f09628629c2afb0d36ad6ab2e2ed2cc716a980
2021-06-14 06:04:30 -04:00
0353fc1a0a
RHEL8.4: support VDSO changes for aarch64 (by Fujitsu)
...
Change-Id: I1148d2e56eab52ee0264995dd32b9fd2f0d661f0
2021-06-13 22:33:29 -04:00
051c0dcdd8
overlay_path: Fix resolution of symbolic link under /sys/
...
Change-Id: I650e72fb335aa72256d3b129a65c09bbd7cf26d3
Refs: #1463
2021-03-17 08:18:46 +00:00
09173d353c
mcctrl_wakeup_desc: refcount and fix timeouts
...
Change-Id: I14b34f031ffb10bfac6cef07d81f53a8dece767b
2021-03-17 03:36:35 +00:00
c94cf8e6f0
mcexec: fput executable just after its contents is transferred
...
Change-Id: I3fae841bd7341bca030fd6b7eceffa068c9e0f4e
2021-03-11 07:03:04 +00:00
ee974b200d
mcexec_open_exec: fix missing fput on error
...
Change-Id: I3ac94e336dc54ec313e69c0fa85c17086dc256fd
2021-03-11 07:03:04 +00:00
e43d52df20
Revert "mcexec_open_exec: make fput and add to mckernel_exec_files atomic"
...
This reverts commit c80ea0ed23 .
Change-Id: I0541e8af5157c7128f8774f6581cc207d13b649a
2021-03-10 14:21:57 +09:00
1c0da3c5b9
Revert "mcexec_open_exec: guard fput and add to mckernel_exec_files with spin_lock_irqsave"
...
This reverts commit cba263ff12 .
Change-Id: Ifcd03a2048a3f9d6c155dd8ecd522081b5dde276
2021-03-10 14:21:49 +09:00
cba263ff12
mcexec_open_exec: guard fput and add to mckernel_exec_files with spin_lock_irqsave
...
Change-Id: Id5dae8cb7f947d4e9939bf9c6762c2d1dcdd3776
2021-03-07 17:39:16 +09:00
c80ea0ed23
mcexec_open_exec: make fput and add to mckernel_exec_files atomic
...
Change-Id: Iff4ac8bb9b4ebfcb9c77e84ed3f0a40e6b9efb6a
2021-03-05 14:14:30 +09:00
1070387ed2
SCD_MSG_SCHEDULE_PROCESS: stay on current CPU if set in process' CPU mask
...
Change-Id: I347fe61f8123792648747ec9bf856a9340ea9d9b
2021-03-04 11:29:21 +09:00
eca107f52d
__mcctrl_os_read_write_cpu_register: spin timeout in mcctrl_ikc_send_wait()
...
Change-Id: I918be366c81be96cd76df659e3181a194d440dd8
2021-03-04 11:29:21 +09:00
71c333965c
mcexec: introduction of --flags argument
...
Change-Id: If5b70bf06460fc709444d8135511c3699304d31f
2021-03-04 11:29:21 +09:00
baa7a6adcb
add ENABLE_GCOV option for cmake
...
Change-Id: Ic473dc52d748207e49800d0cd340918a4dce0971
2021-03-01 13:19:28 +09:00
1bfa339ccf
man: mcexec: add "-n <ppn>" option mandatory when using MPI (except Fujitsu MPI)
...
Change-Id: I6d2d0337fdab13325642344529401f86bbadfdcd
2021-03-01 01:19:23 +00:00
dd7b7dbd0e
uti: fix rpmbuild
...
Change-Id: I0cc60d2b38b184168a99a4778fbb5a437278da29
2021-02-27 23:06:32 -05:00
82056961cd
uti: integrate libuti and redirect to mck/libuti.so
...
Change-Id: I74e0f677ea8e1cd06e8ab05d92f1d38f9be8fd7a
2021-02-26 11:03:16 +09:00
0848b64c1d
uti: integrate syscall_intercept
...
Change-Id: Ide14341acdca1450b0ad4f8a16cc078d0743afc8
2021-02-26 10:37:56 +09:00
19cb302d5f
uti: util_indicate_clone: check --enable-uti mcexec option
...
Change-Id: Ic7474d01c18acd1edbc07844d7a7b010b2175f71
2021-02-26 10:37:56 +09:00
90895cfb1f
test: uti: add tofu examples
...
Change-Id: I1c55c872d125201e60b4fe744af74106e1c5d3a4
2021-02-26 10:37:55 +09:00
32afa80718
uti: fix handling UTI_CPU_SET env
...
Change-Id: Icbf8dc7e82bd6983374aefdd0d5b89ad4152c9aa
2021-02-26 10:24:19 +09:00
e3927a0b95
uti: futex: McKernel waker sends IPI to Linux waiter CPU
...
Change-Id: I6f725b3a6b1b26b9f553d8c58132c0c0a4416683
2021-02-26 10:24:19 +09:00
adc5b7102f
uti: futex: cache remote va to remote pa result
...
Change-Id: Idbbb3f2981b76a0235615fceaa6281d2c7134ca2
2021-02-26 10:24:19 +09:00
5d16ce9dcc
uti: identify UTI thread by thread local variable
...
Change-Id: I64372a932378e4ead09ea27fbf5b52062a109756
2021-02-26 10:24:19 +09:00
a9973e913d
uti: futex call function in mcctrl
...
Previously, futex code of McKerenl was called by mccontrol,
but there ware some problems with this method.
(Mainly, location of McKernel image on memory)
Call futex code in mcctrl instead of the one in McKernel image,
giving the following benefits:
1. Not relying on shared kernel virtual address space with Linux any more
2. The cpu id store / retrieve is not needed and resulting in the code
Change-Id: Ic40929b64a655b270c435859fa287fedb713ee5c
refe: #1428
2021-02-26 10:24:19 +09:00
35296c8210
uti: fix syscall response is mis-consumed by __do_in_kernel_irq_syscall
...
Refs: #1617
Change-Id: Iddd8ccd81d7f692f1f45ec888d31c2a87ec521ce
2021-02-25 01:42:29 +00:00
48b1d548f2
__mcctrl_os_read_write_cpu_register: fix timeout
...
Change-Id: Id5a7d316d793bd535f24fd353b214aa12af1dab4
2021-02-15 08:56:04 +00:00
23cd14af7d
__mcctrl_os_read_write_cpu_register: timeout in 1 sec for when McKernel can't respond
...
Change-Id: Ia2d5f64e107697dda1f3bae499eb3afb8a7aedba
2021-02-09 06:09:11 +00:00
4905c8e638
mcexec: propagate error in __NR_gettid handler
...
Change-Id: I0e0f06199970fe839065567dcd5418d017b6ec00
2021-02-03 18:53:33 -05:00
3d71c6a8eb
mcexec_transfer_image(): map exact size of remote memory (instead of forcing PAGE_SIZE)
...
Change-Id: Ic66770af6cdb15b7a2e18a08cbcd1736e5558bdf
2021-02-03 18:53:33 -05:00
1cea75dd51
mcexec: fix strncat missing NULL and pclose of uninitialized
...
Change-Id: I9ce4004580845a983949caa5668b2f950880cd24
2021-02-02 01:51:57 +00:00
1f9fbe82db
mcctrl: fix access to uninitialized usrdata->cpu_topology_list
...
Change-Id: I25a9182b9b470bb069f4f755a67fb50b88817cd2
2021-01-29 09:34:24 +09:00
2460228052
mcctrl: abort on invalid addr in mcexec_transfer_image()
...
Change-Id: Ic064b6ffc30368ff1d3dfb14403e524cbb837ce5
2021-01-19 00:55:20 +00:00
507b937509
Tofu: mcctrl side MMU notifier and CQ/BCH cleanup
...
Conflicts:
executer/kernel/mcctrl/arch/arm64/archdeps.c
executer/kernel/mcctrl/syscall.c
Change-Id: Ided8172331a5469c6ced68fa98a42302812efe71
2021-01-19 00:55:20 +00:00
67334b65c3
rus_vm_fault: vmf_insert_pfn: treat VM_FAULT_NOPAGE as success
...
vmf_insert_pfn is added with the following commit.
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1c8f422059ae5da07db7406ab916203f9417e396
Refer to the following page for the meaning of VM_FAULT_NOPAGE.
https://lwn.net/Articles/242237/
Change-Id: I2b0144a20a57c74e0e2e0d2fc24281852f49b717
2020-12-29 16:31:41 +09:00
b3b1883ad8
eclair: turn off gdb pagination by default
...
Change-Id: I7758d97b90705310bc57cb9b6da6f6af436ea7fb
2020-12-29 16:31:40 +09:00
7145c4d383
TO RESET: stack changes
...
Change-Id: I325420701dfa5e9eac294be086a9d1e7326d95bc
2020-12-29 16:31:40 +09:00
1cf0bd5a78
TO RESET: add debug instruments, map Linux areas for tofu
...
Change-Id: I09880cad3b87182cb663d414041254817c254759
2020-12-29 16:31:39 +09:00
d5716d3c3a
TO RESET: mcctrl_get_request_os_cpu and __mcctrl_os_read_write_cpu_register: show debug messages
...
Change-Id: Ic8430e3fd6a814b888192233b029c942500a2dc9
2020-12-29 16:31:39 +09:00
530110e3a9
Tofu: fix ENABLE_TOFU switching
...
Change-Id: Ib33323d4b59ea8fb4f5f40dff7ea25a36773d5e2
2020-12-24 15:00:14 +09:00
33dd2e60b1
mcexec: memory policy control by environmental variable
...
Refs: #1470
Change-Id: I3d556cae90d31d81572b1c4e5c680e826577d428
2020-12-24 11:18:01 +09:00
e5f4a4e87d
Tofu: proper cleanup of device files when mcexec gets killed
...
Change-Id: I6cb0290f72d96682700f945b29585e132e525ac1
2020-12-09 13:05:54 +09:00
1918df7765
Tofu: support for barrier gate, kmalloc cache
...
Change-Id: I6f4cfec2ec404efd03b332fc3f449a775816230e
2020-12-09 13:05:54 +09:00
41f5c0bdde
MM: deferred zero cleaning on Linux CPUs
...
Change-Id: Icdb8ac807688533be7a95b7101edfd904250cd02
2020-12-09 13:05:53 +09:00
92902d36fc
Tofu: initial version
...
Change-Id: I9c464d5af883c18715a97ca9e9981cf73b260f90
2020-12-09 13:03:01 +09:00
201f5ce500
MM: straight mapping
...
Change-Id: I70871f8c382fb00aa719ed501cc5de436d916d7f
2020-12-08 12:32:10 +09:00