It is consistently uses rendezvouz IPI instead of binding current thread to all CPUs.
Use the KPI to tweak MSRs in mitigation code.
Paths
| Differential D22431 Authored by kib on Nov 17 2019, 4:09 PM.
Details
Summary It is consistently uses rendezvouz IPI instead of binding current thread to all CPUs. Use the KPI to tweak MSRs in mitigation code.
Diff Detail
Event TimelineHerald added subscribers: gnn, imp. ยท View Herald TranscriptNov 17 2019, 4:09 PM2019-11-17 16:09:42 (UTC+0) Harbormaster completed remote builds in B27606: Diff 64496.Nov 17 2019, 4:09 PM2019-11-17 16:09:44 (UTC+0) Comment Actions This looks great. My only complaint is using the name "tweak", I think it's too casual and poorly descriptive. Maybe x86_program_msr_smp()? Comment Actions Rename to x86_msr_op(). Harbormaster completed remote builds in B27615: Diff 64519.Nov 18 2019, 1:21 PM2019-11-18 13:21:57 (UTC+0) kib marked 2 inline comments as done. Comment ActionsAdd MSR_OP_RENDEZVOUS. Assert that exactly one command mode flag is passed. Harbormaster completed remote builds in B27619: Diff 64529.Nov 18 2019, 4:20 PM2019-11-18 16:20:40 (UTC+0) This revision is now accepted and ready to land.Nov 18 2019, 4:25 PM2019-11-18 16:25:32 (UTC+0) Comment Actions Minor request, if the MSR_OP_LOCAL/SCHED/RENDEVOUS opcodes are mutually exclusive from each other then don't make them be bitfield definitions, just have them be sequential numbers. This revision now requires review to proceed.Nov 18 2019, 7:27 PM2019-11-18 19:27:10 (UTC+0) Harbormaster completed remote builds in B27624: Diff 64538.Nov 18 2019, 7:27 PM2019-11-18 19:27:12 (UTC+0) Harbormaster completed remote builds in B27625: Diff 64539.Nov 18 2019, 7:52 PM2019-11-18 19:52:36 (UTC+0) This revision is now accepted and ready to land.Nov 18 2019, 7:56 PM2019-11-18 19:56:00 (UTC+0) Closed by commit rS354828: Add x86 msr tweak KPI. (authored by kib). ยท Explain WhyNov 18 2019, 8:54 PM2019-11-18 20:54:13 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 64543 head/sys/dev/hwpmc/hwpmc_core.c
head/sys/x86/include/x86_var.h
head/sys/x86/x86/cpu_machdep.c
|