From: "Emilio López" <emilio.lopez@collabora.co.uk>
To: gregkh@linuxfoundation.org, olof@lixom.net, kgene@kernel.org,
k.kozlowski@samsung.com, linux@roeck-us.net
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org,
"Emilio López" <emilio.lopez@collabora.co.uk>
Subject: [PATCH v2 0/3] platform/chrome: vboot context support
Date: Mon, 14 Sep 2015 09:34:06 -0300 [thread overview]
Message-ID: <1442234049-18637-1-git-send-email-emilio.lopez@collabora.co.uk> (raw)
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
WARNING: multiple messages have this Message-ID (diff)
From: "Emilio López" <emilio.lopez-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>
To: gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org,
olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org,
kgene-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
"Emilio López"
<emilio.lopez-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>
Subject: [PATCH v2 0/3] platform/chrome: vboot context support
Date: Mon, 14 Sep 2015 09:34:06 -0300 [thread overview]
Message-ID: <1442234049-18637-1-git-send-email-emilio.lopez@collabora.co.uk> (raw)
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 devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: emilio.lopez@collabora.co.uk (Emilio López)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/3] platform/chrome: vboot context support
Date: Mon, 14 Sep 2015 09:34:06 -0300 [thread overview]
Message-ID: <1442234049-18637-1-git-send-email-emilio.lopez@collabora.co.uk> (raw)
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
next reply other threads:[~2015-09-14 12:34 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-14 12:34 Emilio López [this message]
2015-09-14 12:34 ` [PATCH v2 0/3] platform/chrome: vboot context support Emilio López
2015-09-14 12:34 ` Emilio López
2015-09-14 12:34 ` [PATCH v2 1/3] sysfs: Support is_visible() on binary attributes Emilio López
2015-09-14 12:34 ` Emilio López
2015-09-14 15:33 ` Guenter Roeck
2015-09-14 15:33 ` Guenter Roeck
2015-09-14 12:34 ` [PATCH v2 2/3] platform/chrome: Support reading/writing the vboot context Emilio López
2015-09-14 12:34 ` Emilio López
2015-09-15 13:47 ` Javier Martinez Canillas
2015-09-15 13:47 ` Javier Martinez Canillas
2015-09-15 19:16 ` Emilio López
2015-09-15 19:16 ` Emilio López
2015-09-15 19:43 ` Javier Martinez Canillas
2015-09-15 19:43 ` Javier Martinez Canillas
2015-09-15 20:22 ` Greg Kroah-Hartman
2015-09-15 20:22 ` Greg Kroah-Hartman
2015-09-15 20:24 ` Emilio López
2015-09-15 20:24 ` Emilio López
2015-09-15 20:24 ` Emilio López
2015-09-15 22:26 ` Javier Martinez Canillas
2015-09-15 22:26 ` Javier Martinez Canillas
2015-09-14 12:34 ` [PATCH v2 3/3] ARM: dts: Enable EC vboot context support on Peach boards Emilio López
2015-09-14 12:34 ` Emilio López
2015-09-15 0:00 ` Krzysztof Kozlowski
2015-09-15 0:00 ` Krzysztof Kozlowski
2015-09-15 13:49 ` Javier Martinez Canillas
2015-09-15 13:49 ` Javier Martinez Canillas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1442234049-18637-1-git-send-email-emilio.lopez@collabora.co.uk \
--to=emilio.lopez@collabora.co.uk \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=k.kozlowski@samsung.com \
--cc=kgene@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=olof@lixom.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.