Re: [PATCH RESEND v2 2/3] x86/cpu: Add setcpuid cmdline param

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 29, 2025 at 03:35:40PM +0000, Brendan Jackman wrote:
> In preparation for adding support to fake out CPU bugs, add a general
> facility to force enablement of CPU flags.

"... to force-enable ..."

> 
> The flag taints the kernel and the documentation attempts to be clear
> that this is highly unsuitable for uses outside of kernel development
> and platform experimentation.
> 
> The new arg is parsed just like clearcpuid, but instead of leading to
> setup_clear_cpu_cap() it leads to setup_force_cpu_cap().
> 
> I've tested this by booting a nested QEMU guest on an Intel host, which
> with setcpuid=svm will claim that it supports AMD virtualization.

Move this sentence...

> Signed-off-by: Brendan Jackman <jackmanb@xxxxxxxxxx>
> ---

... here as it doesn't belong in a commit message.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux