15 Oct, 2007
1 commit
-
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
17 Aug, 2007
2 commits
-
From: Andrey Borzenkov
They are apparently pretty close (even lspci combines them). The patch
adds support for 0x1533 bridge in addition to 0x1535.Tested on Toshiba Portege 4000 with
00:07.0 ISA bridge [0601]: ALi Corporation M1533/M1535 PCI to ISA Bridge
[Aladdin IV/V/V+] [10b9:1533]
00:08.0 Bridge [0680]: ALi Corporation M7101 Power Management Controller
[PMU] [10b9:7101]with result
[ 2090.906736] PCI: Enabling device 0000:00:08.0 (0000 -> 0001)
[ 2090.914034] ALi_M1535: initialized. timeout=3D60 sec (nowayout=3D0)Signed-off-by: Andrey Borzenkov
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton -
Clean-up history and add a comment about the fact that
the watchdog is actually part of the SMSC FDC 37B782
super I/O chipset.Signed-off-by: Wim Van Sebroeck
27 Jul, 2007
3 commits
-
Add support for the ICH9 I/O chipsets to iTCO_wdt.
Signed-off-by: Wim Van Sebroeck
-
Add all LPC bridges for the 631xESB/632xESB I/O chipset.
The datasheet says:
* Device Function = B0:D31:FO
* Function Description = LPC interface
* DEV ID = 267xh
* Comment = 2670h-267FhSigned-off-by: Wim Van Sebroeck
-
Add 631xESB/632xESB support to the iTCO_wdt driver.
Signed-off-by: Sergey Kononenko
Signed-off-by: Wim Van Sebroeck
25 Jul, 2007
16 commits
-
The default value for an unknown ioctl call is -ENOTTY.
Signed-off-by: Wim Van Sebroeck
-
Return the value of the nonseekable_open function and not 0.
Signed-off-by: Wim Van Sebroeck
-
Consolidate the timeout config register modification into a single
function. Also, use the enabled flag in the config register to
determine whether the timer is enabled instead of a separately
maintained flag, MV64x60_WDOG_FLAG_ENABLED.Add spinlock protection around enabling/disabling the watchdog timer.
Signed-off-by: Dale Farnsworth
Signed-off-by: Wim Van Sebroeck -
Make sure that we disable the watchdog at start-up.
Signed-off-by: Dale Farnsworth
Signed-off-by: Wim Van Sebroeck -
Disallow disabling of the watchdog timer unless a particular
character ('V') was recently written to the watchdog device.Signed-off-by: Dale Farnsworth
Signed-off-by: Wim Van Sebroeck -
Also, use the WATCHDOG_NOWAYOUT macro, rather than #ifdefs,
and use __module_get to prevent module unloading if WATCHDOG_NOWAYOUT
is set.Signed-off-by: Dale Farnsworth
Signed-off-by: Wim Van Sebroeck -
Allow the watchdog timer to be enabled or disabled via the
WDIOC_SETOPTIONS ioctl.Signed-off-by: Dale Farnsworth
Signed-off-by: Wim Van Sebroeck -
Add the ability to modify the watchdog timer timeout interval.
Signed-off-by: Dale Farnsworth
Signed-off-by: Wim Van Sebroeck -
WDIOC_GETTIMEOUT returns seconds, not jiffies.
Signed-off-by: Dale Farnsworth
Signed-off-by: Wim Van Sebroeck -
Return the value of the nonseekable_open function and not 0.
Signed-off-by: Dale Farnsworth
Signed-off-by: Wim Van Sebroeck -
Add support for arch/powerpc, specifically for the prpmc2800 platform.
Signed-off-by: Dale Farnsworth
Signed-off-by: Wim Van Sebroeck -
Previously, the address of the watchdog timer registers was
retrieved by calling a global function, mv64x60_get_bridge_vbase().
That function doesn't exist in arch/powerpc. Instead, we now get
the register address from a platform data resource and ioremap
the registers within the driver.Signed-off-by: Dale Farnsworth
Signed-off-by: Wim Van Sebroeck -
The driver previously registered its platform device data in its own
init function--that's bogus. Move that code to platform-specific
code in arch/ppc. This is being done so that the platform code can
decide at runtime whether to initialize this driver or not.Signed-off-by: Dale Farnsworth
Signed-off-by: Wim Van Sebroeck -
1. Ensure that the mouse and keyboard do not ping the watchdog.
This is the default operation of the w83627, but some BIOSes change this.2. Increase the max timeout from 63 seconds to 255 seconds
as supported by the w83627 chip3. Comment that the watchdog supports the w83627hg version of the chip
Signed-Off-By: Pádraig Brady
Tested-by: Tomas Hodek
Signed-Off-By: Wim Van Sebroeck -
Fixup the s3c2410 watchdog driver after moving some
of the arch specific includes it has been relying on.Signed-off-by: Ben Dooks
-
From: Andrew Morton
This driver isn't very coding-style friendly.
Signed-off-by: Wim Van Sebroeck
Signed-off-by: Andrew Morton
24 Jul, 2007
8 commits
-
Clean-up of the watchdog's Kconfig and makefile files.
Signed-off-by: Wim Van Sebroeck
-
Add mandatory WDIOC_GETSTATUS and WDIOC_GETBOOTSTATUS ioctl's for
drivers that don't have them yet.Signed-off-by: Wim Van Sebroeck
-
All watchdog device drivers are VFSs (Virtual File Systems).
We thus return a nonseekable_open(inode, file) when we open the VFS.Signed-off-by: Wim Van Sebroeck
-
* Remove the redundant check for pwrite(), given that the open() routine
already invokes nonseekable_open().
* The WDIOF_CARDRESET flag can only be used when you can read this status
via the WDIOC_GETSTATUS ioctl call.
* Add the mandatory WDIOC_GETBOOTSTATUS ioctl call.Signed-off-by: Wim Van Sebroeck
-
* Add MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR);
* Add mandatory WDIOC_GETSTATUS and WDIOC_GETBOOTSTATUS ioctl's.
* If unknown ioctl is used we should return -ENOTTY.
* All watchdog device drivers are VFSs (Virtual File Systems).
We thus return a nonseekable_open(inode, file) when we open the VFS.
* Make sure that /dev/watchdog can be opened by 1 parent
* Add spin-locking to prevent that forked children can disturb
each other's operations.Signed-off-by: Wim Van Sebroeck
-
Add watchdog support for TI Davinci DM644x/DM646x processors.
Signed-off-by: Vladimir Barinov
Signed-off-by: Kevin Hilman
Signed-off-by: Wim Van Sebroeck -
This patch implements the driver necessary use the Analog Devices
Blackfin processor's on-chip watchdog controller, supports
BF53[123]/BF53[467]/BF54[2489]/BF561.Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu
Signed-off-by: Wim Van Sebroeck -
Driver for internal mpc5200 watchdog on general purpose timer 0.
For IPB clock of 132 MHz the maximum timeout is about 32 seconds.Signed-off-by: Domen Puncer
Signed-off-by: Wim Van Sebroeck
23 Jul, 2007
1 commit
-
* 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (60 commits)
[ARM] 4524/1: S3C: Move register out of include/asm-arm/arch-s3c2410
[ARM] 4523/1: S3C: Remove FIFO_MAX from uncompression headers
[ARM] 4522/1: S3C: split include/asm-arm/arch/memory.h
[ARM] 4521/2: S3C: Reorganise VA mapping headers
[ARM] 4520/1: S3C: Remove old VA values from static map
[ARM] 4519/1: S3C: split S3C2400 values out of S3C24XX map.h
[ARM] 4518/1: S3C: Rename watchdog configuration options
[ARM] 4517/1: S3C: Fix debug macros for ARM926 output
[ARM] 4516/1: S3C: Fix uncompressor serial output for ARM926
[ARM] 4515/1: S3C: Move uncompress code to plat-s3c
[ARM] 4514/1: S3C: Rename DEBUG_S3C2410_PORT and DEBUG_S3C_UART
[ARM] 4513/1: S3C: Rename CONFIG_S3C2410_LOWLEVEL_UART_PORT
[ARM] 4512/1: S3C: rename the debug macros for per-cpu updates
[ARM] 4511/1: S3C: updated LLSERIAL Kconfig defines for CPU support
[ARM] 4510/1: S3C: split debug-macro support into plat-s3c
[ARM] 4509/1: S3C: Create initial arch/arm/plat-s3c
[ARM] 4508/1: S3C: Move items to include/asm-arm/plat-s3c
[ARM] 4461/1: MXC platform and i.MX31ADS core support
[ARM] 4507/1: pxa2xx clock_event_device
[ARM] 4497/1: Only allow safe cache configurations on ARMv6 and later
...
20 Jul, 2007
3 commits
-
In order for this driver to be shared across the iop architectures the
iop3xx and iop13xx header files are modified to present a common interface
for the iop_wdt driver.Details:
* iop13xx supports disabling the timer while iop3xx does not. This requires
a few 'compatibility' definitions in include/asm-arm/hardware/iop3xx.h to
preclude adding #ifdef CONFIG_ARCH_IOP13XX blocks to the driver code.
* The heartbeat interval is derived from the internal bus clock rate, so this
this patch also exports the tick rate to the iop_wdt driver.Cc: Curt Bruns
Cc: Peter Milne
Signed-off-by: Dan Williams
Acked-by: Wim Van Sebroeck
Signed-off-by: Russell King -
Both shwdt and rtc-sh are only supported on SH-3 and SH-4 at
the moment, don't allow them to break the SH-2 and SH-5 (sh64)
builds.Signed-off-by: Paul Mundt
-
Transform some calls to kmalloc/memset to a single kzalloc (or kcalloc).
Here is a short excerpt of the semantic patch performing
this transformation:@@
type T2;
expression x;
identifier f,fld;
expression E;
expression E1,E2;
expression e1,e2,e3,y;
statement S;
@@x =
- kmalloc
+ kzalloc
(E1,E2)
... when != \(x->fld=E;\|y=f(...,x,...);\|f(...,x,...);\|x=E;\|while(...) S\|for(e1;e2;e3) S\)
- memset((T2)x,0,E1);@@
expression E1,E2,E3;
@@- kzalloc(E1 * E2,E3)
+ kcalloc(E1,E2,E3)[akpm@linux-foundation.org: get kcalloc args the right way around]
Signed-off-by: Yoann Padioleau
Cc: Richard Henderson
Cc: Ivan Kokshaysky
Acked-by: Russell King
Cc: Bryan Wu
Acked-by: Jiri Slaby
Cc: Dave Airlie
Acked-by: Roland Dreier
Cc: Jiri Kosina
Acked-by: Dmitry Torokhov
Cc: Benjamin Herrenschmidt
Acked-by: Mauro Carvalho Chehab
Acked-by: Pierre Ossman
Cc: Jeff Garzik
Cc: "David S. Miller"
Acked-by: Greg KH
Cc: James Bottomley
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
18 Jul, 2007
1 commit
-
* git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog: (21 commits)
[WATCHDOG] at32ap700x_wdt.c - Fix compilation warnings
[WATCHDOG] at32ap700x_wdt.c - Add spinlock support
[WATCHDOG] at32ap700x_wdt.c - Add nowayout + MAGICCLOSE features
[WATCHDOG] at32ap700x_wdt.c - timeout module parameter patch
[WATCHDOG] at32ap700x_wdt.c - checkpatch.pl-0.05 clean-up's
[WATCHDOG] change s3c2410_wdt to using dev_() macros for output
[WATCHDOG] s3c2410_wdt announce initialisation
[WATCHDOG] at32ap700x-wdt: add iounmap if probe function fails
[WATCHDOG] at32ap700x-wdt: add missing iounmap in _remove
[WATCHDOG] watchdog-driver-for-at32ap700x-devices-fix-2
[WATCHDOG] watchdog-driver-for-at32ap700x-devices-fix
[WATCHDOG] Watchdog driver for AT32AP700X devices
[WATCHDOG] Mixcom Watchdog - CodingStyle clean-up
[WATCHDOG] Mixcom Watchdog - clean-up printk's
[WATCHDOG] Mixcom Watchdog - clean-up printk's
[WATCHDOG] Mixcom Watchdog - checkcard part 2
[WATCHDOG] Mixcom Watchdog - checkcard
[WATCHDOG] Mixcom Watchdog - get rid of port offset's
[WATCHDOG] Mixcom Watchdog - update "Documentation"
[WATCHDOG] Remove the redundant check for pwrite() in EP93XXX watchdog.
...
05 Jul, 2007
5 commits
-
Fix warning:
* ISO C90 forbids mixed declarations and code
* passing argument 2 of ‘test_and_set_bit’ from incompatible pointer type
* passing argument 2 of ‘clear_bit’ from incompatible pointer typeSigned-off-by: Hans-Christian Egtvedt
Cc: Haavard Skinnemoen
Signed-off-by: Wim Van Sebroeck
Cc: Andrew Morton -
Add spinlock support so that forked children can't
do different io stuff at the same time.Signed-off-by: Hans-Christian Egtvedt
Cc: Haavard Skinnemoen
Signed-off-by: Wim Van Sebroeck
Cc: Andrew Morton -
Add nowayout + MAGICCLOSE features.
Signed-off-by: Hans-Christian Egtvedt
Cc: Haavard Skinnemoen
Signed-off-by: Wim Van Sebroeck
Cc: Andrew Morton -
integrate the timeout/heartbeat as a module parameter and not as
a CONFIG_* value.Signed-off-by: Hans-Christian Egtvedt
Cc: Haavard Skinnemoen
Signed-off-by: Wim Van Sebroeck
Cc: Andrew Morton -
need space after that ',' (ctx:VxV)
inline keyword should sit between storage class and typeSigned-off-by: Hans-Christian Egtvedt
Cc: Haavard Skinnemoen
Signed-off-by: Wim Van Sebroeck
Cc: Andrew Morton