Skip to content
  • Peter Tyser's avatar
    edac: add e752x parameter for sysbus_parity selection · 94ee1cf5
    Peter Tyser authored
    
    
    Add a module parameter "sysbus_parity" to allow forcing system bus parity
    error checking on or off.  Also add support to automatically disable system
    bus parity errors for processors which do not support it.
    
    If the sysbus_parity parameter is specified, sysbus parity detection will be
    forced on or off.  If it is not specified, the driver will attempt to look at
    the CPU identifier string and determine if the CPU supports system bus parity.
     A blacklist was used instead of a whitelist so that system bus parity would
    be enabled by default and to minimize the chances of breaking things for those
    people already using the driver which for some reason have a processor that
    does not have a valid CPU identifier string.
    
    [akpm@linux-foundation.org: coding-style fixes]
    Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
    Signed-off-by: default avatarDoug Thompson <dougthompson@xmission.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    94ee1cf5