ACPI: processor: idle: Expose max_cstate/nocst/bm_check_disable read-only in sysfs
authorYajun Deng <yajun.deng@linux.dev>
Thu, 28 Apr 2022 09:54:13 +0000 (17:54 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 6 May 2022 18:45:40 +0000 (20:45 +0200)
commit27263b3428f5b2b73be97adf3d679125b6065271
tree4223fe5840491d9039c441de1ff1f862bfdddc77
parent672c0c5173427e6b3e2a9bbb7be51ceeec78093a
ACPI: processor: idle: Expose max_cstate/nocst/bm_check_disable read-only in sysfs

This will allow super users to verify the module parameters in question
when changed via kernel command line.

The parameters "nocst/bm_check_disable" are only used for enable/disable,
so change them from integer to bool.

Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_idle.c