On Sun, Feb 03, 2008 at 04:21:02PM +0100, Peter Zijlstra wrote:
> On Fri, 2008-02-01 at 08:21 -0700, Dale Farnsworth wrote:
> > Add each lock class to the all_lock_classes list when it is
> > first registered.
> >
> > Previously, lock classes were added to all_lock_clas
On Sun, Feb 03, 2008 at 04:21:02PM +0100, Peter Zijlstra wrote:
On Fri, 2008-02-01 at 08:21 -0700, Dale Farnsworth wrote:
Add each lock class to the all_lock_classes list when it is
first registered.
Previously, lock classes were added to all_lock_classes when
the lock class was first
Add each lock class to the all_lock_classes list when it is
first registered.
Previously, lock classes were added to all_lock_classes when
the lock class was first used. Since one of the uses of the
list is to find unused locks, this didn't work well.
Signed-off-by: Dale Farnsworth <[EM
Add each lock class to the all_lock_classes list when it is
first registered.
Previously, lock classes were added to all_lock_classes when
the lock class was first used. Since one of the uses of the
list is to find unused locks, this didn't work well.
Signed-off-by: Dale Farnsworth [EMAIL
On Tue, Oct 23, 2007 at 08:44:48PM +0200, Jens Axboe wrote:
> On Tue, Oct 23 2007, Dale Farnsworth wrote:
> >
> > Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
> > ---
> > include/asm-powerpc/dma-mapping.h | 10 +-
> > 1 files changed, 5 in
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
include/asm-powerpc/dma-mapping.h | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/asm-powerpc/dma-mapping.h
b/include/asm-powerpc/dma-mapping.h
index 65be95d..43b4f3b 100644
--- a/inclu
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
include/asm-powerpc/dma-mapping.h | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/asm-powerpc/dma-mapping.h
b/include/asm-powerpc/dma-mapping.h
index 65be95d..43b4f3b 100644
--- a/include/asm-powerpc
On Tue, Oct 23, 2007 at 08:44:48PM +0200, Jens Axboe wrote:
On Tue, Oct 23 2007, Dale Farnsworth wrote:
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
include/asm-powerpc/dma-mapping.h | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
Should already
On Wed, Sep 05, 2007 at 08:24:52AM -0700, Andrew Morton wrote:
> > On Mon, 20 Aug 2007 14:38:57 +0800 gshan <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > After I started the NFS server, it crashed:
> >
> > <3>Badness in local_bh_enable at
> >
spinlock protection around enabling/disabling the watchdog timer.
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
Oops! I mistakenly sent an earlier version of this patch. Please
disregard it and replace it with this one.
drivers/char/watchdog/mv64x60_wdt.c
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
drivers/char/watchdog/mv64x60_wdt.c |2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6-powerpc-wdt/drivers/char/watchdog/mv64x60_wdt.c
===
--- linux-2.6-p
the watchdog timer.
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
drivers/char/watchdog/mv64x60_wdt.c | 85 +++---
1 file changed, 51 insertions(+), 34 deletions(-)
Index: linux-2.6-powerpc-wdt/drivers/char/watchdog/mv64x60
Disallow disabling of the watchdog timer unless a particular
character ('V') was recently written to the watchdog device.
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
drivers/char/watchdog/mv64x60_wdt.c | 28 ++
1 file changed, 24 insertions(+), 4 del
Add the ability to modify the watchdog timer timeout interval.
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
drivers/char/watchdog/mv64x60_wdt.c | 38 +-
1 file changed, 31 insertions(+), 7 deletions(-)
Index: linux-2.6-powerpc-wdt/drivers/char/wa
Allow the watchdog timer to be enabled or disabled via the
WDIOC_SETOPTIONS ioctl.
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
drivers/char/watchdog/mv64x60_wdt.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
Index: linux-2.6-powerpc-wdt/drivers/char/wa
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 <[EMAIL PROTECTED]>
---
drivers/char/watchdog/mv64x60_wdt.c | 12 +---
1 file changed, 9 insertions(+), 3 del
WDIOC_GETTIMEOUT returns seconds, not jiffies.
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
drivers/char/watchdog/mv64x60_wdt.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Index: linux-2.6-powerpc-wdt/drivers/char/watchdog/mv64x60
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
drivers/char/watchdog/mv64x60_wdt.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Index: linux-2.6-powerpc-wdt/drivers/char/watchdog/mv64x60_wdt.c
===
---
Add support for arch/powerpc, specifically for the prpmc2800 platform.
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/prpmc2800.dts |6 ++
arch/powerpc/sysdev/mv64x60_dev.c | 64 ++
drivers/char/watchdog/mv64x60_wdt.c
-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
drivers/char/watchdog/mv64x60_wdt.c | 21 -
1 file changed, 16 insertions(+), 5 deletions(-)
Index: linux-2.6-powerpc-wdt/drivers/char/watchdog/mv64x60
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
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
-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
drivers/char/watchdog/mv64x60_wdt.c | 21 -
1 file changed, 16 insertions(+), 5 deletions(-)
Index: linux-2.6-powerpc-wdt/drivers/char/watchdog/mv64x60_wdt.c
Add support for arch/powerpc, specifically for the prpmc2800 platform.
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/prpmc2800.dts |6 ++
arch/powerpc/sysdev/mv64x60_dev.c | 64 ++
drivers/char/watchdog/mv64x60_wdt.c |2
include
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
drivers/char/watchdog/mv64x60_wdt.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Index: linux-2.6-powerpc-wdt/drivers/char/watchdog/mv64x60_wdt.c
===
--- linux-2.6
WDIOC_GETTIMEOUT returns seconds, not jiffies.
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
drivers/char/watchdog/mv64x60_wdt.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Index: linux-2.6-powerpc-wdt/drivers/char/watchdog/mv64x60_wdt.c
Add the ability to modify the watchdog timer timeout interval.
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
drivers/char/watchdog/mv64x60_wdt.c | 38 +-
1 file changed, 31 insertions(+), 7 deletions(-)
Index: linux-2.6-powerpc-wdt/drivers/char/watchdog
Allow the watchdog timer to be enabled or disabled via the
WDIOC_SETOPTIONS ioctl.
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
drivers/char/watchdog/mv64x60_wdt.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
Index: linux-2.6-powerpc-wdt/drivers/char/watchdog
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 [EMAIL PROTECTED]
---
drivers/char/watchdog/mv64x60_wdt.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions
Disallow disabling of the watchdog timer unless a particular
character ('V') was recently written to the watchdog device.
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
drivers/char/watchdog/mv64x60_wdt.c | 28 ++
1 file changed, 24 insertions(+), 4 deletions
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
drivers/char/watchdog/mv64x60_wdt.c |2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6-powerpc-wdt/drivers/char/watchdog/mv64x60_wdt.c
===
--- linux-2.6-powerpc-wdt.orig
the watchdog timer.
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
drivers/char/watchdog/mv64x60_wdt.c | 85 +++---
1 file changed, 51 insertions(+), 34 deletions(-)
Index: linux-2.6-powerpc-wdt/drivers/char/watchdog/mv64x60_wdt.c
spinlock protection around enabling/disabling the watchdog timer.
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
Oops! I mistakenly sent an earlier version of this patch. Please
disregard it and replace it with this one.
drivers/char/watchdog/mv64x60_wdt.c | 90
We now read and write the century byte in the max6900 chip.
We probably don't need to do so on Linux-only system, but it's
necessary when the chip is shared by another OS that uses the
century byte.
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
drivers/rtc/rtc-max6900.c
We now read and write the century byte in the max6900 chip.
We probably don't need to do so on Linux-only system, but it's
necessary when the chip is shared by another OS that uses the
century byte.
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
drivers/rtc/rtc-max6900.c | 96
From: Dale Farnsworth <[EMAIL PROTECTED]>
mv643xx_eth_shutdown is needed for kexec.
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
drivers/net/mv643xx_eth.c | 14 ++
1 file changed, 14 insertions(+)
Index: linux-2.6-powerpc-df/drivers/net/m
From: Dale Farnsworth [EMAIL PROTECTED]
mv643xx_eth_shutdown is needed for kexec.
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
drivers/net/mv643xx_eth.c | 14 ++
1 file changed, 14 insertions(+)
Index: linux-2.6-powerpc-df/drivers/net/mv643xx_eth.c
From: Dale Farnsworth <[EMAIL PROTECTED]>
Signed-off-by: Dale Farnsworth.org <[EMAIL PROTECTED]
---
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile |1
drivers/rtc/rtc-max6900.c | 312
3 files changed, 323 insertions(+)
Index:
From: Dale Farnsworth [EMAIL PROTECTED]
Signed-off-by: Dale Farnsworth.org [EMAIL PROTECTED]
---
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile |1
drivers/rtc/rtc-max6900.c | 312
3 files changed, 323 insertions(+)
Index: linux-2.6
mv643xx_eth_platform_data.
This makes the mv643xx_eth_platform_data structure required, but that
isn't an issue since all users currently provide it already.
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
arch/mips/momentum/jaguar_atx/platform.c |8 ++
arch/mips/momentum/oc
The information contained within platform_data should be self-contained.
Replace the pointer to a MAC address with the actual MAC address in
struct mv643xx_eth_platform_data.
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
Replaced explicit mac address comparison with
The information contained within platform_data should be self-contained.
Replace the pointer to a MAC address with the actual MAC address in
struct mv643xx_eth_platform_data.
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
Replaced explicit mac address comparison with a call
mv643xx_eth_platform_data.
This makes the mv643xx_eth_platform_data structure required, but that
isn't an issue since all users currently provide it already.
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
arch/mips/momentum/jaguar_atx/platform.c |8 ++
arch/mips/momentum/ocelot_3
On Wed, Feb 28, 2007 at 03:11:03PM -0800, Stephen Hemminger wrote:
> On Wed, 28 Feb 2007 15:40:31 -0700
> "Dale Farnsworth" <[EMAIL PROTECTED]> wrote:
>
> > The information contained within platform_data should be self-contained.
> > Replace the pointer
mv643xx_eth_platform_data.
This makes the mv643xx_eth_platform_data structure required, but that
isn't an issue since all users currently provide it already.
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
diff --git a/arch/mips/momentum/jaguar_atx/platform.c
b/arch/mips/momentum/jagu
The information contained within platform_data should be self-contained.
Replace the pointer to a MAC address with the actual MAC address in
struct mv643xx_eth_platform_data.
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
Index: b/drivers/net/mv643xx
The information contained within platform_data should be self-contained.
Replace the pointer to a MAC address with the actual MAC address in
struct mv643xx_eth_platform_data.
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
Index: b/drivers/net/mv643xx_eth.c
mv643xx_eth_platform_data.
This makes the mv643xx_eth_platform_data structure required, but that
isn't an issue since all users currently provide it already.
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
diff --git a/arch/mips/momentum/jaguar_atx/platform.c
b/arch/mips/momentum/jaguar_atx
On Wed, Feb 28, 2007 at 03:11:03PM -0800, Stephen Hemminger wrote:
On Wed, 28 Feb 2007 15:40:31 -0700
Dale Farnsworth [EMAIL PROTECTED] wrote:
The information contained within platform_data should be self-contained.
Replace the pointer to a MAC address with the actual MAC address
From: Dale Farnsworth <[EMAIL PROTECTED]>
Remove the use of CONFIG_MV643XX_ETH_[012] variables on most
platforms. Instead, platform-specific code enables the ports
supported by the hardware. After this patch, these config
variables are only used in arch/ppc, so also move them from
drive
From: Dale Farnsworth [EMAIL PROTECTED]
Remove the use of CONFIG_MV643XX_ETH_[012] variables on most
platforms. Instead, platform-specific code enables the ports
supported by the hardware. After this patch, these config
variables are only used in arch/ppc, so also move them from
drivers/net
>From Dale Farnsworth <[EMAIL PROTECTED]>
mv643xx_eth: Fix race condition in mv643xx_eth_free_tx_descs
This bug was found and isolated by Thibaut VARENE <[EMAIL PROTECTED]>
and Jarek Poplawski <[EMAIL PROTECTED]>. This patch is a modification of their
fixes. We acquire
From Dale Farnsworth [EMAIL PROTECTED]
mv643xx_eth: Fix race condition in mv643xx_eth_free_tx_descs
This bug was found and isolated by Thibaut VARENE [EMAIL PROTECTED]
and Jarek Poplawski [EMAIL PROTECTED]. This patch is a modification of their
fixes. We acquire and release the lock for each
From: Mariusz Kozlowski <[EMAIL PROTECTED]>
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>
---
include/linux/mv643xx.h |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.19-rc6-mm2-a/inclu
On Thu, Nov 30, 2006 at 10:35:37AM +0100, Mariusz Kozlowski wrote:
> Hello,
>
> This patch adds missing brackets.
>
> Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>
>
> include/linux/mv643xx.h |4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> ---
On Thu, Nov 30, 2006 at 10:35:37AM +0100, Mariusz Kozlowski wrote:
Hello,
This patch adds missing brackets.
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
include/linux/mv643xx.h |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
From: Mariusz Kozlowski [EMAIL PROTECTED]
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
Signed-off-by: Dale Farnsworth [EMAIL PROTECTED]
---
include/linux/mv643xx.h |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.19-rc6-mm2-a/include/linux/mv643xx.h 2006-11
On Tue, Apr 12, 2005 at 10:44:24AM +, Fabio Massimo Di Nitto wrote:
> Dale Farnsworth wrote:
> > This looks identical to the patch I posted to netdev two weeks ago
> > as the first of 20 patches for the MV643xx ethernet driver.
> >
> > See <http://oss.sgi.com/ar
On Tue, Apr 12, 2005 at 07:13:04AM +, Benjamin Herrenschmidt wrote:
> This patch allows Kconfig to build the MV643xx ethernet driver on
> Pegasos (CONFIG_PPC_MULTIPLATFORM) and adds what I think is a missing
> fix from Dale's batch, that is remove SA_INTERRUPT and add SA_SHIRQ in
> there as
On Tue, Apr 12, 2005 at 07:13:04AM +, Benjamin Herrenschmidt wrote:
This patch allows Kconfig to build the MV643xx ethernet driver on
Pegasos (CONFIG_PPC_MULTIPLATFORM) and adds what I think is a missing
fix from Dale's batch, that is remove SA_INTERRUPT and add SA_SHIRQ in
there as the
On Tue, Apr 12, 2005 at 10:44:24AM +, Fabio Massimo Di Nitto wrote:
Dale Farnsworth wrote:
This looks identical to the patch I posted to netdev two weeks ago
as the first of 20 patches for the MV643xx ethernet driver.
See http://oss.sgi.com/archives/netdev/2005-03/msg01644.html
ch appears to correct the problem. It duplicates
the workaround for "quirky" drives found in ide-features.c
-Dale
Dale Farnsworth [EMAIL PROTECTED]
--- oldlinux-2.4.5/drivers/ide/ide.cTue Jul 3 09:35:57 2001
+++ linux-2.4.5/drivers/ide/ide.c Tue Jul 3 09:23:58 20
to correct the problem. It duplicates
the workaround for quirky drives found in ide-features.c
-Dale
Dale Farnsworth [EMAIL PROTECTED]
--- oldlinux-2.4.5/drivers/ide/ide.cTue Jul 3 09:35:57 2001
+++ linux-2.4.5/drivers/ide/ide.c Tue Jul 3 09:23:58 2001
@@ -758,7 +758,10
still
enable read caching without seeing any data corruption.
The lastest BIOS revision (1005C) enables "I/O Recovery Time" by default
where the previous revision I had (1004D) did not.
-Dale
--
Dale Farnsworth [EMAIL PROTECTED]
-
To unsubscribe from this list: send the
out seeing any data corruption.
The lastest BIOS revision (1005C) enables "I/O Recovery Time" by default
where the previous revision I had (1004D) did not.
-Dale
--
Dale Farnsworth [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel&
65 matches
Mail list logo