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]
Date:   Wed, 29 Sep 2021 06:32:40 +0000
From:   Avri Altman <Avri.Altman@....com>
To:     Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
        Linux Doc Mailing List <linux-doc@...r.kernel.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CC:     Jonathan Corbet <corbet@....net>,
        "Martin K. Petersen" <martin.petersen@...cle.com>,
        Adrian Hunter <adrian.hunter@...el.com>,
        Bean Huo <beanhuo@...ron.com>, Can Guo <cang@...eaurora.org>,
        Daejun Park <daejun7.park@...sung.com>,
        Lukas Bulwahn <lukas.bulwahn@...il.com>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 16/17] ABI: sysfs-driver-ufs: Add another What for
 platform drivers

> The current what expressions:
>         What:          /sys/bus/platform/drivers/ufshcd/*/...
> 
> Doesn't actually match what (some?) platform drivers actually
> export. For instance, drivers/scsi/ufs/ufs-hisi.c actually
> creates the sysfs struct for ufshcd inside this directory:
> 
>         /sys/devices/platform/soc/ff3c0000.ufs
> 
> Which has those aliases:
> 
>         /sys/devices/virtual/devlink/platform:fff35000.crg_ctrl--
> platform:ff3c0000.ufs/consumer/
>         /sys/bus/platform/drivers/ufshcd-hisi/ff3c0000.ufs/
>         /sys/bus/platform/devices/soc/ff3c0000.ufs/
>         /sys/bus/platform/devices/ff3c0000.ufs/
> 
> So, add another What: for such files that will match the
> device ufs entries, e. g.:
> 
>         What:          /sys/bus/platform/devices/*.ufs/
On some platforms the suffix is .ufshc
So Maybe use:
/sys/bus/platform/devices/*.ufs*/

Thanks,
Avri
> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ