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: <531d8c36-82d4-f589-e10d-f20d8b541777@gmail.com>
Date:   Fri, 17 Apr 2020 15:04:26 +0200
From:   akira215 <akira215corp@...il.com>
To:     Evgeniy Polyakov <zbr@...emap.net>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Cc:     Greg Kroah-Hartman <greg@...ah.com>
Subject: Re: [PATCH] Changes in w1_therm.c and adding w1_therm.h

Hi,

Thanks for your answer and for your encouragement. Sorry for the 
previous mail, it was a mistake from my side, you can obviously delete it.

Akira SHIMAHARA

Le 16/04/2020 à 22:12, Evgeniy Polyakov a écrit :
> Hi
> 
> 14.04.2020, 20:03, "Akira Shimahara" <akira215corp@...il.com>:
>> From: Akira SHIMAHARA <akira215corp@...il.com>
>>
>> Patch for enhacement of w1_therm module. Added features :
>>   - Bulk read : send one command for all the slaves
>>                   on the bus to trigger temperature conversion
>>   - Optimized conversion time regarding to device resolution
>>   - Dedicated sysfs entry for powering read,
>>                   resolution set/get, eeprom save/restore
>>   - Alarms settings and reading
>>   - Code optimization to mitigate bus traffic
>>                   (devices information are stored to avoid
>>                  interrogating each device every-time)
>>
>> Following sysfs entry are added :
>>   - temperature (RO) : return the temperature in 1/1000°
>>   - ext_power (RO) : return the power status of the device
>>   - resolution (RW) : get or set the device resolution (supported devices)
>>   - eeprom (WO) :trigger a save or restore to/from device EEPROM
>>   - alarms (RW) : read or write TH and TL in the device RAM
>>   - therm_bulk_read (RW) : Attribute at master level to trigger
>>                   bulk read and to survey the progress of devices conversions
>>   - w1_slave has been kept for compatibility
>>
>> Main motivation was to improve temperature reading speed, which depend
>> on resolution settings of devices. The module store the powwer status and
>> the resolution of each device so that during reading operation, no
>> transaction is required on the bus, which improve speed.
>> The harware status is checked as soon as a new device is detected,
>> when a user change occured, or when the corresponding sys file is
>> accessed by user.
>>
>> The bulk read allow to trigger convserion of all devices on the bus at
>> the same time. It will apply a strong pull up on the line if at least
>> one device required it. The duration of the pull up is the max time
>> required by a device on the line.
>>
>> Please let me know any feedback you have on this patch.
>>
>> Thanks ahead,
>>
>> Signed-off-by: Akira Shimahara <akira215corp@...il.com>
> 
> Looks good to me, thank you!
> These are really good changes.
> 
> Greg, please pull it into your tree, thank you.
> 
> Acked-by: Evgeniy Polyakov <zbr@...emap.net>
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ