Fix some 4-byte vs. 8-byte alignment issues
Status from this message: The following commit has been merged into the x86/cpu branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86/common: Align cpu_caps_cleared and cpu_caps_set to unsigned longarch/ | +3 | 0 replies | |
| 2/3 | drivers/net/b44: Align pwol_mask to unsigned long for better performancedrivers/ | +2 | 0 replies | |
| 3/3 | x86/split_lock: Align the x86_capability array to size of unsigned longarch/ | +9 | 3 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Borislav Petkov |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Fix some 4-byte vs. 8-byte alignment issues
This series is made up of three patches from Fenghua Yu's "Split lock" series last posted here:
https://lore.kernel.org/kvm/[email protected]/
Part 3 has been fixed to use a union to force alignment per feedback from Thomas.
These parts are all simple fixes which are a necessary pre-cursor before we can enable #AC traps for split lock access. But they are also worthwhile performance fixes in their own right. So no sense in holding them back while we discuss the merits of the rest of the series.
Fenghua Yu (2):
x86/common: Align cpu_caps_cleared and cpu_caps_set to unsigned long x86/split_lock: Align the x86_capability array to size of unsigned
long
Peter Zijlstra (1):
drivers/net/b44: Align pwol_mask to unsigned long for better
performance
arch/x86/include/asm/processor.h | 10 +++++++++- arch/x86/kernel/cpu/common.c | 5 +++-- drivers/net/ethernet/broadcom/b44.c | 4 ++-- 3 files changed, 14 insertions(+), 5 deletions(-)
Signature · 1 line
2.20.1