• Borislav Petkov's avatar
    amd64_edac: Fix interleaving check · e726f3c3
    Borislav Petkov authored
    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: <stable@kernel.org>
    Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
    e726f3c3
amd64_edac.c 80.9 KB