lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c403edcf-0c33-225c-8bbd-3a49e90a9a73@kernel.org>
Date:   Wed, 13 Jul 2022 09:04:45 +0200
From:   Krzysztof Kozlowski <krzk@...nel.org>
To:     dj76.yang@...sung.com,
        "jesper.nilsson@...s.com" <jesper.nilsson@...s.com>,
        "lars.persson@...s.com" <lars.persson@...s.com>,
        "robh+dt@...nel.org" <robh+dt@...nel.org>,
        "krzk+dt@...nel.org" <krzk+dt@...nel.org>,
        "lee.jones@...aro.org" <lee.jones@...aro.org>
Cc:     "javierm@...hat.com" <javierm@...hat.com>,
        "bjorn.andersson@...aro.org" <bjorn.andersson@...aro.org>,
        "linux-arm-kernel@...s.com" <linux-arm-kernel@...s.com>,
        "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Moon-Ki Jun <moonki.jun@...sung.com>,
        Sang Min Kim <hypmean.kim@...sung.com>,
        Wangseok Lee <wangseok.lee@...sung.com>
Subject: Re: [PATCH 1/4] dt-bindings: firmware: Add bindings for Samsung smc

On 13/07/2022 06:53, Dongjin Yang wrote:
> Add an devicetree bindings for Samsung secure monitor call service.
> This driver is used for SoCs produced by Samsung Foundry to provide
> SMC call. This patch supports register read/write request to secure
> monitor. Also, SMC call request which uses shared memory to exchange
> the data between kernel and secure monitor.
> 
> Signed-off-by: Dongjin Yang <dj76.yang@...sung.com>
> ---
>  .../bindings/firmware/samsung,smccc-svc.yaml       | 31 ++++++++++++++++++++++
>  MAINTAINERS                                        |  1 +
>  2 files changed, 32 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/firmware/samsung,smccc-svc.yaml
> 
> diff --git a/Documentation/devicetree/bindings/firmware/samsung,smccc-svc.yaml b/Documentation/devicetree/bindings/firmware/samsung,smccc-svc.yaml
> new file mode 100644
> index 000000000000..427c42a6cd75
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/firmware/samsung,smccc-svc.yaml
> @@ -0,0 +1,31 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/firmware/samsung,smccc-svc.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Samsung Secure Monitor call service
> +
> +maintainers:
> +  - Jesper Nilsson <jesper.nilsson@...s.com>
> +
> +description: |
> +  The file documents device tree bindings of Samsung secure monitor
> +  call service.
> +
> +properties:
> +  compatible:

Please add SoC comaptible followed by generic samsung,smccc-svc (so you
need items with an enum and const).

> +    const: samsung,smccc-svc
> +
> +required:
> +  - compatible
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +

No need for blank line.

> +    samsung-svc {

Generic node names, e.g. smc.

> +        compatible = "samsung,smccc-svc";
> +    };
> +...
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 20133dcd8ce9..6763746c349f 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -1862,6 +1862,7 @@ M:	Jesper Nilsson <jesper.nilsson@...s.com>
>  M:	Lars Persson <lars.persson@...s.com>
>  L:	linux-arm-kernel@...s.com
>  S:	Maintained
> +F:	Documentation/devicetree/bindings/firmware/samsung,smccc-svc.yaml

Does not look related to Artpec. Shouldn't this be under Samsung Exynos?

>  F:	Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
>  F:	arch/arm/boot/dts/artpec6*
>  F:	arch/arm/mach-artpec


Best regards,
Krzysztof

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ