Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit e726f3c3 authored by Borislav Petkov's avatar Borislav Petkov
Browse files

amd64_edac: Fix interleaving check


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>
parent 76f04f25
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment