[PATCH 0/3] Fix some 4-byte vs. 8-byte alignment issues
From: Tony Luck
Date: Mon Sep 16 2019 - 18:40:02 EST
This series is made up of three patches from Fenghua Yu's "Split lock"
series last posted here:
https://lore.kernel.org/kvm/1560897679-228028-1-git-send-email-fenghua.yu@xxxxxxxxx/
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(-)
--
2.20.1