14 Oct, 2009

1 commit

  • After sucessfully registering the misc device the driver iounmaps the
    hardware registers and kfree's the device data structure. Ouch !

    This was introduced with commit e42311d75 (riowatchdog: Convert to
    pure OF driver) and went unnoticed for more than a year :)

    Return success instead of dropping into the error cleanup code path.

    Signed-off-by: Thomas Gleixner
    Signed-off-by: David S. Miller

    Thomas Gleixner
     

25 Sep, 2009

1 commit


18 Sep, 2009

11 commits


15 Aug, 2009

1 commit

  • AR7 is currently being resubmitted for mainline inclusion
    and we changed the path to the ar7-specific headers
    from ar7 to mach-ar7 to reflect the other MIPS-based
    boards header hierarchy. This patch will avoid any future
    compilation failure due to missing headers.

    Signed-off-by: Florian Fainelli
    Signed-off-by: Wim Van Sebroeck

    Florian Fainelli
     

08 Aug, 2009

1 commit

  • * master.kernel.org:/home/rmk/linux-2.6-arm: (30 commits)
    ARM: 5639/1: arm: clkdev.c should include
    ARM: 5638/1: arch/arm/kernel/signal.c: use correct address space for CRUNCH
    ARM: 5637/1: [KS8695] Don't reference CLOCK_TICK_RATE in drivers
    ARM: S3C64XX: serial: Fix section mismatch warning
    ARM: S3C24XX: serial: Fix section mismatch warnings
    ARM: S3C: PWM fix for low duty cycle
    ARM: 5597/1: [PCI] reset all internal hardware prior PCI initialization
    ARM: 5627/1: Fix restoring of lr at the end of mcount
    ARM: 5624/1: Document cache aliasing region
    S3C64XX: Fix ARMCLK configuration
    S3C64XX: Fix get_rate() for ARMCLK
    S3C24XX: GPIO: Fix pin range check in s3c_gpiolib_getchip
    mx3 defconfig update
    mx27 defconfig update
    ARM: 5623/1: Treo680: ir shutdown typo fix
    ARM: includecheck fix: plat-stmp3xxx/pinmux.c
    ARM: includecheck fix: plat-s3c64xx/pm.c
    ARM: includecheck fix: mach-omap2/mcbsp.c
    ARM: includecheck fix: mach-omap1/mcbsp.c
    ARM: includecheck fix: board-sffsdr.c
    ...

    Linus Torvalds
     

06 Aug, 2009

1 commit


03 Aug, 2009

1 commit


19 Jul, 2009

1 commit

  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    ARM: Realview & Versatile: Fix i2c_board_info definitions
    [ARM] 5608/1: Updated U300 defconfig
    [ARM] 5606/1: Fix ep93xx watchdog driver headers
    [ARM] 5594/1: Correct U300 VIC init PM setting
    [ARM] 5595/1: ep93xx: missing header in dma-m2p.c
    [ARM] Kirkwood: Correct header define
    [ARM] pxa: fix ULPI_{DIR,NXT,STP} MFP defines
    backlight: fix pwm_bl.c to notify platform code when suspending
    [ARM] pxa: use kzalloc() in pxa_init_gpio_chip()
    [ARM] pxa: correct I2CPWR clock for pxa3xx
    pxamci: correct DMA flow control
    ARM: add support for the EET board, based on the i.MX31 pcm037 module
    pcm037: add MT9T031 camera support
    Armadillo 500 add NAND flash device support (resend).
    ARM MXC: Armadillo 500 add NOR flash device support (resend).
    mx31: remove duplicated #include

    Linus Torvalds
     

17 Jul, 2009

1 commit


10 Jul, 2009

4 commits


26 Jun, 2009

1 commit

  • Using the RTAS watchdog driver to read out the temperature crashes
    on a PXCAB:

    Unable to handle kernel paging request for data at address 0xfe347b50
    Faulting instruction address: 0xc00000000001af64
    Oops: Kernel access of bad area, sig: 11 [#1]

    The wrong usage of "(void *)__pa(&temperature)" in rtas_call() is
    removed by using the function rtas_get_sensor() which does the
    right thing.

    Signed-off-by: Adrian Reber
    Acked-by: Utz Bacher
    Signed-off-by: Benjamin Herrenschmidt

    Adrian Reber
     

23 Jun, 2009

3 commits


21 Jun, 2009

5 commits


20 Jun, 2009

1 commit

  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (35 commits)
    powerpc/5121: make clock debug output more readable
    powerpc/5xxx: Add common mpc5xxx_get_bus_frequency() function
    powerpc/5200: Update pcm030.dts to add i2c eeprom and delete cruft
    powerpc/5200: convert mpc52xx_psc_spi to use cs_control callback
    fbdev/xilinxfb: Fix improper casting and tighen up probe path
    usb/ps3: Add missing annotations
    powerpc: Add memory clobber to mtspr()
    powerpc: Fix invalid construct in our CPU selection Kconfig
    ps3rom: Use ps3_system_bus_[gs]et_drvdata() instead of direct access
    powerpc: Add configurable -Werror for arch/powerpc
    of_serial: Add UPF_FIXED_TYPE flag
    drivers/hvc: Add missing __devexit_p()
    net/ps3: gelic - Add missing annotations
    powerpc: Introduce macro spin_event_timeout()
    powerpc/warp: Fix ISA_DMA_THRESHOLD default
    powerpc/bootwrapper: Custom build options for XPedite52xx targets
    powerpc/85xx: Add defconfig for X-ES MPC85xx boards
    powerpc/85xx: Add dts files for X-ES MPC85xx boards
    powerpc/85xx: Add platform support for X-ES MPC85xx boards
    83xx: add support for the kmeter1 board.
    ...

    Linus Torvalds
     

18 Jun, 2009

7 commits

  • Add NMI sourcing functionality (Can only be active if nmi_watchdog is
    inactive).

    Signed-off-by: Thomas Mingarelli
    Signed-off-by: Wim Van Sebroeck

    Thomas Mingarelli
     
  • Bugzilla: 9868 & 10195.
    There seems to be a bug into the SMM code that handles TCO Timeout SMI.
    Andriy Gapon found that the code on his DG33TL system does the following:
    > The handler is quite simple - it tests value in TCO1_CNT against 0x800, i.e.
    > checks TCO_TMR_HLT. If the bit is set the handler goes into an infinite loop,
    > apparently to allow the second timeout and reboot. Otherwise it simply clears
    > TIMEOUT bit in TCO1_STS and that's it.
    > So the logic seems to be reversed, because it is hard to see how TIMEOUT can
    > get set to 1 and SMI generated when TCO_TMR_HLT is set (other than a
    > transitional effect).

    The only trick we have is to bypass the SMM code by turning of the generation
    of the SMI#. The trick can only be enabled by setting the vendorsupport module
    parameter to 911. This trick doesn't work well on laptop's.

    Note: this is a dirty hack. Please handle with care. The only real fix is that
    the bug in the SMM bios code get's fixed.

    Signed-off-by: Wim Van Sebroeck

    Wim Van Sebroeck
     
  • According to 9.1.33 on p.343 of ICH8.pdf RCBA can be disabled by
    hardware if bit 0 of RCBA register is not set.

    Perform correct check for this to prevent memory corruption under
    some virtual machines where this feature is disabled.

    Signed-off-by: Denis V. Lunev
    CC: Vasily Averin
    Signed-off-by: Wim Van Sebroeck
    Signed-off-by: Andrew Morton

    Denis V. Lunev
     
  • Make sure that when the WDIOF_MAGICCLOSE flag is set we also
    support the magic-close feature...

    Signed-off-by: Wim Van Sebroeck

    Wim Van Sebroeck
     
  • A pointer to probe and remove functions is passed to the core via
    platform_driver_register and so the function must not disappear when the
    .init sections are discarded. Otherwise (if also having HOTPLUG=y)
    unbinding and binding a device to the driver via sysfs will result in an
    oops as does a device being registered late.

    Signed-off-by: Wim Van Sebroeck

    Wim Van Sebroeck
     
  • Clean-up the watchdog drivers so that checkpatch.pl get's happy...

    Signed-off-by: Wim Van Sebroeck

    Wim Van Sebroeck
     
  • Clean-up the iTCO_wdt code so that checkpatch.pl get's happy...

    Signed-off-by: Wim Van Sebroeck

    Wim Van Sebroeck