diff options
| author | 2025-03-24 14:33:09 +0100 | |
|---|---|---|
| committer | 2025-03-25 10:22:43 +0100 | |
| commit | 071f4ad6494aff76589ca30a2d13e74bc1e33e0f (patch) | |
| tree | 018131711f5c3d5f42f408feb45f76c56bfa249f /scripts/Makefile.thinlto | |
| parent | x86/cacheinfo: Move AMD cache_disable_0/1 handling to separate file (diff) | |
x86/cacheinfo: Use sysfs_emit() for sysfs attributes show()
Per Documentation/filesystems/sysfs.rst, a sysfs attribute's show()
method should only use sysfs_emit() or sysfs_emit_at() when returning
values to user space.
Use sysfs_emit() for the AMD L3 cache sysfs attributes cache_disable_0,
cache_disable_1, and subcaches.
Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250324133324.23458-15-darwi@linutronix.de
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
