Commit Graph

48 Commits

Author SHA1 Message Date
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
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
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
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
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
a8fe6cce28 Add userland hello world sanity check 2017-10-08 22:19:48 +01:00
f3253d5109 rand_check pid 2017-10-07 07:21:08 +01:00
62976c688b update to qemu v2.9.0! rand_check.c, init_forward.sh 2017-10-07 04:11:08 +01:00
88cd83cd02 init_dev_kmsg 2017-10-01 22:27:25 +01:00
f96d4d55c9 Rm useless init.sh, init_hello and poweroff are not init specific, so rename them more generically 2017-10-01 09:16:07 +01:00
cbea7cc02c your inits are belongz to uz 2017-09-30 21:27:12 +01:00
8d668d6ed3 Use busybox devmem 2017-08-08 11:56:01 +01:00
b2459d07f5 Add a non-root user user0 password "a" 2017-08-06 10:19:37 +01:00
879001563a Attempt uio with devmem. I give up on UIO for now 2017-08-05 23:06:47 +01:00
c6edbfddb0 devmem3 cleanup further 2017-08-05 21:24:16 +01:00
d871c008fb devmem3 2017-08-05 21:18:57 +01:00
83411a0597 sketch uio 2017-08-05 12:32:24 +01:00
1f4f7faeba Document pagemap futher 2017-08-04 08:21:20 +01:00
bb419de1fe Dont override CC for user make 2017-08-04 07:45:13 +01:00
0bb3e8519a Host insane unsafe usage 2017-08-03 04:37:50 +01:00
dfc4981e46 usermem use virt_to_phys_user 2017-08-01 07:56:23 +01:00
25f9913e0c virt_to_phys_user 2017-07-30 23:34:46 +01:00
7d6449d47b bak 2017-07-30 13:34:51 +01:00
46bf3f700e mmap example works 2017-07-30 11:23:31 +01:00
41742640cf mmap gets called, now lets make it actually work 2017-07-27 15:10:41 +01:00
ab6cb2626f failed mmap fop attempt 2017-07-27 00:25:36 +01:00
2eca9280e1 virt_to_phys.sh also works with nopat 2017-07-16 11:32:12 +01:00
058c759ec9 devmem on userland memory...!!!!!! 2017-07-16 07:53:52 +01:00
1428e7a3b5 pagemap_dump! 2017-07-16 07:53:52 +01:00
105341b7ae pagemap_dump! 2017-07-15 12:37:21 +01:00
5941e09d37 yeah, devmem already exists with almost same name and correct :-) 2017-07-12 00:26:12 +01:00
88f1211409 devmem to tabs 2017-06-28 07:16:59 +01:00
9b11287795 cant edit memory 2017-06-27 21:32:30 +01:00
92002a6822 /dev/mem 2017-06-27 21:27:30 +01:00
be105c7106 myinsmod takes params 2017-06-15 07:54:38 +01:00
1f1cf4b0bd Anonymous inode! 2017-06-13 09:44:29 +01:00
1fb095f969 user doc 2017-06-12 09:00:15 +01:00
7d2f79dec9 ioctl example complete! 2017-06-12 08:58:56 +01:00
95a1840683 Rename test to user 2017-06-12 06:59:19 +01:00