Re: [PATCH v5 2/8] char: rpmb: add sysfs-class ABI documentation

From: Greg Kroah-Hartman
Date: Wed Aug 31 2016 - 06:53:35 EST


On Mon, Jul 18, 2016 at 11:27:47PM +0300, Tomas Winkler wrote:
> Signed-off-by: Tomas Winkler <tomas.winkler@xxxxxxxxx>
> ---
> V2: resend
> V3: add more verbose description
> V4: resend
> V5: adjust date and kernel version
>
> Documentation/ABI/testing/sysfs-class-rpmb | 20 ++++++++++++++++++++
> MAINTAINERS | 1 +
> 2 files changed, 21 insertions(+)
> create mode 100644 Documentation/ABI/testing/sysfs-class-rpmb
>
> diff --git a/Documentation/ABI/testing/sysfs-class-rpmb b/Documentation/ABI/testing/sysfs-class-rpmb
> new file mode 100644
> index 000000000000..3ffcd2d1f683
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-class-rpmb
> @@ -0,0 +1,20 @@
> +What: /sys/class/rpmb/
> +Date: Aug 2016
> +KernelVersion: 4.8
> +Contact: Tomas Winkler <tomas.winkler@xxxxxxxxx>
> +Description:
> + The rpmb/ class sub-directory belongs to RPMB device class.
> +
> + Few storage technologies such is EMMC, UFS, and NVMe support
> + Replay Protected Memory Block (RPMB) hardware partition with
> + common protocol and frame layout.
> + Such a partition provides authenticated and replay protected access,
> + hence suitable as a secure storage.
> +
> +What: /sys/class/rpmb/rpmbN/
> +Date: Aug 2016
> +KernelVersion: 4.8
> +Contact: Tomas Winkler <tomas.winkler@xxxxxxxxx>
> +Description:
> + The /sys/class/rpmb/rpmbN directory is created for
> + each RPMB registered device

So you have no sysfs files? If not, why have a sysfs class at all?

thanks,

greg k-h