Messages in this thread | | | Date | Tue, 14 Dec 2021 20:10:16 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH v8 01/40] x86/compressed/64: detect/setup SEV/SME features earlier in boot |
| |
On Tue, Dec 14, 2021 at 11:46:14AM -0600, Venu Busireddy wrote: > What I am suggesting should not have anything to do with the boot stage > of the kernel.
I know exactly what you're suggesting.
> For example, both these functions call native_cpuid(), which is declared > as an inline function. I am merely suggesting to do something similar > to avoid the code duplication.
Try it yourself. If you can come up with something halfway readable and it builds, I'm willing to take a look.
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |