Re: [PATCH v4 2/3] hwmon: (pmbus/core) add wp module param

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 02, 2024 at 11:28:01AM +0100, Jerome Brunet wrote:
> Add a module parameter to force the write protection mode of pmbus chips.
> 
> 4 protections modes are provided to start with:
> * 0: Remove the write protection
> * 1: Disable all writes except to the WRITE_PROTECT, OPERATION,
>      PAGE, ON_OFF_CONFIG and VOUT_COMMAND commands
> * 2: Disable all writes except to the WRITE_PROTECT, OPERATION and
>      PAGE commands
> * 3: Disable all writes except to the WRITE_PROTECT command
> 
> Of course, if the parameter is not provided, the default write protection
> status of the pmbus chips is left untouched.
> 
> Suggested-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> Signed-off-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>

Applied.

Thanks,
Guenter




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux