Re: [PATCH] x86/sev: Make SEV_STATUS available via SYSFS
From: Borislav Petkov
Date: Thu Mar 06 2025 - 08:57:35 EST
On Thu, Mar 06, 2025 at 03:36:02PM +0200, Kirill A. Shutemov wrote:
> I think we should be pretty use to one-datum-per-file thing by now.
> I don't see why coco case is special.
I want to avoid all the boilerplate code for each sysfs node. And it doesn't
matter if you do:
cat /proc/coco
or
grep -r . /sys/.../coco/
And you can't format sysfs output in a human-readable fashion if you have to
dump registers like SEV_STATUS, which started that whole conversation.
But if everybody is crazy about sysfs, I ...
[ /me goes and looks up the proverb people fancy using nowadays... ]
... I won't die on that hill.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette