Skip to content

Fix some 4-byte vs. 8-byte alignment issues

Tony Luck kvm lkml 1 version Applied

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

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3x86/common: Align cpu_caps_cleared and cpu_caps_set to unsigned longarch/x86/kernel/cpu/common.c+3 -20 replies
2/3drivers/net/b44: Align pwol_mask to unsigned long for better performancedrivers/net/ethernet/broadcom/b44.c+2 -20 replies
3/3x86/split_lock: Align the x86_capability array to size of unsigned longarch/x86/include/asm/processor.h+9 -13 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBorislav Petkov
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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