Re: [PATCH 6/6] x86/sev: Add debugfs support for RMPOPT
From: Ahmed S. Darwish
Date: Tue Feb 17 2026 - 17:43:40 EST
On Tue, 17 Feb 2026, Ashish Kalra wrote:
>
> To dump the per-CPU RMPOPT status for all system RAM:
>
> /sys/kernel/debug/rmpopt# cat rmpopt-table
>
...
> +
> +static void rmpopt_debugfs_setup(void)
> +{
> + rmpopt_debugfs = debugfs_create_dir("rmpopt", NULL);
> +
For mainline, this should be under /sys/kernel/debug/x86/ instead:
dir = debugfs_create_dir("rmpopt", arch_debugfs_dir);
Thanks,
Ahmed