• Arnd Bergmann's avatar
    EDAC, xgene: Fix cpuid abuse · 451bb7fb
    Arnd Bergmann authored
    The new x-gene EDAC driver incorrectly tried to figure out the version
    of one of its IP blocks by looking at the version of the CPU core, which
    is only vagely related.
    
    This removes the incorrect code and instead uses the version of the IP
    block in the compatible string where it belongs.
    
    Found using build testing on x86, which does not provide the arm64
    cpuid interface.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    [ Changed subnode to "apm,xgene-edac-pmd-v2", adjusted check. ]
    Signed-off-by: default avatarLoc Ho <lho@apm.com>
    Cc: devicetree@vger.kernel.org
    Cc: dougthompson@xmission.com
    Cc: ijc+devicetree@hellion.org.uk
    Cc: jcm@redhat.com
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-edac <linux-edac@vger.kernel.org>
    Cc: mark.rutland@arm.com
    Cc: mchehab@osg.samsung.com
    Cc: patches@apm.com
    Cc: robh+dt@kernel.org
    Link: http://lkml.kernel.org/r/3195065.IK73o60xya@wuerfelSigned-off-by: default avatarBorislav Petkov <bp@suse.de>
    451bb7fb
apm-xgene-edac.txt 2.24 KB