lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190916223958.27048-1-tony.luck@intel.com>
Date:   Mon, 16 Sep 2019 15:39:55 -0700
From:   Tony Luck <tony.luck@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     Tony Luck <tony.luck@...el.com>, "Ingo Molnar" <mingo@...hat.com>,
        "Borislav Petkov" <bp@...en8.de>, "H Peter Anvin" <hpa@...or.com>,
        "Peter Zijlstra" <peterz@...radead.org>,
        "Andrew Morton" <akpm@...ux-foundation.org>,
        "Dave Hansen" <dave.hansen@...el.com>,
        "Paolo Bonzini" <pbonzini@...hat.com>,
        "Radim Krcmar" <rkrcmar@...hat.com>,
        "Sai Praneeth Prakhya" <sai.praneeth.prakhya@...el.com>,
        "Ravi V Shankar" <ravi.v.shankar@...el.com>,
        "linux-kernel" <linux-kernel@...r.kernel.org>,
        "x86" <x86@...nel.org>, Fenghua Yu <fenghua.yu@...el.com>
Subject: [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/1560897679-228028-1-git-send-email-fenghua.yu@intel.com/

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ