platform/x86/intel/tpmi/plr: Make the file domain<n>/status writeable

The file sys/kernel/debug/tpmi-<n>/plr/domain<n>/status has store and show
callbacks. Make it writeable.

Fixes: 811f67c516 ("platform/x86/intel/tpmi: Add new auxiliary driver for performance limits")
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Link: https://patch.msgid.link/20260127-plr-debugfs-write-v1-1-1fffbc370b1e@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
Ricardo Neri 2026-01-27 15:45:40 -08:00 committed by Ilpo Järvinen
parent 6222883af2
commit 008bec8ffe
No known key found for this signature in database
GPG Key ID: 59AC4F6153E5CE31

View File

@ -316,7 +316,7 @@ static int intel_plr_probe(struct auxiliary_device *auxdev, const struct auxilia
snprintf(name, sizeof(name), "domain%d", i);
dentry = debugfs_create_dir(name, plr->dbgfs_dir);
debugfs_create_file("status", 0444, dentry, &plr->die_info[i],
debugfs_create_file("status", 0644, dentry, &plr->die_info[i],
&plr_status_fops);
}