Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: lectures: Add mm lecture #55

Closed
wants to merge 140 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
f232ff9
labs: add lab infrastructure and documentation
tavip Jun 30, 2017
cc3525c
labs: add kernel modules lab
tavip Jun 30, 2017
e80133f
labs: add kernel api lab
tavip Jun 30, 2017
a9e47bc
labs: add device drivers lab
tavip Jun 30, 2017
9983afd
labs: add I/O access and interrupts lab
tavip Jun 30, 2017
e4a004e
labs: add deferred work lab
tavip Jun 30, 2017
86d4a8f
labs: add memory mapping lab
tavip Jun 30, 2017
f08b9e4
labs: add device model lab
tavip Jun 30, 2017
605d223
labs: add lab infrastructure and documentation
tavip Jun 30, 2017
cda9ea5
labs: add kernel modules lab
tavip Jun 30, 2017
6c98f7c
labs: add kernel api lab
tavip Jun 30, 2017
c8f2815
labs: add device drivers lab
tavip Jun 30, 2017
ce41d39
labs: add I/O access and interrupts lab
tavip Jun 30, 2017
e59056d
labs: add deferred work lab
tavip Jun 30, 2017
4c5580e
labs: add memory mapping lab
tavip Jun 30, 2017
dd1229f
labs: add device model lab
tavip Jun 30, 2017
bdc7674
Merge pull request #4 from dbaluta/kernel-labs-v4.15
dbaluta Feb 11, 2018
ac75ef3
Documentation: move from labs to teaching/labs
tavip Feb 20, 2018
fbfab0e
Documentation: add support for slides
tavip May 30, 2017
0f59b21
tools: labs: build slides
tavip Feb 20, 2018
58e2976
Documentation: add ditaa sphinx directive
tavip Feb 20, 2018
5f89d7b
Documentation: sphinx: ditaa: fix relative image names
tavip Feb 20, 2018
8002421
tools: labs: add requirements.txt
tavip Feb 20, 2018
ca5465b
Documentation: teaching: add intro lecture
tavip Feb 20, 2018
414c483
Merge pull request #5 from tavip/lklabs-lectures-intro
tavip Feb 20, 2018
10cf683
.circleci: add initial build configuration
tavip Feb 21, 2018
3cb002d
Merge pull request #6 from tavip/lktp-ci
tavip Feb 22, 2018
77def8f
Documentation: fix common substitutions
tavip Feb 23, 2018
24cfdef
Merge pull request #8 from tavip/lktp-3
tavip Feb 24, 2018
77180a9
labs: add introduction lab
andanicolae Feb 25, 2018
e8ca6da
Merge pull request #10 from andanicolae/lab1-introduction-docs
tavip Feb 25, 2018
a16e12f
Documentation: teaching: convert TABS to spaces in ditaa directives
tavip Feb 24, 2018
f9e2546
hello_assignment: move sources from elf repo and configure build
alexandrasandulescu Feb 26, 2018
e38813b
hello_assignment: checker asks for module path
alexandrasandulescu Feb 26, 2018
d5010c7
hello_assignment: remove unnecessary files; fix coding style
alexandrasandulescu Feb 26, 2018
1c39ca7
Documentation: teaching: intro lecture: fix list unindent
tavip Feb 27, 2018
8a4b0a4
Documentation: conf.py: use add_stylesheet instead of html_context
tavip Feb 26, 2018
9260360
Documentation: add asciicast directive
tavip Feb 26, 2018
4cdab6d
Documentation: ditaa: stop on errors
tavip Feb 26, 2018
3689baa
Documentation: teaching: conf.py: add non breakable space substitution
tavip Feb 27, 2018
0f38c30
tools: labs: install gdb scripts
tavip Feb 27, 2018
b277d87
Corrected minor typos in intro lecture
alex-mocanu Feb 27, 2018
aa64318
Corrected formulation in intro lecture
alex-mocanu Feb 27, 2018
bdb7300
Documentation: teaching: add system calls lecture
tavip Feb 27, 2018
d49ac51
Merge pull request #14 from alex-mocanu/master
tavip Feb 27, 2018
1c634de
Merge pull request #13 from tavip/lktp-syscalls
tavip Feb 27, 2018
be0e9d8
Documentation: teaching: syscall lecture: fix slide to fit
tavip Feb 27, 2018
11584a0
Merge pull request #15 from tavip/lktp-syscalls-fixes
tavip Feb 27, 2018
0b2c9ac
Documentation: teaching: lectures: intro.rst: Corrected minor typos
rbaronescu Feb 27, 2018
55d91c1
Merge pull request #16 from rbaronescu/master
tavip Feb 27, 2018
9621a92
Merge pull request #11 from alexandrasandulescu/hello
tavip Feb 28, 2018
c28ef35
assignment: kernel-api: Add initial list skeleton file
dbaluta Mar 1, 2018
7b77a3d
assignment: kernel-api: Add checker
dbaluta Mar 1, 2018
bf831fd
Merge pull request #18 from dbaluta/master
tavip Mar 2, 2018
0c157a7
lab 02 nitpicking and broken links fix
andanicolae Mar 4, 2018
8ccd1c0
labs: kernel_modules: Add dyndbg exercise
valighita Mar 4, 2018
24e8f4a
Add cscope COMPILE_SOURCE paragraph
Sergiu121 Mar 2, 2018
5955a65
Fix typos in intro lecture
Sergiu121 Mar 2, 2018
3e37246
Fix typos in syscalls lecture
Sergiu121 Mar 2, 2018
e23b879
Merge pull request #19 from Sergiu121/master
dbaluta Mar 4, 2018
a6d54c1
Documentation: teaching: labs: introduction: Fix typos
andadrn Mar 4, 2018
28eabf8
Merge pull request #21 from valx90/lab02-add-missing-dyndbg-skel-dir
dbaluta Mar 5, 2018
a47f8fb
Merge pull request #20 from andanicolae/lab02-kernel-modules
dbaluta Mar 5, 2018
0f9c0c5
Documentation: teaching: lectures: syscalls.rst: Corrected minor typos
rbaronescu Mar 5, 2018
815b8cb
Merge pull request #25 from rbaronescu/master
dbaluta Mar 6, 2018
2b3cbe9
Corect typos
ramele1907 Mar 6, 2018
6d1bf51
Merge branch 'master' of https://github.com/ramele1907/linux
ramele1907 Mar 6, 2018
babf653
lab03: kernel_api: update exercises requirements
andanicolae Mar 6, 2018
b00025c
Merge pull request #26 from ramele1907/master
dbaluta Mar 7, 2018
70d5636
lab03: kernel_api: fixes
andanicolae Mar 10, 2018
bd169a7
Merge pull request #28 from andanicolae/lab03-update-exercises
dbaluta Mar 11, 2018
cfffb16
Documentation: lectures: Add draft 'Interrupts' lecture
dbaluta Mar 10, 2018
ed8e26a
Merge pull request #30 from dbaluta/master
dbaluta Mar 13, 2018
7568811
lab04: exercises: Fix TODO numbers.
valighita Mar 13, 2018
ed00a31
Merge pull request #33 from valx90/lab04-fix-wrong-todo-numbers
dbaluta Mar 13, 2018
2e95ab8
tracer_assignment: add checker and tracer skel
alexandrasandulescu Mar 15, 2018
0865b29
Merge pull request #34 from alexandrasandulescu/tracer-assignment
dbaluta Mar 16, 2018
e73f099
fixed access variable reset method
crmares Mar 18, 2018
8c0c49f
tracer_assignment: fix checker issue
alexandrasandulescu Mar 19, 2018
b343acd
Merge pull request #36 from alexandrasandulescu/tracer-assignment-issue
dbaluta Mar 19, 2018
ade5e0f
Merge pull request #35 from crmares/master
dbaluta Mar 19, 2018
ea57f65
Documentation: teaching: add smp lecture
tavip Mar 20, 2018
6865555
Merge pull request #37 from tavip/lklabs-lectures-smp
dbaluta Mar 20, 2018
714e32b
Documentation: teaching: lectures: smp: small improvements and fixes
tavip Mar 20, 2018
3fc0b79
Corrected some minor errors in interrupts.rst.
rbaronescu Mar 20, 2018
759ede7
Merge pull request #38 from tavip/lklabs-lectures-smp-fixes
dbaluta Mar 21, 2018
bdbdde9
Merge pull request #1 from linux-kernel-labs/master
crmares Mar 21, 2018
5d60381
Corrected minor typos/issues
crmares Mar 21, 2018
c97e741
changed underline size
crmares Mar 21, 2018
f0c1034
fixed pr_info
crmares Mar 22, 2018
e2c762f
Merge pull request #40 from rbaronescu/master
tavip Mar 25, 2018
50e4fbe
lab02: kernel_modules: Add extra exercises
andanicolae Mar 5, 2018
681c64c
Merge branch 'master' into master
tavip Mar 25, 2018
aeb2936
Merge pull request #22 from andadrn/master
tavip Mar 25, 2018
9b6771c
Merge pull request #41 from crmares/master
tavip Mar 25, 2018
c0c005a
Documentation: tools: labs: Use assignments subfolder for assignments
razvand Mar 26, 2018
75e2e0a
Documentation: tools: labs: Use _checker script name for 00-hello ass…
razvand Mar 26, 2018
4822c7b
Documentation: tools: labs: Add skeleton and checker for assignment 0…
razvand Mar 26, 2018
5bb709b
Documentation: tools: labs: Move skeleton and checker for 1-tracer in…
razvand Mar 26, 2018
5781d0d
Merge pull request #42 from razvand/refactor-assignments
razvand Mar 26, 2018
c81700d
Documentation: tools: labs: update timer API for 4.15 kernel
andanicolae Mar 26, 2018
b27c923
Documentation: tools: labs: update timer handler parameter name
andanicolae Mar 26, 2018
8719296
Documentation: teaching: Add draft debugging lecture
dbaluta Mar 26, 2018
291b75a
tools: labs: debugging: Add samples for debugging lecture
dbaluta Mar 26, 2018
1cd009b
Documentation: lectures: debugging: Add gdb examplew
dbaluta Mar 27, 2018
46f271f
Merge pull request #43 from andanicolae/lab06-update-timer-api
tavip Mar 27, 2018
cd6a81e
tools: assignments: 1-tracer: Fix open device file test assertion fai…
alexandrasandulescu Mar 28, 2018
c663f33
Merge pull request #46 from alexandrasandulescu/fix-test
dbaluta Mar 28, 2018
3e751a9
tools: assignments: 2-uart: Migrate code from former repo
alexandrasandulescu Mar 28, 2018
0eafede
tools: assignments: 2-uart: Adapt code to new environment
alexandrasandulescu Mar 28, 2018
acb165f
tools: assignments: 2-uart: Fix environment setup
alexandrasandulescu Mar 28, 2018
8c79310
Merge pull request #47 from alexandrasandulescu/2-uart
dbaluta Mar 29, 2018
aaf4e45
tools: assignments: 5-pitix: Migrate code from former repo
alexandrasandulescu Mar 29, 2018
c83a63d
tools: assignments: 5-pitix: Apply checkpatch.pl
alexandrasandulescu Mar 29, 2018
855add6
tools: assignments: 5-pitix: Replace busybox incompatible commands
alexandrasandulescu Mar 29, 2018
869c02f
Merge pull request #48 from alexandrasandulescu/5-pitix
dbaluta Mar 29, 2018
b616a96
lab02: kernel_modules: nitpicking
andanicolae Mar 6, 2018
be5368a
Merge pull request #44 from dbaluta/master
dbaluta Mar 30, 2018
47f35b2
tools: assignments: 2-uart: Add missing object to templates
alexandrasandulescu Mar 30, 2018
920ed18
Merge pull request #49 from alexandrasandulescu/2-uart-fix
dbaluta Mar 30, 2018
e6c6027
Merge pull request #24 from andanicolae/lab02-add-extra-exercises
tavip Mar 30, 2018
7516e72
tools: assignments: 5-pitix: Add missing resources
alexandrasandulescu Apr 10, 2018
f3a3648
Merge pull request #51 from alexandrasandulescu/miss
razvand Apr 10, 2018
1b64dfc
lab07: add block devices lab template
valighita Apr 9, 2018
5f1fa7f
Documentation: teaching: labs: Add lab07 Block Device Drivers
andanicolae Apr 10, 2018
5d55dde
Documentation: teaching: labs: lab07 fixes
andanicolae Apr 10, 2018
65b3cf6
Documentation: teaching: labs: lab07 fixes
andanicolae Apr 13, 2018
0279b3c
labs: lab08: add filesystem part1 lab template
valighita Apr 16, 2018
1a388d6
tools: assignment: 3-raid: Add assignment
alexandrasandulescu Apr 15, 2018
b578a1e
labs: lab09: add filesystem part2 lab template
valighita Apr 23, 2018
3650c38
labs: lab10: add networking lab template
valighita Apr 26, 2018
44b6377
Merge pull request #59 from valx90/lab10-add-networking-lab-template
razvand May 1, 2018
6e79a74
tools: labs: Update setup for QEMU image and Linux kernel 4.15
razvand May 2, 2018
2530909
Merge pull request #61 from razvand/lab10-update
razvand May 2, 2018
680768f
assignments: stp: Add environment support for transport protocol
alexandrasandulescu May 6, 2018
c6516c4
Documentation: teaching: labs: lab11 nitpicking
andanicolae May 6, 2018
8ae4881
tools: labs: assignments: Add ix-e100 driver skeleton
dbaluta May 19, 2018
471e6ab
tools: labs: Add second network interface for e100 assignment
dbaluta May 19, 2018
3703eda
tools: labs: Add nttcp binary
dbaluta May 19, 2018
53ff196
tools: labs: Fix second tap interface
dbaluta May 20, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 80 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
version: 2
general:
artifacts:

jobs:
build:
docker:
- image: lktp/publish:0.2
environment:
[email protected]:linux-kernel-labs/linux-kernel-labs.github.io.git
steps:
- restore_cache:
key: code-tree-shallow
- run:
name: checkout
command: |
set -x
mkdir -p ~/.ssh/
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
git config --global user.email "[email protected]"
git config --global user.name "Circle CI"
if ! [ -d linux ]; then
git clone --depth=1 $CIRCLE_REPOSITORY_URL;
fi
if cd linux; then
if [[ $CIRCLE_BRANCH == pull/* ]]; then
git fetch --depth=1 origin $CIRCLE_BRANCH/head;
else
git fetch --depth=1 origin $CIRCLE_BRANCH;
fi
git reset --hard $CIRCLE_SHA1
cd ..
fi
if ! [ -d linux-kernel-labs.github.io ]; then
git clone --depth=1 $GITHUB_IO
fi
if cd linux-kernel-labs.github.io; then
git fetch --depth=1 origin master
git reset --hard origin/master
cd ..
fi
- save_cache:
key: code-tree-shallow-{{ epoch }}
paths:
- /home/ubuntu/project/linux/.git
- /home/ubuntu/project/linux-kernel-labs.github.io/.git
- run:
name: build
command: |
rm -rf linux/Documentation/output
cd linux/tools/labs && make docs
- add_ssh_keys:
fingerprints:
"8e:db:3c:ef:d0:4e:84:9f:78:46:e9:2f:1a:1e:32:81"
- run:
name: publish
command: |
set -x
if cd linux-kernel-labs.github.io; then
rm -rf $CIRCLE_BRANCH
mkdir -p $CIRCLE_BRANCH
cp -r ../linux/Documentation/output/teaching/* $CIRCLE_BRANCH/
git add $CIRCLE_BRANCH/
git commit --allow-empty -m "Publish $CIRCLE_BRANCH (built from ${CIRCLE_PULL_REQUEST:-$CIRCLE_BRANCH})"
git push
export GITHUB_SHA=$CIRCLE_SHA1
export GITHUB_USER=linux-kernel-labs
export GITHUB_REPO=$CIRCLE_PROJECT_REPONAME
export GITHUB_CONTEXT="ci/circleci: publish"
export GITHUB_TARGET_URL="http://linux-kernel-labs.github.io/$CIRCLE_BRANCH"
export GITHUB_DESCRIPTION="published at $GITHUB_TARGET_URL"
github-status-reporter --state success --debug
cd ..
fi

workflows:
version: 2
build:
jobs:
- build
3 changes: 3 additions & 0 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ quiet_cmd_sphinx = SPHINX $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
htmldocs:
@+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,html,$(var),,$(var)))

slides:
@+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,slides,$(var),,$(var)))

linkcheckdocs:
@$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,linkcheck,$(var),,$(var)))

Expand Down
21 changes: 16 additions & 5 deletions Documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
import sys
import os
import sphinx
import subprocess

from distutils.version import LooseVersion

# Get Sphinx version
major, minor, patch = sphinx.version_info[:3]
Expand Down Expand Up @@ -42,6 +45,16 @@
else:
extensions.append("sphinx.ext.pngmath")

try:
hglyph_ver = subprocess.check_output(["hieroglyph", "--version"])
if LooseVersion(hglyph_ver) > LooseVersion("1.0.0"):
extensions.append('hieroglyph')
except:
None

extensions.append("ditaa")
extensions.append("asciicast")

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down Expand Up @@ -184,11 +197,9 @@

html_static_path = ['sphinx-static']

html_context = {
'css_files': [
'_static/theme_overrides.css',
],
}
def setup(app):
app.add_stylesheet('theme_overrides.css')


# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Expand Down
1 change: 1 addition & 0 deletions Documentation/media/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ epub: all
xml: all
latex: $(IMGPDF) all
linkcheck:
slides: all

clean:
-rm -f $(DOTTGT) $(IMGTGT) ${TARGETS} 2>/dev/null
Expand Down
Loading