15 Dec, 2016

1 commit


21 Mar, 2015

1 commit

  • of_device_id is always used as const. See driver.of_match_table and open
    firmware functions.

    Signed-off-by: Fabian Frederick
    Cc: Greg Kroah-Hartman
    Cc: Doug Thompson
    Cc: Robert Richter
    Cc: Mauro Carvalho Chehab
    Cc: Johannes Thumshirn
    Cc: Michal Simek
    Cc: Sören Brinkmann
    Cc: linux-edac@vger.kernel.org
    Cc: linux-arm-kernel@lists.infradead.org
    Link: http://lkml.kernel.org/r/1426535685-25996-10-git-send-email-fabf@skynet.be
    Signed-off-by: Borislav Petkov

    Fabian Frederick
     

23 Feb, 2015

1 commit


05 Nov, 2013

4 commits

  • Always have the error injection i/f available, even if there is no
    debugfs or EDAC_DEBUG enabled. We need this for testing production
    kernels and environments.

    Thus, the entry moves from:

    /sys/kernel/debug/edac/mc0/inject_ctrl

    to:

    /sys/devices/system/edac/mc/mc0/inject_ctrl

    No other changes of the interface.

    Signed-off-by: Robert Richter
    Signed-off-by: Robert Richter

    Robert Richter
     
  • Assinging correct names of the 'hb_mc_edac' and 'hb_l2_edac' edac
    modules for module, controller and device. Reported values for
    Highbank in dmesg are now:

    EDAC MC0: Giving out device to module hb_mc_edac controller
    calxeda,hb-ddr-ctrl: DEV fff00000.memory-controller (INTERRUPT)

    EDAC DEVICE0: Giving out device to module hb_l2_edac controller
    calxeda,hb-sregs-l2-ecc: DEV fff3c200.sregs (INTERRUPT)

    Signed-off-by: Robert Richter
    Acked-by: Rob Herring
    Signed-off-by: Robert Richter

    Robert Richter
     
  • Implement edac support for Calxeda ECX-2000.

    The ECX-2000 memory controller is similar to Highbank but has
    different register bases for error and interrupt registers. There is
    an own device tree name "calxeda,ecx-2000-ddr-ctrl" for identification
    and initialization of the ECX-2000 and its base addresses.

    Signed-off-by: Robert Richter
    Acked-by: Rob Herring
    Signed-off-by: Robert Richter

    Robert Richter
     
  • Register and enable interrupts after the edac registration. Otherwise
    incomming ecc error interrupts lead to crashes during device setup.

    Fixing this in drivers for mc and l2.

    Signed-off-by: Robert Richter
    Acked-by: Rob Herring
    Cc: stable # 3.6+
    Signed-off-by: Robert Richter

    Robert Richter
     

04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, and __devexit
    from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: Doug Thompson
    Cc: Borislav Petkov
    Cc: Mark Gross
    Cc: Jason Uhlenkott
    Cc: Mauro Carvalho Chehab
    Cc: Tim Small
    Cc: Ranganathan Desikan
    Cc: "Arvind R."
    Cc: Ralf Baechle
    Cc: David Daney
    Cc: Egor Martovetsky
    Cc: Olof Johansson
    Cc: Chris Metcalf
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

28 Nov, 2012

1 commit

  • This removes an open coded simple_open() function and replaces file
    operations references to the function with simple_open() instead.

    dpatch engine is used to auto generate this patch.
    (https://github.com/weiyj/dpatch)

    Cc: Rob Herring
    Signed-off-by: Wei Yongjun
    Signed-off-by: Borislav Petkov

    Wei Yongjun
     

27 Jun, 2012

1 commit