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] [day] [month] [year] [list]
Message-ID: <YdxVsvWN7pOV/iLy@smile.fi.intel.com>
Date:   Mon, 10 Jan 2022 17:50:10 +0200
From:   Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To:     Nikita Yushchenko <nikita.yoush@...entembedded.com>
Cc:     Jonathan Cameron <jic23@...nel.org>,
        Lars-Peter Clausen <lars@...afoo.de>,
        Linus Walleij <linus.walleij@...aro.org>,
        Alexandru Ardelean <aardelean@...iqon.com>,
        Cai Huoqing <caihuoqing@...du.com>, linux-iio@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] iio: stm: don't always auto-enable I2C and SPI
 interface drivers

On Mon, Jan 10, 2022 at 05:36:08PM +0200, Andy Shevchenko wrote:
> On Mon, Jan 10, 2022 at 03:30:08PM +0300, Nikita Yushchenko wrote:
> > > Just noticed, what stm supposed to mean? `git log` against those drivers
> > > suggests something else.
> > 
> > I copied it from git log, can't remember from where exactly.
> > Perhaps 'st_sensors' is better.
> 
> % git log --no-merges --oneline -- drivers/iio/common/st_sensors/ drivers/iio/*/st_* | cut -f2-4 -d' ' | grep -o "[ :]st[^:]\+:" | tr -d ':' | tr -d ' ' | sort | uniq -c | sort -n
>       1 st_accel_core
>       1 st_accel_i2c
>       1 st_gyro_spi
>       1 st_lsm9ds0
>       1 st_lsmdsx
>       1 st-magn
>       1 st_magn_core
>       1 st_pressure_core
>       1 stsensors
>       2 st_accel_i2c.c
>       2 st_magn_spi
>       2 st_press
>       2 st_pressure_spi
>       3 st-accel
>       4 st_accel_spi
>       4 st_uvis25
>       5 st-sensors
>      11 st_gyro
>      15 st_magn
>      21 st_pressure
>      27 st_accel
>      68 st_sensors
>     140 st_lsm6dsx
> 
> (Yes, I know that command line can be simplified :-)

Or full view (except single occurrences):

% git log --no-merges --oneline -- drivers/iio/common/st_sensors/ drivers/iio/*/st_* | sed -e 's,^[^ ]\+ \(.*\):[^:]\+$,\1,' | sort | uniq -c | sort -n | grep -v '^      1'
      2 iio: imu: st_lsm6dsx: st_lsm6dsx
      2 iio: light
      2 iio: lps331ap
      2 iio:magnetometer: st_magn
      2 iio: magnetometer: st_magn_spi
      2 iio: magn: st_magn
      2 iio: pressure: st_press
      2 IIO: st_accel_i2c.c
      2 iio: st_gyro
      2 iio: st_magn
      2 iio:st_magn
      2 iio:st_pressure:lps22hb
      2 iio: st_pressure: st_accel
      2 treewide
      3 iio: accel: st_sensors
      3 iio:imu
      3 iio: light: st_uvis25
      3 iio: magnetometer
      3 iio: st-accel
      3 iio: st_lsm6dsx
      4 iio: accel: st_accel_spi
      4 iio: common: st_sensors
      4 iio:magn
      4 iio: st_pressure
      5 iio: accel
      5 iio: pressure: st_pressure
      5 iio: st-sensors
      6 iio:magnetometer
      6 iio: pressure-core: st
      6 iio: sensors-core: st
      7 iio:accel
      7 iio:common
      7 iio: magnetometer: st_magn
      7 iio:st_sensors
      8 iio:gyro
      8 iio: gyro: st_gyro
      8 iio: st_accel
      8 iio:st_pressure
      9 iio:pressure
     14 iio
     16 iio: accel: st_accel
     52 iio: st_sensors
    133 iio: imu: st_lsm6dsx

-- 
With Best Regards,
Andy Shevchenko


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ