[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250306135518.GDZ8mpRoSsBt_m0K9j@fat_crate.local>
Date: Thu, 6 Mar 2025 14:56:40 +0100
From: Borislav Petkov <bp@...en8.de>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc: Joerg Roedel <joro@...tes.org>, Dave Hansen <dave.hansen@...el.com>,
Joerg Roedel <jroedel@...e.de>, Ingo Molnar <mingo@...nel.org>,
x86@...nel.org, hpa@...or.com,
Tom Lendacky <thomas.lendacky@....com>,
Nikunj A Dadhania <nikunj@....com>, linux-kernel@...r.kernel.org,
Larry.Dewey@....com,
"Alexey Gladkov (Intel)" <alexey.gladkov@...el.com>
Subject: Re: [PATCH] x86/sev: Make SEV_STATUS available via SYSFS
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
Powered by blists - more mailing lists