lkml.org 
[lkml]   [2020]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 0/5] scsi: ufs: ufs device as a temperature sensor
Date

>
> Hi Avi,
>
> On Thu, Feb 6, 2020 at 9:48 PM Avi Shchislowski
> <Avi.Shchislowski@wdc.com> wrote:
> >
> > As it become evident that the hwmon is not a viable option to implement
> ufs thermal notification, I would appreciate some concrete comments of this
> series.
>
> That isn't my reading of this thread.
>
> You have two options:
> 1. extend drivetemp if that makes sense for this particular application.
> 2. follow the model of other devices that happen to have a built-in
> temperature sensor and expose the hwmon compatible attributes as a
> subdevice
>
> It appears that option 1 isn't viable, so what about option 2?
This will require to export the ufs device management commands,
Which is privet to the ufs driver.

This is not a viable option as well, because it will allow unrestricted access
(Including format etc.) to the storage device.

Sorry for not making it clearer before.

Thanks,
Avri

>
> Thanks,
>
> --
> Julian Calaby
>
> Email: julian.calaby@gmail.com
> Profile: http://www.google.com/profiles/julian.calaby/
\
 
 \ /
  Last update: 2020-02-06 13:09    [W:0.417 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site