08 Jan, 2011

1 commit

  • * 'mce-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
    EDAC, MCE: Fix NB error formatting
    EDAC, MCE: Use BIT_64() to eliminate warnings on 32-bit
    EDAC, MCE: Enable MCE decoding on F15h
    EDAC, MCE: Allow F15h bank 6 MCE injection
    EDAC, MCE: Shorten error report formatting
    EDAC, MCE: Overhaul error fields extraction macros
    EDAC, MCE: Add F15h FP MCE decoder
    EDAC, MCE: Add F15 EX MCE decoder
    EDAC, MCE: Add an F15h NB MCE decoder
    EDAC, MCE: No F15h LS MCE decoder
    EDAC, MCE: Add F15h CU MCE decoder
    EDAC, MCE: Add F15h IC MCE decoder
    EDAC, MCE: Add F15h DC MCE decoder
    EDAC, MCE: Select extended error code mask

    Linus Torvalds
     

07 Jan, 2011

31 commits


09 Dec, 2010

3 commits

  • When matching error address to the range contained by one memory node,
    we're in valid range when node interleaving

    1. is disabled, or
    2. enabled and when the address bits we interleave on match the
    interleave selector on this node (see the "Node Interleaving" section in
    the BKDG for an enlightening example).

    Thus, when we early-exit, we need to reverse the compound logic
    statement properly.

    Cc:
    Signed-off-by: Borislav Petkov

    Borislav Petkov
     
  • This corrects the misprint introduced when moving '#if
    PAGE_SHIFT' from i7core_edac.c to edac_core.h (commit
    e9144601d364d5b81f3e63949337f8507eb58dca)

    Cc: Mauro Carvalho Chehab
    Signed-off-by: Andrei Konovalov
    Signed-off-by: Borislav Petkov

    Andrei Konovalov
     
  • 00740c58541b6087d78418cebca1fcb86dc6077d changed edac_core to
    un-/register a workqueue item only if a lowlevel driver supplies a
    polling routine. Normally, when we remove a polling low-level driver, we
    go and cancel all the queued work. However, the workqueue unreg happens
    based on the ->op_state setting, and edac_mc_del_mc() sets this to
    OP_OFFLINE _before_ we cancel the work item, leading to NULL ptr oops on
    the workqueue list.

    Fix it by putting the unreg stuff in proper order.

    Cc: #36.x
    Reported-and-tested-by: Tobias Karnat
    LKML-Reference:
    Signed-off-by: Borislav Petkov

    Borislav Petkov
     

22 Nov, 2010

2 commits


18 Nov, 2010

2 commits

  • Support more than just the "Misc Control" part of the northbridges.
    Support more flags by turning "gart_supported" into a single bit flag
    that is stored in a flags member. Clean up related code by using a set
    of functions (amd_nb_num(), amd_nb_has_feature() and node_to_amd_nb())
    instead of accessing the NB data structures directly. Reorder the
    initialization code and put the GART flush words caching in a separate
    function.

    Signed-off-by: Hans Rosenfeld
    Signed-off-by: Borislav Petkov

    Hans Rosenfeld
     
  • Not only the naming of the files was confusing, it was even more so for
    the function and variable names.

    Renamed the K8 NB and NUMA stuff that is also used on other AMD
    platforms. This also renames the CONFIG_K8_NUMA option to
    CONFIG_AMD_NUMA and the related file k8topology_64.c to
    amdtopology_64.c. No functional changes intended.

    Signed-off-by: Hans Rosenfeld
    Signed-off-by: Borislav Petkov

    Hans Rosenfeld
     

27 Oct, 2010

1 commit

  • * 'linux_next' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/i7core: (34 commits)
    i7core_edac: return -ENODEV when devices were already probed
    i7core_edac: properly terminate pci_dev_table
    i7core_edac: Avoid PCI refcount to reach zero on successive load/reload
    i7core_edac: Fix refcount error at PCI devices
    i7core_edac: it is safe to i7core_unregister_mci() when mci=NULL
    i7core_edac: Fix an oops at i7core probe
    i7core_edac: Remove unused member channels in i7core_pvt
    i7core_edac: Remove unused arg csrow from get_dimm_config
    i7core_edac: Reduce args of i7core_register_mci
    i7core_edac: Introduce i7core_unregister_mci
    i7core_edac: Use saved pointers
    i7core_edac: Check probe counter in i7core_remove
    i7core_edac: Call pci_dev_put() when alloc_i7core_dev() failed
    i7core_edac: Fix error path of i7core_register_mci
    i7core_edac: Fix order of lines in i7core_register_mci
    i7core_edac: Always do get/put for all devices
    i7core_edac: Introduce i7core_pci_ctl_create/release
    i7core_edac: Introduce free_i7core_dev
    i7core_edac: Introduce alloc_i7core_dev
    i7core_edac: Reduce args of i7core_get_onedevice
    ...

    Linus Torvalds