Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1224093
| From | Emilio López <emilio.lopez@collabora.co.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/3] platform/chrome: vboot context support |
| Date | 2015-09-14 14:40 +0200 |
| Message-ID | <q8Bd7-6hL-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi everyone, This series adds support for reading and writing the verified boot context nvram space on the EC using the cros_ec sysfs interface. The first patch improves is_visible() functionality, making it work for binary attributes as well as normal ones. This is needed so the sysfs group can be hidden when the EC doesn't offer any space for the context. The second patch is the actual code implementing the interface to read and write the context data. The third patch adds the DT properties on peach boards which, judging by the vendor tree, use the EC to store the verified boot context. The series was tested on a peach pi and was found to work OK there. As always, all comments and further tests are welcome :) Cheers! Emilio Emilio López (3): sysfs: Support is_visible() on binary attributes platform/chrome: Support reading/writing the vboot context ARM: dts: Enable EC vboot context support on Peach boards Documentation/devicetree/bindings/mfd/cros-ec.txt | 4 + arch/arm/boot/dts/exynos5420-peach-pit.dts | 1 + arch/arm/boot/dts/exynos5800-peach-pi.dts | 1 + drivers/platform/chrome/Makefile | 5 +- drivers/platform/chrome/cros_ec_dev.c | 1 + drivers/platform/chrome/cros_ec_vbc.c | 137 ++++++++++++++++++++++ fs/sysfs/group.c | 17 ++- include/linux/mfd/cros_ec.h | 1 + include/linux/sysfs.h | 18 ++- 9 files changed, 178 insertions(+), 7 deletions(-) create mode 100644 drivers/platform/chrome/cros_ec_vbc.c -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 0/3] platform/chrome: vboot context support Emilio López <emilio.lopez@collabora.co.uk> - 2015-09-14 14:40 +0200
[PATCH v2 2/3] platform/chrome: Support reading/writing the vboot context Emilio López <emilio.lopez@collabora.co.uk> - 2015-09-14 14:40 +0200
Re: [PATCH v2 2/3] platform/chrome: Support reading/writing the vboot context Javier Martinez Canillas <javier@dowhile0.org> - 2015-09-15 15:50 +0200
Re: [PATCH v2 2/3] platform/chrome: Support reading/writing the vboot context Emilio López <emilio.lopez@collabora.co.uk> - 2015-09-15 21:20 +0200
Re: [PATCH v2 2/3] platform/chrome: Support reading/writing the vboot context Javier Martinez Canillas <javier@dowhile0.org> - 2015-09-15 21:50 +0200
Re: [PATCH v2 2/3] platform/chrome: Support reading/writing the vboot context Emilio López <emilio.lopez@collabora.co.uk> - 2015-09-15 22:30 +0200
Re: [PATCH v2 2/3] platform/chrome: Support reading/writing the vboot context Javier Martinez Canillas <javier@dowhile0.org> - 2015-09-16 00:30 +0200
Re: [PATCH v2 2/3] platform/chrome: Support reading/writing the vboot context Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-15 22:30 +0200
[PATCH v2 3/3] ARM: dts: Enable EC vboot context support on Peach boards Emilio López <emilio.lopez@collabora.co.uk> - 2015-09-14 14:40 +0200
Re: [PATCH v2 3/3] ARM: dts: Enable EC vboot context support on Peach boards Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-09-15 02:10 +0200
Re: [PATCH v2 3/3] ARM: dts: Enable EC vboot context support on Peach boards Javier Martinez Canillas <javier@dowhile0.org> - 2015-09-15 15:50 +0200
[PATCH v2 1/3] sysfs: Support is_visible() on binary attributes Emilio López <emilio.lopez@collabora.co.uk> - 2015-09-14 14:40 +0200
Re: [PATCH v2 1/3] sysfs: Support is_visible() on binary attributes Guenter Roeck <linux@roeck-us.net> - 2015-09-14 17:40 +0200
csiph-web