]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
cpu/SMT: State SMT is disabled even with nosmt and without "=force"
authorBorislav Petkov <bp@suse.de>
Thu, 4 Oct 2018 17:22:27 +0000 (19:22 +0200)
committerKhalid Elmously <khalid.elmously@canonical.com>
Thu, 28 Nov 2019 04:59:27 +0000 (23:59 -0500)
commite1c18798793fab3912c330529717e217b391bbf8
tree723b7347aaefc036b436cbd944b9ad419df8ceba
parent0dd893a15061a3f6d53f04e0711cb933fd7eb8f6
cpu/SMT: State SMT is disabled even with nosmt and without "=force"

BugLink: https://bugs.launchpad.net/bugs/1854216
[ Upstream commit d0e7d14455d41163126afecd0fcce935463cc512 ]

When booting with "nosmt=force" a message is issued into dmesg to
confirm that SMT has been force-disabled but such a message is not
issued when only "nosmt" is on the kernel command line.

Fix that.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20181004172227.10094-1-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
kernel/cpu.c