x86, ptrace, bts, hw-branch-tracer: bug fixes and cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | x86, ptrace: add arch_ptrace_report_exitinclude/ include/ | +18 | 4 replies | |
| 2/14 | x86, mm: add release_locked_buffer_on_behalfinclude/ mm/ | +13 | 2 replies | |
| 3/14 | x86, ptrace, bts: stop bts tracing early in do_exitarch/ arch/ | +136 | 8 replies | |
| 4/14 | x86, ds: wait before freeing the DS configurationarch/ | +8 | 2 replies | |
| 5/14 | x86, debugctlmsr: add _on_cpu variants for debugctlmsr functionsarch/ | +27 | 0 replies | |
| 6/14 | x86, ds: add _noirq variants for ds_ functionsarch/ arch/ arch/ +2 more | +465 | 0 replies | |
| 7/14 | x86, ds: fix compile warning in ds selftestarch/ | +1 | 0 replies | |
| 8/14 | x86, ds: fix bounds check in ds selftestarch/ | +6 | 0 replies | |
| 9/14 | x86, ds: add ds selftests for _noirq variantsarch/ | +137 | 0 replies | |
| 10/14 | x86, ds: add ds selftests for task tracingarch/ | +23 | 0 replies | |
| 11/14 | x86, ptrace: remove ptrace_fork, use init_task insteadarch/ arch/ include/ +2 more | +22 | 0 replies | |
| 12/14 | x86, ds: re-add exit warningarch/ arch/ arch/ +2 more | +4 | 0 replies | |
| 13/14 | x86, ds: use single configuration for all cpusarch/ | +6 | 0 replies | |
| 14/14 | x86, ds: support Core i7arch/ arch/ | +71 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/14] x86, ptrace, bts, hw-branch-tracer: bug fixes and cleanups
A bug in the ptrace bts extension may cause a kernel crash.
When the ptracer exits, it stops branch tracing for all ptraced tasks and frees the branch trace buffer. If the traced tasks are currently running, the branch trace buffer may be freed before the cpu running that task has stopped tracing, thus overwriting memory with branch trace data.
Patches 1-4 fix this problem by having the tracer wait for the tracee to become inactive. This ensures that the cpu has stopped tracing that task.
The bug affects the .29 kernel.
The rest of the patches are for tip/tracing/hw-branch-tracing only. Patches 5 and 6 fix boot problems caused by the hw-branch-tracer selftests reported by Ingo Molnar (thanks for reporting the problems). Patch 8 fixes a bug in the selftest.
Patches 9 and 10 add more selftests.
Patches 7, 11 - 13 are cleanup.
Patch 14 adds support for Core i7.
---------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen Germany
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 Ust.-IdNr.
VAT Registration No.: DE129385895
Citibank Frankfurt (BLZ 502 109 00) 600119052
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.