177 Commits

Author SHA1 Message Date
39c3a3bf19 fight with right registers 2018-06-10 23:24:18 +01:00
f8f21d7535 right registers 2018-06-10 22:10:36 +01:00
ee07553278 mops: document hardcoding them into benchmarks 2018-06-10 22:10:36 +01:00
37d5fa8df9 buildroot: update to 2018.05
Verify that OpenBLAS x86 build is working as mentioned at:
https://bugs.busybox.net/show_bug.cgi?id=10856#c1
2018-06-09 14:28:47 +01:00
82d4730cb6 eigen: link to pkg-config question 2018-06-03 21:53:56 +01:00
a4bdcf102c eigen: fix build, pkg-config problem 2018-06-03 17:58:41 +01:00
93e383902e libdrm works on x86_64! 2018-06-01 07:59:28 +01:00
3d0a766534 readme: link to the source code we are talking about 2018-05-23 18:25:01 +01:00
1c129ea013 pci: move doc to readme 2018-05-22 09:53:24 +01:00
2ecc6dadb4 readme: create Ctrl-Alt-Del and improve SysRq 2018-05-20 15:35:23 +01:00
d1f676a680 irq: move doc to readme.
Cleanup, interlink, retest and update observations.
2018-05-12 10:55:09 +01:00
04f13937f4 readme: remove myinsmod and myrmmod from index since already mentioned in readme
With time, all of those will be removed, and all will be mentioned on main README instead
2018-05-08 22:30:02 +01:00
7cf9f23ae0 eigen: svd example, use pkg-config 2018-05-08 22:24:18 +01:00
a9a0b93d7c eigen: add hello world
Mention openmp on readme
2018-05-08 17:33:13 +01:00
9f876f7897 c++ userland example 2018-05-08 15:04:41 +01:00
37743c40c3 conf.sh: base insensitive for even less typing 2018-05-06 11:28:54 +01:00
e05f447f87 kprobes 2018-05-05 22:31:02 +01:00
8a826ab16a pr_debug: fix wrong insmod assertions, document mess of printk(KERN_DEBUG 2018-05-05 21:42:47 +01:00
149ab9302b strlen_overflow: cleanup after reddit rush 2018-05-05 09:09:12 +01:00
1b451a70d4 strlen_overflow and CONFIG_FORTIFY_SOURCE 2018-05-05 08:50:01 +01:00
25ebba6d9f br2: enable taskset, create sched_getaffinity, yet undocumented 2018-05-02 09:29:11 +01:00
4e0d9af81f netlink 2018-04-20 17:51:17 +01:00
af210a7671 Move arm to virt armv7, unify arm QEMU and gem5 builds
gem5 requires armv7, and we learnt that the versatiledb we were using
was pre-v7.

We could have moved to -M vexpress-*, but in the end decided to go for
-M virt due to its simpliciy, and uniformity with aarch64.

platform_device: does not work anymore and was removed, since it was tied
to versatilepb.

We left a mention on the README and removed all in tree source. The QEMU
patch is still left as it was.

As a consequence, the linux tree had no other patches, and we now use
vanilla linux by default, which is a great thing for reproducibility.

Another consequence is the /poweroff.out works for arm -M virt,
and we removed all mentions of the problem.
2018-04-19 23:38:17 +01:00
50f2518656 kernel_module, sample_package: correctly forward Buildroot -O and -g flags
readme: improve optimization documentation
2018-04-17 15:05:27 +01:00
72e9fcc4b0 proc_events.c: comment out aarch64 2018-04-17 09:22:20 +01:00
0111ca406b CONFIG_PROC_EVENTS 2018-04-16 13:38:04 +01:00
24cdcdc756 readme: document rdtsc 2018-04-16 00:48:10 +01:00
51e31cdc29 x86_64: rdstc
arm: attempt pmccntr, but didn't work, TODO why: no QEMU support?
2018-04-15 14:10:21 +01:00
f33dab4a1c linux: pr_debug with CONFIG_DYNAMIC_DEBUG=y 2018-04-14 21:27:47 +01:00
a08a87dc0f readme: more info on kernel panics, oops an backtraces.
myinsmod: use either finit or init
2018-04-14 19:11:13 +01:00
7b0bd10c0b ring0 priviledged actions 2018-04-13 14:27:03 +01:00
d992ba4e6e Generalize module_version.c into module_info.c 2018-04-13 09:13:22 +01:00
2427a322fc kstrto 2018-04-13 08:37:00 +01:00
42e634ffd1 debugfs.c: extend example with toplevel file, fop and kstrtoull_from_user 2018-04-13 07:58:58 +01:00
36940cb322 Get rid of Maintainers section for lower level headers
Move benchmark this repo out of conversation, there is plenty of action there!

Move kernel module sections and buildroot sections out of conversation.

Document the instruction count between baseline Buildroot and our monstrosity.

Put ./count-boot-instructions in a separate script.

Link to MIPS graphics QEMU question.

Link to VFIO QEMU question.
2018-03-18 15:14:20 +00:00
e8f09a76e6 Add a shortcute for /eval.sh
Create /eval_base64.sh to overcome quoting and newline limitations.

Documente poweroff's failure on readme.
2018-03-14 21:13:45 +00:00
039b8a498c OpenBLAS
Also don't add br2_local by default, default params are insane.
2018-03-14 12:26:49 +00:00
efb9c5458e parsec: more details, fix errors, more tests 2018-03-10 18:22:09 +00:00
0e4791fd51 Improve kernel module doc 2018-03-05 16:06:30 +00:00
2eff007f7c GEM5 checkpoint switch to HPI for benchmarking.
Don't pass -e on checkpoint restore.

Add benchmarks to how much GEM5 is slower than QEMU.

Rename Kernel boot command line arguments to match kernel docs name.

Document how to pass extra options to GEM5.

Start listing interesting benchmarks to run on GEM5.

Add an openmp hello world.
2018-02-25 10:59:28 +00:00
6420c31986 GEM5 gdb debug
Improve GEM5 documentation in general.

Fix documentation for x86 kernel module debugging example, fop_write had been made static,
and use timer.ko instead of fops which is more reliable and fun.
2018-02-22 10:05:57 +00:00
66e7208364 Make aarch64 boot again and explain its limitations better.
Restore lkmc_min that was accidentaly removed.

Explain how to remove modules that fail to build.
2018-02-14 07:56:35 +00:00
254c8bf42e adoc
Semi automated conversion, in part because Pandoc is kind of buggy for adoc:

Some of the commands were along the lines:

    for f in *.md; do pandoc --atx-headers --base-header-level=3 -o ${f%.md}.adoc --wrap=none $f; done
    sed -Ei '/\[\[.*\]\]/d' *.adoc
    while read -r f; do cat $f; echo; done <f >g
2018-02-14 04:26:07 +00:00
dc495f9334 Linux v4.15 2018-01-31 23:21:11 +00:00
12abf43b78 Attempt migration to Buildroot 2017.08 + kernel 4.12.
Build fails at: https://git.busybox.net/buildroot/commit/?id=c128c5f3c79b31d89256ffbc5c650ba613d3d52b
2017-11-16 00:57:03 +00:00
2e04c96fad MODULE_VERSION and srcversion 2017-11-13 15:49:22 +00:00
98756d2454 Fix workqueue_cheat README link 2017-11-13 14:34:56 +00:00
844b7c0411 Fix workqueue cheat link 2017-11-13 14:34:25 +00:00
fa0a7e150d Less converstaion 2017-11-13 14:25:24 +00:00
9ec43c4e88 lkmc_platform_device read example 2017-11-11 14:11:23 +00:00