1. 23 May, 2022 1 commit
    • Borislav Petkov's avatar
      Merge branches 'edac-misc' and 'edac-alloc-cleanup' into edac-updates-for-v5.19 · be80a1ca
      Borislav Petkov authored
      Combine all collected EDAC changes for submission into v5.19:
      
      * edac-misc:
        EDAC/xgene: Fix typo processsors -> processors
        EDAC/i5100: Remove unused inline function i5100_nrecmema_dm_buf_id()
        EDAC/ghes: Change ghes_hw from global to static
        EDAC/armada_xp: Use devm_platform_ioremap_resource()
        EDAC/synopsys: Add a SPDX identifier
        EDAC/synopsys: Add driver support for i.MX platforms
        EDAC/dmc520: Don't print an error for each unconfigured interrupt line
        efi/cper: Reformat CPER memory error location to more readable
        EDAC/ghes: Unify CPER memory error location reporting
        efi/cper: Add a cper_mem_err_status_str() to decode error description
        powerpc/85xx: Remove fsl,85... bindings
      
      * edac-alloc-cleanup:
        EDAC: Use kcalloc()
        EDAC/mc: Get rid of edac_align_ptr()
        EDAC/device: Sanitize edac_device_alloc_ctl_info() definition
        EDAC/device: Get rid of the silly one-shot memory allocation in edac_device_alloc_ctl_info()
        EDAC/pci: Get rid of the silly one-shot memory allocation in edac_pci_alloc_ctl_info()
        EDAC/mc: Get rid of silly one-shot struct allocation in edac_mc_alloc()
      Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
      be80a1ca
  2. 21 May, 2022 1 commit
  3. 17 May, 2022 1 commit
  4. 02 May, 2022 1 commit
    • Borislav Petkov's avatar
      EDAC: Use kcalloc() · 13088b65
      Borislav Petkov authored
      It is syntactic sugar anyway:
      
        # drivers/edac/edac_mc.o:
      
         text    data     bss     dec     hex filename
        13378     324       8   13710    358e edac_mc.o.before
        13378     324       8   13710    358e edac_mc.o.after
      
      md5:
         70a53ee3ac7f867730e35c2be9110748  edac_mc.o.before.asm
         70a53ee3ac7f867730e35c2be9110748  edac_mc.o.after.asm
      
        # drivers/edac/edac_device.o:
      
         text    data     bss     dec     hex filename
         5704     120       4    5828    16c4 edac_device.o.before
         5704     120       4    5828    16c4 edac_device.o.after
      
      md5:
         880563c859da6eb9aca85ec431fdbaeb  edac_device.o.before.asm
         880563c859da6eb9aca85ec431fdbaeb  edac_device.o.after.asm
      
      No functional changes.
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
      Link: https://lore.kernel.org/r/20220412211957.28899-1-bp@alien8.de
      13088b65
  5. 29 Apr, 2022 2 commits
  6. 28 Apr, 2022 2 commits
  7. 19 Apr, 2022 1 commit
    • Tyler Hicks's avatar
      EDAC/dmc520: Don't print an error for each unconfigured interrupt line · ad2df247
      Tyler Hicks authored
      The dmc520 driver requires that at least one interrupt line, out of the
      ten possible, is configured. The driver prints an error and returns
      -EINVAL from its .probe function if there are no interrupt lines
      configured.
      
      Don't print a KERN_ERR level message for each interrupt line that's
      unconfigured as that can confuse users into thinking that there is an
      error condition.
      
      Before this change, the following KERN_ERR level messages would be
      reported if only dram_ecc_errc and dram_ecc_errd were configured in the
      device tree:
      
        dmc520 68000000.dmc: IRQ ram_ecc_errc not found
        dmc520 68000000.dmc: IRQ ram_ecc_errd not found
        dmc520 68000000.dmc: IRQ failed_access not found
        dmc520 68000000.dmc: IRQ failed_prog not found
        dmc520 68000000.dmc: IRQ link_err not
        dmc520 68000000.dmc: IRQ temperature_event not found
        dmc520 68000000.dmc: IRQ arch_fsm not found
        dmc520 68000000.dmc: IRQ phy_request not found
      
      Fixes: 1088750d ("EDAC: Add EDAC driver for DMC520")
      Reported-by: default avatarSinan Kaya <okaya@kernel.org>
      Signed-off-by: default avatarTyler Hicks <tyhicks@linux.microsoft.com>
      Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
      Link: https://lore.kernel.org/r/20220111163800.22362-1-tyhicks@linux.microsoft.com
      ad2df247
  8. 11 Apr, 2022 5 commits
  9. 08 Apr, 2022 3 commits
  10. 05 Apr, 2022 1 commit
  11. 03 Apr, 2022 8 commits
  12. 02 Apr, 2022 14 commits