From: matthias.bgg@gmail.com (Matthias Brugger)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v3 0/4] Add Amlogic secure monitor driver
Date: Mon, 23 May 2016 19:04:14 +0200 [thread overview]
Message-ID: <5743380E.9010402@gmail.com> (raw)
In-Reply-To: <1464021024-29380-1-git-send-email-carlo@caione.org>
On 23/05/16 18:30, Carlo Caione wrote:
> From: Carlo Caione <carlo@endlessm.com>
>
> In the Amlogic SoCs the secure monitor calls are used for a lot of reasons:
> interact with the NVMEM (efuses), check the reboot reason, set USB boot, ...
>
> This driver defines a generic interface towards the secure monitor that can be
> used by more specialized drivers to interact with the secure monitor itself
> without worrying about bounce buffers managing.
>
For the whole series:
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
> Changelog:
>
> v3:
> * Moved driver to drivers/firmware
> * Added EXPORT_SYMBOL macros
> * Changed '_' in '-'
> * Introduced 'struct meson_sm_firmware' and 'meson_sm_get_fw()' to be used by
> drivers using the secure-monitor to enforce probe ordering
>
> v2:
> * All the SMC function identifiers are now in a SoC-specific header file to
> be included by the DTS files so the SMC commands are now defined in the DT
> instead to be hardcoded into the driver
> * Patchset is no longer an RFC
> * Better error management and boundary checking
> * s/unsigned int/u32/
> * SMC call not only on CPU 0
> * Fix memory leaking
> * s/amlogic/meson/ in the directory names
>
>
> Carlo Caione (4):
> firmware: Amlogic: Add secure monitor driver
> firmware: dt-bindings: Add secure monitor header file for GXBB
> ARM64: dts: amlogic: gxbb: Enable secure monitor
> documentation: Add secure monitor binding documentation
>
> .../bindings/firmware/meson/meson_sm.txt | 51 ++++++
> arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 11 ++
> drivers/firmware/Kconfig | 1 +
> drivers/firmware/Makefile | 1 +
> drivers/firmware/meson/Kconfig | 8 +
> drivers/firmware/meson/Makefile | 1 +
> drivers/firmware/meson/meson_sm.c | 179 +++++++++++++++++++++
> include/dt-bindings/firmware/meson-gxbb-sm.h | 44 +++++
> include/linux/firmware/meson/meson_sm.h | 38 +++++
> 9 files changed, 334 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/firmware/meson/meson_sm.txt
> create mode 100644 drivers/firmware/meson/Kconfig
> create mode 100644 drivers/firmware/meson/Makefile
> create mode 100644 drivers/firmware/meson/meson_sm.c
> create mode 100644 include/dt-bindings/firmware/meson-gxbb-sm.h
> create mode 100644 include/linux/firmware/meson/meson_sm.h
>
WARNING: multiple messages have this Message-ID (diff)
From: matthias.bgg@gmail.com (Matthias Brugger)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/4] Add Amlogic secure monitor driver
Date: Mon, 23 May 2016 19:04:14 +0200 [thread overview]
Message-ID: <5743380E.9010402@gmail.com> (raw)
In-Reply-To: <1464021024-29380-1-git-send-email-carlo@caione.org>
On 23/05/16 18:30, Carlo Caione wrote:
> From: Carlo Caione <carlo@endlessm.com>
>
> In the Amlogic SoCs the secure monitor calls are used for a lot of reasons:
> interact with the NVMEM (efuses), check the reboot reason, set USB boot, ...
>
> This driver defines a generic interface towards the secure monitor that can be
> used by more specialized drivers to interact with the secure monitor itself
> without worrying about bounce buffers managing.
>
For the whole series:
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
> Changelog:
>
> v3:
> * Moved driver to drivers/firmware
> * Added EXPORT_SYMBOL macros
> * Changed '_' in '-'
> * Introduced 'struct meson_sm_firmware' and 'meson_sm_get_fw()' to be used by
> drivers using the secure-monitor to enforce probe ordering
>
> v2:
> * All the SMC function identifiers are now in a SoC-specific header file to
> be included by the DTS files so the SMC commands are now defined in the DT
> instead to be hardcoded into the driver
> * Patchset is no longer an RFC
> * Better error management and boundary checking
> * s/unsigned int/u32/
> * SMC call not only on CPU 0
> * Fix memory leaking
> * s/amlogic/meson/ in the directory names
>
>
> Carlo Caione (4):
> firmware: Amlogic: Add secure monitor driver
> firmware: dt-bindings: Add secure monitor header file for GXBB
> ARM64: dts: amlogic: gxbb: Enable secure monitor
> documentation: Add secure monitor binding documentation
>
> .../bindings/firmware/meson/meson_sm.txt | 51 ++++++
> arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 11 ++
> drivers/firmware/Kconfig | 1 +
> drivers/firmware/Makefile | 1 +
> drivers/firmware/meson/Kconfig | 8 +
> drivers/firmware/meson/Makefile | 1 +
> drivers/firmware/meson/meson_sm.c | 179 +++++++++++++++++++++
> include/dt-bindings/firmware/meson-gxbb-sm.h | 44 +++++
> include/linux/firmware/meson/meson_sm.h | 38 +++++
> 9 files changed, 334 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/firmware/meson/meson_sm.txt
> create mode 100644 drivers/firmware/meson/Kconfig
> create mode 100644 drivers/firmware/meson/Makefile
> create mode 100644 drivers/firmware/meson/meson_sm.c
> create mode 100644 include/dt-bindings/firmware/meson-gxbb-sm.h
> create mode 100644 include/linux/firmware/meson/meson_sm.h
>
WARNING: multiple messages have this Message-ID (diff)
From: Matthias Brugger <matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Carlo Caione <carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-6IF/jdPJHihWk0Htik3J/w@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
khilman-rdvid1DuHRBWk0Htik3J/w@public.gmane.org,
afaerber-l3A5Bk7waGM@public.gmane.org,
arnd-r2nGTMty4D4@public.gmane.org,
jens.wiklander-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Cc: Carlo Caione <carlo-6IF/jdPJHihWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH v3 0/4] Add Amlogic secure monitor driver
Date: Mon, 23 May 2016 19:04:14 +0200 [thread overview]
Message-ID: <5743380E.9010402@gmail.com> (raw)
In-Reply-To: <1464021024-29380-1-git-send-email-carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org>
On 23/05/16 18:30, Carlo Caione wrote:
> From: Carlo Caione <carlo-6IF/jdPJHihWk0Htik3J/w@public.gmane.org>
>
> In the Amlogic SoCs the secure monitor calls are used for a lot of reasons:
> interact with the NVMEM (efuses), check the reboot reason, set USB boot, ...
>
> This driver defines a generic interface towards the secure monitor that can be
> used by more specialized drivers to interact with the secure monitor itself
> without worrying about bounce buffers managing.
>
For the whole series:
Reviewed-by: Matthias Brugger <matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Changelog:
>
> v3:
> * Moved driver to drivers/firmware
> * Added EXPORT_SYMBOL macros
> * Changed '_' in '-'
> * Introduced 'struct meson_sm_firmware' and 'meson_sm_get_fw()' to be used by
> drivers using the secure-monitor to enforce probe ordering
>
> v2:
> * All the SMC function identifiers are now in a SoC-specific header file to
> be included by the DTS files so the SMC commands are now defined in the DT
> instead to be hardcoded into the driver
> * Patchset is no longer an RFC
> * Better error management and boundary checking
> * s/unsigned int/u32/
> * SMC call not only on CPU 0
> * Fix memory leaking
> * s/amlogic/meson/ in the directory names
>
>
> Carlo Caione (4):
> firmware: Amlogic: Add secure monitor driver
> firmware: dt-bindings: Add secure monitor header file for GXBB
> ARM64: dts: amlogic: gxbb: Enable secure monitor
> documentation: Add secure monitor binding documentation
>
> .../bindings/firmware/meson/meson_sm.txt | 51 ++++++
> arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 11 ++
> drivers/firmware/Kconfig | 1 +
> drivers/firmware/Makefile | 1 +
> drivers/firmware/meson/Kconfig | 8 +
> drivers/firmware/meson/Makefile | 1 +
> drivers/firmware/meson/meson_sm.c | 179 +++++++++++++++++++++
> include/dt-bindings/firmware/meson-gxbb-sm.h | 44 +++++
> include/linux/firmware/meson/meson_sm.h | 38 +++++
> 9 files changed, 334 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/firmware/meson/meson_sm.txt
> create mode 100644 drivers/firmware/meson/Kconfig
> create mode 100644 drivers/firmware/meson/Makefile
> create mode 100644 drivers/firmware/meson/meson_sm.c
> create mode 100644 include/dt-bindings/firmware/meson-gxbb-sm.h
> create mode 100644 include/linux/firmware/meson/meson_sm.h
>
--
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
next prev parent reply other threads:[~2016-05-23 17:04 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-23 16:30 [PATCH v3 0/4] Add Amlogic secure monitor driver Carlo Caione
2016-05-23 16:30 ` Carlo Caione
2016-05-23 16:30 ` Carlo Caione
2016-05-23 16:30 ` [PATCH v3 1/4] firmware: Amlogic: Add " Carlo Caione
2016-05-23 16:30 ` Carlo Caione
2016-05-23 16:30 ` Carlo Caione
2016-05-23 20:58 ` Kevin Hilman
2016-05-23 20:58 ` Kevin Hilman
2016-05-23 20:58 ` Kevin Hilman
2016-05-24 8:08 ` Carlo Caione
2016-05-24 8:08 ` Carlo Caione
2016-05-24 8:08 ` Carlo Caione
2016-05-23 16:30 ` [PATCH v3 2/4] firmware: dt-bindings: Add secure monitor header file for GXBB Carlo Caione
2016-05-23 16:30 ` Carlo Caione
2016-05-23 16:30 ` Carlo Caione
2016-05-23 16:30 ` [PATCH v3 3/4] ARM64: dts: amlogic: gxbb: Enable secure monitor Carlo Caione
2016-05-23 16:30 ` Carlo Caione
2016-05-23 16:30 ` Carlo Caione
2016-05-23 16:30 ` [PATCH v3 4/4] documentation: Add secure monitor binding documentation Carlo Caione
2016-05-23 16:30 ` Carlo Caione
2016-05-23 16:30 ` Carlo Caione
2016-05-23 16:38 ` Mark Rutland
2016-05-23 16:38 ` Mark Rutland
2016-05-23 16:38 ` Mark Rutland
2016-05-23 16:59 ` Carlo Caione
2016-05-23 16:59 ` Carlo Caione
2016-05-23 16:59 ` Carlo Caione
2016-05-23 17:11 ` Mark Rutland
2016-05-23 17:11 ` Mark Rutland
2016-05-23 17:11 ` Mark Rutland
2016-05-24 8:03 ` Carlo Caione
2016-05-24 8:03 ` Carlo Caione
2016-05-24 8:03 ` Carlo Caione
2016-05-23 17:04 ` Matthias Brugger [this message]
2016-05-23 17:04 ` [PATCH v3 0/4] Add Amlogic secure monitor driver Matthias Brugger
2016-05-23 17:04 ` Matthias Brugger
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=5743380E.9010402@gmail.com \
--to=matthias.bgg@gmail.com \
--cc=linus-amlogic@lists.infradead.org \
/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.