[RFC PATCH 1/3] labs: add lab infrastructure and documentation

2018-02-11 Thread Daniel Baluta
s the labs infrastructure which allows us to build and test kernel modules in a qemu environment. Signed-off-by: Octavian Purdila Signed-off-by: Daniel Baluta --- Documentation/labs/conf.py| 1 + Documentation/labs/exercises-summary.hrst | 42 Documentation/labs/exe

[RFC PATCH 3/3] labs: add kernel api lab

2018-02-11 Thread Daniel Baluta
From: Octavian Purdila Add the documentation and templates for the kernel modules lab which focuses on: familiarizing with the basic Linux kernel API, describing memory allocation and locking mechanism. Signed-off-by: Octavian Purdila Signed-off-by: Daniel Baluta --- Documentation/labs

[RFC PATCH 0/3] Introduce Linux kernel labs documentation

2018-02-11 Thread Daniel Baluta
The Linux kernel labs documentation is a collection of "labs" for various device driver topics. For each topic there are two parts: a walk-through which explain the basic concepts and a hands-on part which contains a few exercises. This patch series introduces the lab infrastructure and documentat

[RFC PATCH 2/3] labs: add kernel modules lab

2018-02-11 Thread Daniel Baluta
Purdila Signed-off-by: Daniel Baluta --- Documentation/labs/index.rst | 1 + Documentation/labs/kernel_modules.rst | 961 + .../templates/kernel_modules/1-2-test-mod/Kbuild | 3 + .../kernel_modules/1-2-test-mod/hello_mod.c| 21

Re: [Outreachy kernel] [PATCH v2] Documentation: admin-guide: Fix typos

2017-03-14 Thread Daniel Baluta
On Tue, Mar 14, 2017 at 10:38 AM, Tamara Diaconita wrote: > Fix typos in admin-guide directory. > Make documentation clear and grammatically correct. > > Signed-off-by: Tamara Diaconita Also for easier reviewing next patches you can mention in the commit message what were the typos: e.g: witdh

Re: [PATCH v6 20/24] iio: imu: inv_mpu6050: change the i2c gate to be mux-locked

2016-04-18 Thread Daniel Baluta
//patchwork.ozlabs.org/patch/584776/ authored by >> Adriana Reus and submitted by >> Daniel Baluta >> >> --8<-- >> iio: imu: inv_mpu6050: Fix deadlock between i2c adapter lock and mpu lock >> >> This deadlock occurs if the accel/gyr

Re: [PATCH 1/3] iio: core: Add devm_ APIs for iio_channel_{get,release}

2016-04-06 Thread Daniel Baluta
On Wed, Apr 6, 2016 at 1:31 PM, Laxman Dewangan wrote: > Some of kernel driver uses the IIO framework to get the sensor > value via ADC or IIO HW driver. The client driver get iio channel > by iio_channel_get() and release it by calling iio_channel_release(). > > Add resource managed version (devm