1. 23 Jan, 2018 1 commit
  2. 02 Nov, 2017 1 commit
    • Greg Kroah-Hartman's avatar
      License cleanup: add SPDX GPL-2.0 license identifier to files with no license · b2441318
      Greg Kroah-Hartman authored
      Many source files in the tree are missing licensing information, which
      makes it harder for compliance tools to determine the correct license.
      By default all files without license information are under the default
      license of the kernel, which is GPL version 2.
      Update the files which contain no license information with the 'GPL-2.0'
      SPDX license identifier.  The SPDX identifier is a legally binding
      shorthand, which can be used instead of the full boiler plate text.
      This patch is based on work done by Thomas Gleixner and Kate Stewart and
      Philippe Ombredanne.
      How this work was done:
      Patches were generated and checked against linux-4.14-rc6 for a subset of
      the use cases:
       - file had no licensing information it it.
       - file was a */uapi/* one with no licensing information in it,
       - file was a */uapi/* one with existing licensing information,
      Further patches will be generated in subsequent months to fix up cases
      where non-standard...
  3. 22 Sep, 2017 1 commit
  4. 22 Aug, 2017 1 commit
    • Helge Deller's avatar
      parisc: PDT: Add full support for memory failure via Page Deallocation Table (PDT) · 54ac8fcb
      Helge Deller authored
      This patch adds full support to read PDT info on all machine types.  At bootup
      the PDT is read and bad memory excluded from usage via memblock_reserve().
      Later in the boot process a kernel thread is started (kpdtd) which regularily
      checks firmare for new reported bad memory and tries to soft offline pages in
      case of correctable errors and to kill processes and exclude such memory in
      case of uncorrectable errors via memory_failure().
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
  5. 25 Jul, 2017 2 commits
    • Helge Deller's avatar
      parisc: Show DIMM slot number which holds broken memory module · c46bafc4
      Helge Deller authored
      The Page Deallocation Table (PDT) holds the physical addresses of all broken
      memory addresses. With the physical address we now are able to show which DIMM
      slot (e.g. 1a, 3c) actually holds the broken memory module so that users are
      able to replace it.
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
    • Helge Deller's avatar
      parisc: Fix crash when calling PDC_PAT_MEM PDT firmware function · f520e552
      Helge Deller authored
      Commit c9c2877d ("parisc: Add Page Deallocation Table (PDT) support")
      introduced the pdc_pat_mem_read_pd_pdt() firmware helper function, which
      crashed the system because it trashed the stack if the
      pdc_pat_mem_read_pd_retinfo struct was located on the stack (and which is
      in size less than the required 32 64-bit values).
      Fix it by using the pdc_result struct instead when calling firmware and copy
      the return values back into the result struct when finished sucessfully.
      While debugging this code I noticed that the pdc_type wasn't set correctly
      either, so let's fix that too.
      Fixes: c9c2877d
       ("parisc: Add Page Deallocation Table (PDT) support")
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
  6. 12 May, 2017 1 commit
    • Helge Deller's avatar
      parisc: Add Page Deallocation Table (PDT) support · c9c2877d
      Helge Deller authored
      The firmare in most parisc machines maintains a Page Deallocation Table (PDT)
      which holds a list of physical memory addresses where hardware detected memory
      errors (single bit and double bit errors).
      This patch adds the missing PDC firmware calls and the logic to read the PDT
      from firmware, report all current PDT entries and exclude the reported bad
      memory from being used by Linux.
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>