[PATCH 03/10] mfd / platform: cros_ec: Miscellaneous character device to talk with the EC

2019-06-04 Thread Enric Balletbo i Serra
hrome subsystem. Signed-off-by: Enric Balletbo i Serra --- Documentation/ioctl/ioctl-number.txt | 2 +- drivers/mfd/cros_ec_dev.c | 2 +- drivers/platform/chrome/Kconfig | 11 + drivers/platform/chrome/Makefile | 1 + drivers/platform/c

[PATCH v2 03/10] mfd / platform: cros_ec: Miscellaneous character device to talk with the EC

2019-06-14 Thread Enric Balletbo i Serra
hrome subsystem. Signed-off-by: Enric Balletbo i Serra Acked-by: Andy Shevchenko --- Changes in v2: - Remove the list, and the lock, as are not needed (Greg Kroah-Hartman) - Remove dev_info in probe, anyway we will see the chardev or not if the probe fails (Greg Kroah-Hartman) Documentation/

[PATCH 0/5] dm: boot a mapped device without an initramfs

2017-04-11 Thread Enric Balletbo i Serra
https://patchwork.kernel.org/patch/104857/ https://patchwork.kernel.org/patch/104856/ https://patchwork.kernel.org/patch/104858/ Best regards, Enric Brian Norris (1): dm: move dm_table_destroy() to same header as dm_table_create() Enric Balletbo i Serra (1): dm: move dm definitions outside the pr

[PATCH 1/5] dm: move dm_table_destroy() to same header as dm_table_create()

2017-04-11 Thread Enric Balletbo i Serra
From: Brian Norris If anyone is going to use dm_table_create(), they probably should be able to use dm_table_destroy() too. Move the dm_table_destroy() definition outside the private header, near dm_table_create() Signed-off-by: Brian Norris Signed-off-by: Enric Balletbo i Serra --- drivers

[PATCH 5/5] dm verity: add support for version 0 of the on-disk format

2017-04-11 Thread Enric Balletbo i Serra
still used in most devices. This patch adds support for the original on-disk format so you can decide which want you want to use. Signed-off-by: Will Drewry Signed-off-by: Enric Balletbo i Serra --- drivers/md/dm-verity-target.c | 279 -- init

[PATCH 3/5] dm: export a table+mapped device to the ioctl interface

2017-04-11 Thread Enric Balletbo i Serra
: Will Drewry Signed-off-by: Enric Balletbo i Serra --- drivers/md/dm-ioctl.c | 39 +++ include/linux/device-mapper.h | 6 ++ 2 files changed, 45 insertions(+) diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index 4da6fc6..cdd7a14 100644

[PATCH 4/5] init: add support to directly boot to a mapped device

2017-04-11 Thread Enric Balletbo i Serra
From: Will Drewry Add a dm= kernel parameter modeled after the md= parameter from do_mounts_md. It allows for device-mapper targets to be configured at boot time for use early in the boot process (as the root device or otherwise). Signed-off-by: Will Drewry Signed-off-by: Enric Balletbo i

[PATCH 2/5] dm: move dm definitions outside the private header to boot dm targets.

2017-04-11 Thread Enric Balletbo i Serra
() dm_get_md_type() dm_setup_md_queue() Signed-off-by: Enric Balletbo i Serra --- drivers/md/dm.h | 7 --- include/linux/device-mapper.h | 8 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/md/dm.h b/drivers/md/dm.h index c54d2f1..6b501b5 100644 --- a

Re: [PATCH 5/5] dm verity: add support for version 0 of the on-disk format

2017-04-11 Thread Enric Balletbo i Serra
On 11/04/17 19:21, Milan Broz wrote: > On 04/11/2017 05:33 PM, Enric Balletbo i Serra wrote: >> From: Will Drewry >> >> Version 0 of the on-disk format is compatible with the format used in the >> Chromium OS. This patch adds support for this version. >> >&g

[PATCH v6 3/3] init: add support to directly boot to a mapped device

2017-04-18 Thread Enric Balletbo i Serra
-by: Enric Balletbo i Serra --- v6: setup md->queue to reflect md's type, fix memory leak on error path v5: resurrection, multiple devices, cleanups, error reporting improvements v4: https://patchwork.kernel.org/patch/104861/ --- Documentation/admin-guide/kernel-parameters.r

[PATCH v6 2/3] dm: export a table+mapped device to the ioctl interface

2017-04-18 Thread Enric Balletbo i Serra
: Will Drewry Signed-off-by: Kees Cook Signed-off-by: Enric Balletbo i Serra --- v6: none v5: resurrection v4: https://patchwork.kernel.org/patch/104860/ --- drivers/md/dm-ioctl.c | 36 include/linux/device-mapper.h | 6 ++ 2 files changed, 42

[PATCH v6 0/3] dm: boot a mapped device without an initramfs

2017-04-18 Thread Enric Balletbo i Serra
Hello, Some of these patches were send few years back, I saw that first version was send to this list in 2010, and after version 4 did not land [1]. Some days ago I resend the patches [2] and few hours later I noticed that one year ago was send a v5 version [3] and I was not aware. There was some

[PATCH v6 1/3] dm: make some mapped_device functions available

2017-04-18 Thread Enric Balletbo i Serra
From: Brian Norris For init to build a mapped_device, it must hold the appropriate locks, able to use dm_table_destroy() and the functions to get/set the md type, so move these to the common header. Signed-off-by: Brian Norris Signed-off-by: Kees Cook Signed-off-by: Enric Balletbo i Serra

[PATCH v7 0/2] dm: boot a mapped device without an initramfs

2017-05-18 Thread Enric Balletbo i Serra
-devel/2016-February/msg00112.html [1] https://www.redhat.com/archives/linux-lvm/2017-May/msg00047.html Wating for your feedback, Enric Balletbo i Serra (1): dm ioctl: add a device mapper ioctl function. Will Drewry (1): init: add support to directly boot to a mapped device Documentation/admin

[PATCH v7 1/2] init: add support to directly boot to a mapped device

2017-05-18 Thread Enric Balletbo i Serra
use dm_ioctl calls] Signed-off-by: Enric Balletbo i Serra --- Documentation/admin-guide/kernel-parameters.rst | 1 + Documentation/admin-guide/kernel-parameters.txt | 3 + Documentation/device-mapper/dm-boot.txt | 65 init/Makefile | 1 + init

[PATCH v7 2/2] dm ioctl: add a device mapper ioctl function.

2017-05-18 Thread Enric Balletbo i Serra
Add a dm_ioctl_cmd to issue the equivalent of a DM ioctl call in kernel. Signed-off-by: Enric Balletbo i Serra --- drivers/md/dm-ioctl.c | 45 +++ include/linux/device-mapper.h | 6 ++ 2 files changed, 51 insertions(+) diff --git a/drivers

[PATCH v8 1/2] init: add support to directly boot to a mapped device

2017-05-19 Thread Enric Balletbo i Serra
use dm_ioctl calls] Signed-off-by: Enric Balletbo i Serra --- Documentation/admin-guide/kernel-parameters.rst | 1 + Documentation/admin-guide/kernel-parameters.txt | 3 + Documentation/device-mapper/dm-boot.txt | 65 init/Makefile | 1 + init

[PATCH v8 2/2] dm ioctl: add a device mapper ioctl function.

2017-05-19 Thread Enric Balletbo i Serra
Add a dm_ioctl_cmd to issue the equivalent of a DM ioctl call in kernel. Signed-off-by: Enric Balletbo i Serra --- drivers/md/dm-ioctl.c | 50 +++ include/linux/device-mapper.h | 6 ++ 2 files changed, 56 insertions(+) diff --git a/drivers

[PATCH v8 0/2] dm: boot a mapped device without an initramfs

2017-05-19 Thread Enric Balletbo i Serra
and semi-colon delimited dmsetup-like commands. Changes since v5: - https://www.redhat.com/archives/dm-devel/2016-February/msg00112.html [1] https://www.redhat.com/archives/linux-lvm/2017-May/msg00047.html Wating for your feedback, Enric Balletbo i Serra (1): dm ioctl: add a device mapper