diff options
| author | Marcelo Henrique Cerri <[email protected]> | 2017-10-05 13:34:29 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-10-10 10:54:56 +0000 |
| commit | ab7ff471aa5db670197070760f022622793da7e5 (patch) | |
| tree | 4673a3d6619798ee9d9d303dc06936d4e7a375d7 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | x86/hyperv: Don't use percpu areas for pcpu_flush/pcpu_flush_ex structures (diff) | |
| download | kernel-ab7ff471aa5db670197070760f022622793da7e5.tar.gz kernel-ab7ff471aa5db670197070760f022622793da7e5.zip | |
x86/hyperv: Fix hypercalls with extended CPU ranges for TLB flushing
Do not consider the fixed size of hv_vp_set when passing the variable
header size to hv_do_rep_hypercall().
The Hyper-V hypervisor specification states that for a hypercall with a
variable header only the size of the variable portion should be supplied
via the input control.
For HVCALL_FLUSH_VIRTUAL_ADDRESS_SPACE_EX/LIST_EX calls that means the
fixed portion of hv_vp_set should not be considered.
That fixes random failures of some applications that are unexpectedly
killed with SIGBUS or SIGSEGV.
Signed-off-by: Marcelo Henrique Cerri <[email protected]>
Cc: Dexuan Cui <[email protected]>
Cc: Haiyang Zhang <[email protected]>
Cc: Jork Loeser <[email protected]>
Cc: Josh Poulson <[email protected]>
Cc: K. Y. Srinivasan <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Simon Xiao <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vitaly Kuznetsov <[email protected]>
Cc: [email protected]
Fixes: 628f54cc6451 ("x86/hyper-v: Support extended CPU ranges for TLB flush hypercalls")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
