x86/tsx: Improve handling of the tsx= kernel parameter
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 3 repliesIn review
- v22 patches 10 repliesSuperseded
Changes in v3 from the cover letter
* compile-time initialization with the configured default
* defer tsx=auto handling to tsx_init()
* add more detail to the commit message
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86/tsx: Make tsx_ctrl_state staticarch/ arch/ | +8 | 0 replies | |
| 2/2 | x86/tsx: Get the tsx= command line parameter with early_param()arch/ | +27 | 3 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Nikolay Borisov |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] x86/tsx: Improve handling of the tsx= kernel parameter
Parse the tsx= kernel parameter with early_param(), so it is not reported as unknown.
As a side note, it was not necessary to defer the handling of tsx=auto. Contrary to Pawan's claim, cpu_set_bug_bits() is called from setup_arch() via early_cpu_init() and early_identify_cpu() before parse_early_param(). But it is a nice cleanup, nevertheless, and I learned something about parsing the command line. Cf. the NAK here:
https://lore.kernel.org/all/20251009185134.fb4evjrk76rwxv37@desk/
Changes from v2:
* compile-time initialization with the configured default
* defer tsx=auto handling to tsx_init()
* add more detail to the commit message
Changes from v1:
* make tsx_ctrl_state local to tsx.c
* use early_param() instead of core_param()
Petr Tesarik (2):
x86/tsx: Make tsx_ctrl_state static
x86/tsx: Get the tsx= command line parameter with early_param()
arch/x86/kernel/cpu/cpu.h | 9 ------ arch/x86/kernel/cpu/tsx.c | 59 ++++++++++++++++++++++----------------- 2 files changed, 34 insertions(+), 34 deletions(-)
Signature · 1 line
2.51.0