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: <e0bb9cea-fe65-f421-ecae-a0f6326c6417@amd.com>
Date: Thu, 18 Jul 2024 15:51:12 +0530
From: "Gupta, Akshay" <Akshay.Gupta@....com>
To: Guenter Roeck <linux@...ck-us.net>, linux-hwmon@...r.kernel.org,
 linux-kernel@...r.kernel.org
Cc: gregkh@...uxfoundation.org, arnd@...db.de, naveenkrishna.chatradhi@....com
Subject: Re: [PATCH v2 1/8] hwmon/misc: amd-sbi: Move core sbrmi from hwmon to
 misc


On 7/17/2024 9:56 PM, Guenter Roeck wrote:
> Caution: This message originated from an External Source. Use proper 
> caution when opening attachments, clicking links, or responding.
>
>
> On 7/17/24 01:10, Akshay Gupta wrote:
>> This is done to support other functionality provided by the SBRMI, which
>> does not fit in the hwmon subsystem.
>>
>> - Move the SBRMI core functionality and I2C device probing part to misc.
>> - Move hwmon device sensor to misc as only power is reported through
>>    hwmon sensor.
>>
>
> I fail to see the logic here. Why would the supported sensor types
> be a reason or an argument for moving the hwmon code out of hwmon ?
>
> Guenter
>
After we move the probe of i2c device to misc, we were using 
platform_device_register_data()

API to probe the hwmon sensor. Greg did not like this idea of probing, 
previously I have explored mfd cells

approach but was not accepted by MFD maintainer, so we thought

of calling the devm_hwmon_device_register_with_info() in misc itself.

I will update the commit message to reflect the same.

Thanks,

Akshay


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ