05 Aug, 2008
6 commits
-
Signed-off-by: Andrew Morton
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
drivers/watchdog/wdt_pci.c: In function 'wdtpci_ctr_mode':
drivers/watchdog/wdt_pci.c:120: error: implicit declaration of function 'udelay'
{standard input}: Assembler messages:Signed-off-by: Andrew Morton
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Signed-off-by: Andrew Morton
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Kill off use of semaphores.
Fix ioctl races and locking holes.From: Alan Cox
Signed-off-by: Andrew Morton
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Signed-off-by: Andrew Morton
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Use unlocked_ioctl
Remove semaphoresSigned-off-by: Alan Cox
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
31 Jul, 2008
1 commit
-
Static (read: global) is potential problem. Two threads can corrupt each
other's interrupt status, better avoid this.Signed-off-by: Alexey Dobriyan
Cc: Wim Van Sebroeck
Cc: Thomas Mingarelli
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
25 Jul, 2008
1 commit
-
Trying to compile the v850 port brings many compile errors, one of them exists
since at least kernel 2.6.19.There also seems to be noone willing to bring this port back into a usable
state.This patch therefore removes the v850 port.
If anyone ever decides to revive the v850 port the code will still be
available from older kernels, and it wouldn't be impossible for the port to
reenter the kernel if it would become actively maintained again.Signed-off-by: Adrian Bunk
Acked-by: Greg Ungerer
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
16 Jul, 2008
2 commits
-
Manual merge of:
arch/powerpc/Kconfig
arch/powerpc/kernel/stacktrace.c
arch/powerpc/mm/slice.c
arch/ppc/kernel/smp.c -
fix more API change fallout in recently merged upstream changes.
Signed-off-by: Ingo Molnar
13 Jul, 2008
1 commit
-
Signed-off-by: Stephen Rothwell
Signed-off-by: Grant Likely
24 Jun, 2008
1 commit
-
After Linus fixed the inline assembly, the CFLAGS option is not
needed anymore.Signed-off-by: Thomas Mingarelli
Signed-off-by: Wim Van Sebroeck
21 Jun, 2008
1 commit
-
The inline assembly in drivers/watchdog/hpwdt.c was incredibly broken,
and included all the function prologue and epilogue stuff, even though
it was itself then inside a C function where the compiler would add its
own prologue and epilogue on top of it all.This then just _happened_ to work if you had exactly the right compiler
version and exactly the right compiler flags, so that gcc just happened
to not create any prologue at all (the gcc-generated epilogue wouldn't
matter, since it would never be reached).But the more proper way to fix it is to simply not do this. Move the
inline asm to the top level, with no surrounding function at all (the
better alternative would be to remove the prologue and make it actually
use proper description of the arguments to the inline asm, but that's a
bigger change than the one I'm willing to make right now).Tested-by: S.Çağlar Onur
Acked-by: Thomas Mingarelli
Signed-off-by: Linus Torvalds
19 Jun, 2008
1 commit
-
The old setup works better.
Signed-off-by: Thomas Mingarelli
Signed-off-by: Wim Van Sebroeck
18 Jun, 2008
2 commits
-
To get this driver working we need the CFLAGS_hpwdt.o += -O in the Makefile.
Signed-off-by: Thomas Mingarelli
Signed-off-by: Wim Van Sebroeck -
The driver needs the asmlinkage tag and the CFLAGS line in the Makefile.
Without it the driver doesn't work.Signed-off-by: Thomas Mingarelli
Signed-off-by: Wim Van Sebroeck
31 May, 2008
1 commit
-
* Wim Van Sebroeck wrote:
> Author: Jordan Crouse
> Date: Mon Jan 21 10:07:00 2008 -0700
>
> [WATCHDOG] Add a watchdog driver based on the CS5535/CS5536 MFGPT timers-tip testing found the following build failure on latest -git:
drivers/watchdog/geodewdt.c: In function 'geodewdt_probe':
drivers/watchdog/geodewdt.c:225: error: too many arguments to function 'geode_mfgpt_alloc_timer'
make[1]: *** [drivers/watchdog/geodewdt.o] Error 1
make: *** [drivers/watchdog/geodewdt.o] Error 2with this config:
http://redhat.com/~mingo/misc/config-Fri_May_30_15_19_52_CEST_2008.bad
find the fix below.
Signed-off-by: Ingo Molnar
Acked-by: Jordan Crouse
Signed-off-by: Linus Torvalds
25 May, 2008
8 commits
-
Add the Intel ICH9DO controller ID's for the iTCO_wdt kernel driver and bump
the driver version.Tested on an P5E-VM DO ASUS motherboard.
Signed-off-by: Gabriel Craciunescu
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton -
On Book-E SMP systems each core has its own private watchdog. If only one
watchdog is enabled, when the core that doesn't enable the watchdog is hung,
system can't reset because no watchdog is running on it. That's bad. It
means we must enable watchdogs on both cores.We can use smp_call_function() to send appropriate messages to all the other
cores to enable and update the watchdog.Signed-off-by: Chen Gong
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton -
Add a watchdog timer based on the MFGPT timers in the CS5535/CS5536
companion chips to the AMD Geode GX and LX processors. Only caveat
is that the BIOS must provide at least a one free timer, and most
do not.Signed-off-by: Jordan Crouse
Signed-off-by: Wim Van Sebroeck -
I need to just return in case it's not my NMI so someone else can take a look
at it (and reset die_nmi_called to 0 in case I actually do get one that's mine
to handle).Signed-off-by: Thomas Mingarelli
Signed-off-by: Wim Van Sebroeck -
- split platform device/driver registering from actual watchdog device/driver
registering so that we can cleanly load/unload
- fixup __initdata with __initconst and __devinitdata with __devinitconstSigned-off-by: Mike Frysinger
Signed-off-by: Bryan Wu
Signed-off-by: Wim Van Sebroeck -
Pádraig Brady requested the possibility of not disabling the watchdog
at module load time or kernel boot time if it had been previously enabled
in the bios. It may help rebooting the machine if it freezes before the
userland daemon kicks in.Signed-off-by: Samuel Tardieu
Cc: Pádraig Brady
Signed-off-by: Wim Van Sebroeck -
Signed-off-by: Samuel Tardieu
Signed-off-by: Wim Van Sebroeck -
Some non-exported functions always returned 0. Mark them void instead.
Signed-off-by: Samuel Tardieu
Signed-off-by: Wim Van Sebroeck
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