• Linus Torvalds's avatar
    Merge tag 'edac_updates_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras · 0be3ff0c
    Linus Torvalds authored
    Pull EDAC updates from Borislav Petkov:
    
     - Switch ghes_edac to use the CPER error reporting routines and
       simplify the code considerably this way
    
     - Rip out the silly edac_align_ptr() contraption which was computing
       the size of the private structures of each driver and thus allowing
       for a one-shot memory allocation. This was clearly unnecessary and
       confusing so switch to simple and boring kmalloc* calls.
    
     - Last but not least, the usual garden variety of fixes, cleanups and
       improvements all over EDAC land
    
    * tag 'edac_updates_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
      EDAC/xgene: Fix typo processsors -> processors
      EDAC/i5100: Remove unused inline function i5100_nrecmema_dm_buf_id()
      EDAC: Use kcalloc()
      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
      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()
      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
    0be3ff0c
synopsys_edac.c 38 KB