public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/2] Do not slow down some AMD devices with coresched
@ 2020-11-11 21:10 Joel Fernandes (Google)
  2020-11-11 21:10 ` [RFC 1/2] x86/bugs: Disable coresched on hardware that does not need it Joel Fernandes (Google)
  2020-11-11 21:10 ` [RFC 2/2] sched/debug: Add debug information about whether coresched is enabled Joel Fernandes (Google)
  0 siblings, 2 replies; 16+ messages in thread
From: Joel Fernandes (Google) @ 2020-11-11 21:10 UTC (permalink / raw)
  To: Nishanth Aravamudan, Julien Desfossez, Peter Zijlstra, Tim Chen,
	Vineeth Pillai, Aaron Lu, Aubrey Li, tglx, linux-kernel
  Cc: mingo, torvalds, fweisbec, keescook, kerrnel, Phil Auld,
	Valentin Schneider, Mel Gorman, Pawan Gupta, Paolo Bonzini, joel,
	vineeth, Chen Yu, Christian Brauner, Agata Gruza,
	Antonio Gomez Iglesias, graf, konrad.wilk, dfaggioli, pjt,
	rostedt, derkling, benbjiang, Alexandre Chartre, James.Bottomley,
	OWeisse, Dhaval Giani, Junaid Shahid, jsbarnes, chris.hyser,
	Ben Segall, Josh Don, Hao Luo, amistry, Borislav Petkov,
	Daniel Bristot de Oliveira, Dietmar Eggemann, H. Peter Anvin,
	Ingo Molnar, Juri Lelli, Mel Gorman, Mike Rapoport,
	thomas.lendacky, Tony Luck, Vincent Guittot,
	maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)

Hi,
Here are 2 patches I am thinking of sending with next coresched series. Let me
know what you think. These are for not slowing down certain AMD devices if they
don't have vulnerabilities that require coresched.

1/2 - keep coresched disabled if device doesn't have vulnerability.
2/2 - add debug information.

In the future, if needed we could add more options to make it possible to
force-enable coresched. But right now I don't see a need for that, till a
usecase arises.

Joel Fernandes (Google) (2):
x86/bugs: Disable coresched on hardware that does not need it
sched/debug: Add debug information about whether coresched is enabled

arch/x86/kernel/cpu/bugs.c | 8 ++++++++
kernel/sched/core.c        | 7 +++++++
kernel/sched/debug.c       | 4 ++++
kernel/sched/sched.h       | 5 +++++
4 files changed, 24 insertions(+)

--
2.29.2.222.g5d2a92d10f8-goog


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-11-16 15:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-11 21:10 [RFC 0/2] Do not slow down some AMD devices with coresched Joel Fernandes (Google)
2020-11-11 21:10 ` [RFC 1/2] x86/bugs: Disable coresched on hardware that does not need it Joel Fernandes (Google)
2020-11-11 21:14   ` Joel Fernandes
2020-11-11 22:00     ` Alexander Graf
2020-11-11 22:13       ` Joel Fernandes
2020-11-11 22:15         ` Joel Fernandes
2020-11-11 22:29           ` Alexander Graf
2020-11-12 13:40             ` Joel Fernandes
2020-11-12 14:40               ` Joel Fernandes
2020-11-12 20:09                 ` Alexander Graf
2020-11-13 15:55                   ` Joel Fernandes
2020-11-16 15:37                     ` Alexander Graf
2020-11-12 14:52               ` Alexander Graf
2020-11-12 15:28                 ` Joel Fernandes
2020-11-12 20:01                   ` Alexander Graf
2020-11-11 21:10 ` [RFC 2/2] sched/debug: Add debug information about whether coresched is enabled Joel Fernandes (Google)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox