19 Apr, 2008
1 commit
-
Signed-off-by: Matthew Wilcox
11 Apr, 2008
1 commit
-
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable watchdog
drivers, to re-enable auto loading.[dbrownell@users.sourceforge.net: more drivers; registration fixes]
Signed-off-by: Kay Sievers
Signed-off-by: David Brownell
Cc: Wim Van Sebroeck
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
07 Apr, 2008
1 commit
-
I noticed this while testing the latest code. I'm not sure if it is required,
but the normal (or LSB) timeout value is set to zero, so the MSB should
be as well to stay consistent.If the chip revision is >= 8, set MSB of the 16-bit timeout value to zero
when disabling the watchdog in it8712f_wdt_disable().Signed-off-by: Andrew Paprocki
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton
02 Apr, 2008
1 commit
-
This patch corrects an error in the driver it8712f_wdt. You cannot set
the 16-bit WDT_TIMEOUT access as a 16-bit outw, because the byte
ordering will be wrong. So just do the high 8 bits as a separate
access.Signed-off-by: Oliver Schuster
Signed-off-by: Linus Torvalds
07 Mar, 2008
1 commit
-
This patch makes the needlessly global asminline_call() static and
removes the not required "asmlinkage".Signed-off-by: Adrian Bunk
Acked-by: Thomas Mingarelli
Signed-off-by: Wim Van Sebroeck
Cc: Andrew Morton
06 Mar, 2008
6 commits
-
Remove the volatile since those are useless in such a structure.
Signed-off-by: Florian Fainelli
Signed-off-by: Wim Van Sebroeck -
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton -
We can simplify the code by deleting all of the duplicated DMI table
walking code and using the kernel's existing dmi_walk() interface to
find the DMI entry the driver is looking for.Signed-off-by: Roland Dreier
Acked-by: Thomas Mingarelli
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton -
The return value of smbios_scan_machine() is never used, and when it
succeeds it doesn't return anything, so just make it void. This fixes:drivers/watchdog/hpwdt.c: In function 'smbios_scan_machine':
drivers/watchdog/hpwdt.c:562: warning: control reaches end of non-void functionSigned-off-by: Roland Dreier
Acked-by: Thomas Mingarelli
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton -
On my HP DL380 G5 system running a 64-bit kernel, loading the hpwdt
driver causes a crash because the driver attempts to ioremap an
invalid physical address. This is because the driver has an incorrect
definition of the SMBIOS table entry point structure: the table
address is only a 32-bit quantity, and making it a u64 means that the
high-order 32 bits end up containing garbage.Correcting the structure definition fixes the driver so that it loads
without any problems on my system.Signed-off-by: Roland Dreier
Acked-by: Thomas Mingarelli
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton -
This patch adds support for 16-bit watchdog timeout values which are
available in chip revisions >= 0x08. Values
Signed-off-by: Wim Van Sebroeck
19 Feb, 2008
4 commits
-
Hp is providing a Hardware WatchDog Timer driver that will only work with the
specific HW Timer located in the HP ProLiant iLO 2 ASIC. The iLO 2 HW Timer
will generate a Non-maskable Interrupt (NMI) 9 seconds before physically
resetting the server, by removing power, so that the event can be logged to
the HP Integrated Management Log (IML), a Non-Volatile Random Access Memory
(NVRAM). The logging of the event is performed using the HP ProLiant ROM via
an Industry Standard access known as a BIOS Service Directory Entry.Signed-off-by: Thomas Mingarelli
Signed-off-by: Wim Van Sebroeck -
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu
Signed-off-by: Wim Van Sebroeck -
This patch converts the MTX-1 to be a platform device, use the available
generic GPIO API for the MTX-1 board and register the miscdev alias.Signed-off-by: Florian Fainelli
Signed-off-by: Wim Van Sebroeck -
Support watchdog timers built into SiByte MIPS SoCs.
Signed-off-by: Andy Sharp
Signed-off-by: Wim Van Sebroeck
Cc: Ralf Baechle
Signed-off-by: Andrew Morton
03 Feb, 2008
1 commit
-
Signed-off-by: Joe Perches
Signed-off-by: Adrian Bunk
29 Jan, 2008
1 commit
-
Use SGI_HAS_INDYDOG for INDYDOG depends.
Signed-off-by: Thomas Bogendoerfer
Signed-off-by: Wim Van Sebroeck
Cc: Ralf Baechle
Signed-off-by: Andrew Morton
26 Jan, 2008
4 commits
-
"static struct file_operations" should be
"static const struct file_operations".Signed-off-by: Jan Engelhardt
Signed-off-by: Wim Van Sebroeck -
This is a driver for watchdog timer built into TXx9 MIPS SoCs.
Signed-off-by: Atsushi Nemoto
Cc: Ralf Baechle
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton -
Make sure that we first do a register_reboot_notifier before we
do a misc_register. A misc_register opens the interface to
userspace and it's best to do this as the last action.Signed-off-by: Wim Van Sebroeck
-
The audit of _p usage shows various drivers assume inb_p is somehow atomic.
Of course it isn't and the delay can be split from the I/O cycle causing a
timing violation on chips that matter (eg this one)With the proposed use of udelay() for some _p delays this will cease to be
a mostly theoretical bug (as the delay stall is unsplittable) and wants
fixing.Lots of other drivers need fixing this way too.
Signed-off-by: Alan Cox
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton
25 Jan, 2008
1 commit
-
These are derivatives of the AT32AP7000 chip, which means that most of
the code stays the same. Rename a few files, functions, definitions
and config symbols to reflect that they apply to all AP700x chips, and
exclude some platform devices from chips where they aren't present.Signed-off-by: Haavard Skinnemoen
19 Jan, 2008
1 commit
-
This reverts commit 3ff6eb4a2fe5757cbe7c5d57c8eb60ab0775f2f0.
the !found check in the for loop allready made sure that only one
device was found.Signed-Off-By: Pádraig Brady
Signed-Off-By: Wim Van Sebroeck
05 Dec, 2007
1 commit
-
Adds support for the built-in watchdog on EPIC Nano 7240 boards from IEI.
Tested on Nano-7240RS.
Hardware documentation of the platform (including watchdog) can be found
on the IEI website: http://www.ieiworld.comSigned-off-by: Gilles Gigan
Signed-off-by: Wim Van Sebroeck
20 Nov, 2007
4 commits
-
This patch adds support for the ITE Tech Inc. IT8712F EC-LPC Super I/O
chipset found on many Pentium III and AMD motherboards. Developed using code
from other watchdog drivers and the datasheet on ITE Tech homepage.Signed-off-by: Jorge Boncompte
Signed-off-by: Wim Van Sebroeck -
bfin_wdt, remove SPIN_LOCK_UNLOCKED
SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead
Signed-off-by: Jiri Slaby
Acked-by: Mike Frysinger
Cc: Bryan Wu
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton -
If no address is given for the W83697HF/HG watchdog IO port, stop looping
through possible locations when a watchdog device has been found.Signed-off-by: Samuel Tardieu
Signed-off-by: Wim Van Sebroeck -
This patch enables the watchdog to read out the reset cause after a boot and
provide this to the user.The driver will now also return -EIO if probed when booting from a watchdog
reset. This is due to a silicon errata in the AT32AP700x devices.Detailed description and work-arounds can be found in the errata section of the
datasheet avilable from
http://www.atmel.com/dyn/products/datasheets.asp?family_id=682Signed-off-by: Hans-Christian Egtvedt
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton
03 Nov, 2007
5 commits
-
* git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog:
[WATCHDOG] iTCO_wdt.c ICH8 pci-device-id's
[WATCHDOG] iTCO_wdt.c init & exit fixes
[WATCHDOG] iTCO_wdt.c pci_device_id table clean-up
[WATCHDOG] spin_lock_init() fixes
[WATCHDOG] Unlock in iTCO_wdt_start when reboot is disabled
[WATCHDOG] Add necessary braces to if (...) \n #if... cases
[WATCHDOG] trivial fix two returns in void functions -
Add the pci-device-id's for the ICH8M and the ICH8M-E chipsets.
Signed-off-by: Wim Van Sebroeck
-
Mark init and exit procedures as __devinit & _-devexit.
Signed-off-by: Wim Van Sebroeck
-
Make the pci_device_id table more readable.
Signed-off-by: Wim Van Sebroeck
-
Some watchdog drivers initialize global spinlocks in module's init function
which is tolerable, but some do it in PCI probe function. So, switch to
static initialization to fix theoretical bugs and, more importantly, stop
giving people bad examples.Signed-off-by: Alexey Dobriyan
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton
31 Oct, 2007
1 commit
-
Fix links to files in Documentation/* in various Kconfig files
Signed-off-by: Dirk Hohndel
Signed-off-by: Linus Torvalds
27 Oct, 2007
1 commit
-
Unlock in iTCO_wdt_start when reboot is disabled
Signed-off-by: Roel Kluin
Signed-off-by: Wim Van Sebroeck
25 Oct, 2007
2 commits
-
Signed-off-by: Ilpo Jarvinen
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton -
This patch fixes two returns in the TI Davinci and
PNX4008 in void functions.Signed-off-by: Florian Fainelli
Signed-off-by: Wim Van Sebroeck
24 Oct, 2007
2 commits
-
Driver for the watchdog timer. Still doesn't reboots the machine
on some boards, but we have improved and cleaned itSigned-off-by: Matteo Croce
Signed-off-by: Nicolas Thill
Signed-off-by: Enrik Berkhan
Signed-off-by: Christer Weinigel
Signed-off-by: Wim Van Sebroeck -
ICP's Wafer 5823 SBC has, as far as I can tell, the same WDT as many,
if not all ICP's SBC's (that do have a WDT). I have tested it with
several boards, including Rocky 4783, Rocky 3703 and Rocky 3782.I propose a rename of the Wafer 5823 watchdog timer driver
to something like "IPC (SBC) Watchdog Timer", to reflect that it
works with other IPC boards (maybe even all of them).Signed-off-by: Veljkovic Srdjan
Signed-off-by: Wim Van Sebroeck
22 Oct, 2007
1 commit
-
Add 'fsl,' prefix to 'compatible' property for gpt nodes.
Add 'fsl,' prefix to empty, GPT0 specific 'has-wdt' property.
The fsl, prefix is being added to better match the convention of prefixing
manufacturer specific properties and values with the vendors name.Signed-off-by: Marian Balakowicz
Signed-off-by: Grant Likely