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-next>] [day] [month] [year] [list]
Message-ID: <20220503032820.61667-1-Smita.KoralahalliChannabasappa@amd.com>
Date:   Mon, 2 May 2022 22:28:16 -0500
From:   Smita Koralahalli <Smita.KoralahalliChannabasappa@....com>
To:     <linux-edac@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <x86@...nel.org>
CC:     Tony Luck <tony.luck@...el.com>,
        Smita Koralahalli <Smita.KoralahalliChannabasappa@....com>,
        <hpa@...or.com>, Yazen Ghannam <yazen.ghannam@....com>,
        Dave Hansen <dave.hansen@...ux.intel.com>
Subject: [PATCH v5 0/3] x86/mce: Handle error injection failure in mce-inject module

This set of patches handles a scenario of silent hw error injection
failure on mce-inject module and returns appropriate error code to
userspace.

Error injection fails if the platform enforces write ignored behavior on
status registers and the second patch checks for writes ignored from
MCA_STATUS register and returns appropriate error code to user.

The first patch does some cleanup by replacing existing struct i_mce
with inject_desc and including error field as its member.

The last patch assigns and returns the error code to userspace when none
of the CPUs are online.

Smita Koralahalli (3):
  x86/mce/mce-inject: Replace struct i_mce with struct inject_desc
  x86/mce: Check for writes ignored in MCA_STATUS register
  x86/mce/mce-inject: Return appropriate error code if CPUs are offline

 arch/x86/kernel/cpu/mce/inject.c   | 124 +++++++++++++++++++----------
 arch/x86/kernel/cpu/mce/internal.h |   2 +-
 2 files changed, 82 insertions(+), 44 deletions(-)

-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ