1. 21 6月, 2019 5 次提交
  2. 05 6月, 2019 3 次提交
  3. 31 5月, 2019 2 次提交
  4. 21 5月, 2019 3 次提交
  5. 14 5月, 2019 1 次提交
  6. 11 5月, 2019 1 次提交
  7. 25 4月, 2019 1 次提交
    • B
      Revert "EDAC/amd64: Support more than two controllers for chip select handling" · 8de9930a
      Borislav Petkov 提交于
      This reverts commit 0a227af5.
      
      Unfortunately, this commit caused wrong detection of chip select sizes
      on some F17h client machines:
      
        --- 00-rc6+     2019-02-14 14:28:03.126622904 +0100
        +++ 01-rc4+     2019-04-14 21:06:16.060614790 +0200
         EDAC amd64: MC: 0:     0MB 1:     0MB
        -EDAC amd64: MC: 2: 16383MB 3: 16383MB
        +EDAC amd64: MC: 2:     0MB 3: 2097151MB
         EDAC amd64: MC: 4:     0MB 5:     0MB
         EDAC amd64: MC: 6:     0MB 7:     0MB
         EDAC MC: UMC1 chip selects:
         EDAC amd64: MC: 0:     0MB 1:     0MB
        -EDAC amd64: MC: 2: 16383MB 3: 16383MB
        +EDAC amd64: MC: 2:     0MB 3: 2097151MB
         EDAC amd64: MC: 4:     0MB 5:     0MB
         EDAC amd64: MC: 6:     0MB 7:     0M
      
      Revert it for now until it has been solved properly.
      Signed-off-by: NBorislav Petkov <bp@suse.de>
      Cc: Yazen Ghannam <yazen.ghannam@amd.com>
      8de9930a
  8. 24 4月, 2019 1 次提交
    • Y
      x86/MCE/AMD: Don't report L1 BTB MCA errors on some family 17h models · 71a84402
      Yazen Ghannam 提交于
      AMD family 17h Models 10h-2Fh may report a high number of L1 BTB MCA
      errors under certain conditions. The errors are benign and can safely be
      ignored. However, the high error rate may cause the MCA threshold
      counter to overflow causing a high rate of thresholding interrupts.
      
      In addition, users may see the errors reported through the AMD MCE
      decoder module, even with the interrupt disabled, due to MCA polling.
      
      Clear the "Counter Present" bit in the Instruction Fetch bank's
      MCA_MISC0 register. This will prevent enabling MCA thresholding on this
      bank which will prevent the high interrupt rate due to this error.
      
      Define an AMD-specific function to filter these errors from the MCE
      event pool so that they don't get reported during early boot.
      
      Rename filter function in EDAC/mce_amd to avoid a naming conflict, while
      at it.
      
       [ bp: Move function prototype to the internal header and
         massage/cleanup, fix typos. ]
      Reported-by: NRafał Miłecki <rafal@milecki.pl>
      Signed-off-by: NYazen Ghannam <yazen.ghannam@amd.com>
      Signed-off-by: NBorislav Petkov <bp@suse.de>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: "clemej@gmail.com" <clemej@gmail.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: James Morse <james.morse@arm.com>
      Cc: Kees Cook <keescook@chromium.org>
      Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
      Cc: Pu Wen <puwen@hygon.cn>
      Cc: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
      Cc: Shirish S <Shirish.S@amd.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Vishal Verma <vishal.l.verma@intel.com>
      Cc: linux-edac <linux-edac@vger.kernel.org>
      Cc: x86-ml <x86@kernel.org>
      Cc: <stable@vger.kernel.org> # 5.0.x: c95b323d: x86/MCE/AMD: Turn off MC4_MISC thresholding on all family 0x15 models
      Cc: <stable@vger.kernel.org> # 5.0.x: 30aa3d26: x86/MCE/AMD: Carve out the MC4_MISC thresholding quirk
      Cc: <stable@vger.kernel.org> # 5.0.x: 9308fd40: x86/MCE: Group AMD function prototypes in <asm/mce.h>
      Cc: <stable@vger.kernel.org> # 5.0.x
      Link: https://lkml.kernel.org/r/20190325163410.171021-2-Yazen.Ghannam@amd.com
      71a84402
  9. 02 4月, 2019 1 次提交
  10. 29 3月, 2019 2 次提交
  11. 27 3月, 2019 7 次提交
  12. 23 3月, 2019 2 次提交
    • T
      EDAC, altera: Fix S10 Double Bit Error Notification · 1bd76ff4
      Thor Thayer 提交于
      Stratix10 Double Bit Error Address was always read from SDRAM Address
      register instead of each device's Address register.
      
      To determine which device had the DBE, cycle through the EDAC devices
      comparing the DBE value to the db_irq value. Once found, report the DBE
      Address from the device registers as well as the device name.
      
      Finally, notify the system via an SMC call and indicate the panic should
      result in a system reboot. Change a run-time check to a Stratix10
      compile-time check for a clean SMC notification.
      
      Fixes: d5fc9125 ("EDAC, altera: Combine Stratix10 and Arria10 probe functions")
      Signed-off-by: NThor Thayer <thor.thayer@linux.intel.com>
      Signed-off-by: NBorislav Petkov <bp@suse.de>
      Cc: James Morse <james.morse@arm.com>
      Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
      Cc: linux-edac <linux-edac@vger.kernel.org>
      Link: https://lkml.kernel.org/r/1552490842-25440-1-git-send-email-thor.thayer@linux.intel.com
      1bd76ff4
    • Q
      EDAC, skx, i10nm: Make skx_common.c a pure library · fe783516
      Qiuxu Zhuo 提交于
      The following Kconfig constellations fail randconfig builds:
      
        CONFIG_ACPI_NFIT=y
        CONFIG_EDAC_DEBUG=y
        CONFIG_EDAC_SKX=m
        CONFIG_EDAC_I10NM=y
      
      or
      
        CONFIG_ACPI_NFIT=y
        CONFIG_EDAC_DEBUG=y
        CONFIG_EDAC_SKX=y
        CONFIG_EDAC_I10NM=m
      
      with:
        ...
        CC [M]  drivers/edac/skx_common.o
        ...
        .../skx_common.o:.../skx_common.c:672: undefined reference to `__this_module'
      
      That is because if one of the two drivers - skx_edac or i10nm_edac - is
      built-in and the other one is a module, the shared file skx_common.c
      gets linked into a module object by kbuild. Therefore, when linking that
      same file into vmlinux, the '__this_module' symbol used in debugfs isn't
      defined, leading to the above error.
      
      Fix it by moving all debugfs code from skx_common.c to both skx_base.c
      and i10nm_base.c respectively. Thus, skx_common.c doesn't refer to the
      '__this_module' symbol anymore.
      
      Clarify skx_common.c's purpose at the top of the file for future
      reference, while at it.
      
       [ bp: Make text more readable. ]
      
      Fixes: d4dc89d0 ("EDAC, i10nm: Add a driver for Intel 10nm server processors")
      Reported-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NQiuxu Zhuo <qiuxu.zhuo@intel.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      Signed-off-by: NBorislav Petkov <bp@suse.de>
      Cc: James Morse <james.morse@arm.com>
      Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
      Cc: linux-edac <linux-edac@vger.kernel.org>
      Link: https://lkml.kernel.org/r/20190321221339.GA32323@agluck-desk
      fe783516
  13. 26 2月, 2019 1 次提交
  14. 15 2月, 2019 3 次提交
  15. 06 2月, 2019 2 次提交
  16. 05 2月, 2019 1 次提交
  17. 03 2月, 2019 4 次提交