[PATCH v8] drivers/misc: sysgenid: add system generation id driver

2021-03-08 Thread Adrian Catangiu
does not guarantee complete snapshot safety to applications using it. A certain workflow needs to be followed at the system level, in order to make the system snapshot-resilient. Please see the "Snapshot Safety Prerequisites" section in the included documentation. Signed-off-by: Adria

[PATCH v7 2/2] drivers/virt: vmgenid: add vm generation id driver

2021-02-24 Thread Adrian Catangiu
the driver also adds it as device randomness to improve kernel entropy following VM snapshot events. This patch builds on top of Or Idgar 's proposal https://lkml.org/lkml/2018/3/1/498 Signed-off-by: Adrian Catangiu --- Documentation/virt/vmgenid.rst | 36 ++ MAINTAINERS

[PATCH v7 0/2] System Generation ID driver and VMGENID backend

2021-02-24 Thread Adrian Catangiu
ontaining Vm Gen Counter in the user vma in the driver's mmap handler instead of using a fault handler - turn driver into a misc device driver to auto-create /dev/vmgenid - change ioctl arg to avoid leaking kernel structs to userspace - update documentation Adrian Catangiu (2): drivers/

[PATCH v7 1/2] drivers/misc: sysgenid: add system generation id driver

2021-02-24 Thread Adrian Catangiu
snapshot safety to applications using it. A certain workflow needs to be followed at the system level, in order to make the system snapshot-resilient. Please see the "Snapshot Safety Prerequisites" section in the included documentation. Signed-off-by: Adrian Catangiu --- Documentation/mi

[PATCH v6 2/2] drivers/virt: vmgenid: add vm generation id driver

2021-02-22 Thread Adrian Catangiu
the driver also adds it as device randomness to improve kernel entropy following VM snapshot events. This patch builds on top of Or Idgar 's proposal https://lkml.org/lkml/2018/3/1/498 Signed-off-by: Adrian Catangiu --- Documentation/virt/vmgenid.rst | 36 ++ MAINTAINERS

[PATCH v6 1/2] drivers/misc: sysgenid: add system generation id driver

2021-02-22 Thread Adrian Catangiu
using it. A certain workflow needs to be followed at the system level, in order to make the system snapshot-resilient. Please see the "Snapshot Safety Prerequisites" section in the included documentation. Signed-off-by: Adrian Catangiu --- Documentation/misc-devices/sysgenid.rst

[PATCH v6 0/2] System Generation ID driver and VMGENID backend

2021-02-22 Thread Adrian Catangiu
the driver's mmap handler instead of using a fault handler - turn driver into a misc device driver to auto-create /dev/vmgenid - change ioctl arg to avoid leaking kernel structs to userspace - update documentation Adrian Catangiu (2): drivers/misc: sysgenid: add system generation id d

[PATCH v4 2/2] drivers/virt: vmgenid: add vm generation id driver

2021-01-12 Thread Adrian Catangiu via
here would be greatly appreciated. Signed-off-by: Adrian Catangiu --- Documentation/virt/vmgenid.rst | 34 + drivers/virt/Kconfig | 14 drivers/virt/Makefile | 1 + drivers/virt/vmgenid.c | 153 + 4 files ch

[PATCH v4 1/2] drivers/misc: sysgenid: add system generation id driver

2021-01-12 Thread Adrian Catangiu via
update. Signed-off-by: Adrian Catangiu --- Documentation/misc-devices/sysgenid.rst | 240 + drivers/misc/Kconfig| 16 ++ drivers/misc/Makefile | 1 + drivers/misc/sysgenid.c | 298

[PATCH v4 0/2] System Generation ID driver and VMGENID backend

2021-01-12 Thread Adrian Catangiu via
d of using a fault handler - turn driver into a misc device driver to auto-create /dev/vmgenid - change ioctl arg to avoid leaking kernel structs to userspace - update documentation - various nits - rebase on top of linus latest Adrian Catangiu (2): drivers/misc: sysgenid: add system ge