Please pull powerpc.git merge branch

From: Paul Mackerras
Date: Thu Apr 03 2008 - 07:52:22 EST


Linus,

Please do:

git pull \
git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git merge

to get some more bug fixes for powerpc, mostly for various embedded
platforms. The bulk of the changes are once again in the defconfigs.

Thanks,
Paul.

arch/powerpc/boot/dts/cm5200.dts | 37 +++++++++++++++-
arch/powerpc/boot/dts/lite5200.dts | 15 ++++++
arch/powerpc/boot/dts/motionpro.dts | 63 +++++++++++++++------------
arch/powerpc/boot/dts/mpc8377_mds.dts | 4 +-
arch/powerpc/boot/dts/mpc8377_rdb.dts | 3 -
arch/powerpc/boot/dts/mpc8378_rdb.dts | 3 -
arch/powerpc/boot/dts/mpc8379_mds.dts | 8 ++-
arch/powerpc/boot/dts/mpc8379_rdb.dts | 3 -
arch/powerpc/boot/dts/tqm5200.dts | 42 ++++++++++++++++++
arch/powerpc/configs/mpc832x_mds_defconfig | 11 +----
arch/powerpc/configs/mpc834x_mds_defconfig | 11 +----
arch/powerpc/configs/mpc836x_mds_defconfig | 11 +----
arch/powerpc/configs/mpc837x_rdb_defconfig | 24 ++++++++++
arch/powerpc/configs/mpc83xx_defconfig | 24 ++++++++++
arch/powerpc/configs/mpc8544_ds_defconfig | 11 +----
arch/powerpc/configs/mpc8568mds_defconfig | 11 +----
arch/powerpc/configs/mpc8572_ds_defconfig | 11 +----
arch/powerpc/configs/mpc85xx_defconfig | 11 +----
arch/powerpc/configs/mpc8641_hpcn_defconfig | 11 +----
arch/powerpc/configs/prpmc2800_defconfig | 11 +----
arch/powerpc/configs/storcenter_defconfig | 11 +----
arch/powerpc/kernel/head_64.S | 13 +++---
arch/powerpc/kernel/irq.c | 1
arch/powerpc/kernel/rtas_flash.c | 2 -
arch/powerpc/mm/hash_low_32.S | 8 +++
arch/powerpc/sysdev/cpm2.c | 1
drivers/ata/sata_fsl.c | 5 --
drivers/dma/fsldma.c | 8 ++-
drivers/net/fec_mpc52xx.c | 1
drivers/net/fec_mpc52xx_phy.c | 1
30 files changed, 234 insertions(+), 142 deletions(-)

commit 8d813941b17626a7610342325be63435282bac02
Author: René Bürgel <r.buergel@xxxxxxxxxxxxx>
Date: Thu Apr 3 19:58:37 2008 +1100

[POWERPC] Fix MPC5200 (not B!) device tree so FEC ethernet works

This gets the FEC ethernet driver working again on the lite5200
platform.

The FEC driver is also compatible with the MPC5200, not only with the
MPC5200B, so this adds a suitable entry to the driver's match list.
Furthermore this adds the settings for the PHY in the dts file for the
Lite5200. Note, that this is not exactly the same as in the
Lite5200B, because the PHY is located at f0003000:01 for the 5200, and
at :00 for the 5200B. This was tested on a Lite5200 and a Lite5200B,
both booted a kernel via tftp and mounted the root via nfs
successfully.

Signed-off-by: René Bürgel <r.buergel@xxxxxxxxxxxxx>
Acked-by: Grant Likely <grant.likely@xxxxxxxxxxxx>
Signed-off-by: Paul Mackerras <paulus@xxxxxxxxx>

commit 115e1adca3b75a82f24da8b2cc9386eb5b7e2cff
Author: Bartlomiej Sieka <tur@xxxxxxxxxxxx>
Date: Thu Apr 3 01:26:02 2008 +1100

[POWERPC] mpc5200: Amalgamated DTS fixes and updates

DTS updates that fix booting problems on mpc5200-based boards:
- change to ethernet reg property
- addition of mdio and phy nodes
- removal of pci node (Motion-Pro board)

Other DTS updates:
- update i2c device tree nodes
- add lpb bus node and flash device (without partitions defined)
- add rtc i2c nodes

Signed-off-by: Marian Balakowicz <m8@xxxxxxxxxxxx>
Acked-by: Grant Likely <grant.likely@xxxxxxxxxxxx>
Signed-off-by: Paul Mackerras <paulus@xxxxxxxxx>

commit 7484839850d826e14b8b024bb048dca8489140ae
Author: Maxim Shchetynin <maxim@xxxxxxxxxx>
Date: Wed Apr 2 00:12:20 2008 +1100

[POWERPC] Fix rtas_flash procfs interface

Handling of the proc_dir_entry->count was changed in 2.6.24-rc5.
After this change, the default value for pde->count is 1 and not 0 as
before. Therefore, if we want to check whether our procfs file is
already opened (already in use), we have to check if pde->count is
greater than 2 rather than 1.

Signed-off-by: Maxim Shchetynin <maxim@xxxxxxxxxx>
Signed-off-by: Jens Osterkamp <jens@xxxxxxxxxx>
Signed-off-by: Paul Mackerras <paulus@xxxxxxxxx>

commit b991f05f1326fd9e6212851d0f2099875906dd16
Author: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Date: Mon Mar 31 07:49:27 2008 +1100

[POWERPC] Fix deadlock with mmu_hash_lock in hash_page_sync

hash_page_sync() takes and releases the low level mmu hash
lock in order to sync with other processors disposing of page
tables. Because that lock can be needed to service hash misses
triggered by interrupt handlers, taking it must be done with
interrupts off. However, hash_page_sync() appears to be called
with interrupts enabled, thus causing occasional deadlocks.

We fix it by making sure hash_page_sync() masks interrupts while
holding the lock.

Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Paul Mackerras <paulus@xxxxxxxxx>

commit ff3da2e0938bae36d10d69c22bce0177b067a9e2
Author: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Date: Wed Apr 2 15:58:40 2008 +1100

[POWERPC] Fix iSeries hard irq enabling regression

A subtle bug sneaked into iSeries recently. On this platform, we must
not normally clear MSR:EE (the hardware external interrupt enable)
except for short periods of time. Taking an interrupt while
soft-disabled doesn't cause us to clear it for example.

The iSeries kernel expects to mostly run with MSR:EE enabled at all
times except in a few exception entry/exit code paths. Thus
local_irq_enable() doesn't check if it needs to hard-enable as it
expects this to be unnecessary on iSeries.

However, hard_irq_disable() _does_ cause MSR:EE to be cleared,
including on iSeries. A call to it was recently added to the
context switch code, thus causing interrupts to become disabled
for a long periods of time, causing the iSeries watchdog to kick
in under some circumstances and other nasty things.

This patch fixes it by making local_irq_enable() properly re-enable
MSR:EE on iSeries. It basically removes a return statement here
to make iSeries use the same code path as everybody else. That does
mean that we might occasionally get spurious decrementer interrupts
but I don't think that matters.

Another option would have been to make hard_irq_disable() a nop
on iSeries but I didn't like it much, in case we have good reasons
to hard-disable.

Part of the patch is fixes to make sure the hard_enabled PACA field
is properly set on iSeries as it used not to be before, since it
was mostly unused.

Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Paul Mackerras <paulus@xxxxxxxxx>

commit 025306f30948836a743eb68a7cbaf4ab0bfb5f47
Author: Laurent Pinchart <laurentp@xxxxxxxxxxxxxxxxx>
Date: Wed Apr 2 16:46:31 2008 +0200

[POWERPC] Fix CPM2 SCC1 clock initialization.

A missing break statement in a switch caused cpm2_clk_setup() to initialize
SCC2 instead of SCC1.

Signed-off-by: Laurent Pinchart <laurentp@xxxxxxxxxxxxxxxxx>
Signed-off-by: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>

commit 1e85d89fa3954eff332033c0e75f6e2442be44ed
Author: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>
Date: Mon Mar 31 11:53:46 2008 -0500

[POWERPC] Fix defconfigs so we dont set both GENRTC and RTCLIB

The new rtc subsystem conflicts with genrtc so don't enable GENRTC
if RTCLIB is enabled.

Signed-off-by: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>

commit 049c9d45531d9825bf737891163a794fca1421c5
Author: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>
Date: Mon Mar 31 11:13:21 2008 -0500

[POWERPC] fsldma: Use compatiable binding as spec

Documentation/powerpc/booting-without-of.txt specifies the
compatiables we should bind to for this driver (elo, eloplus).
Use these instead of the extremely specific 'mpc8540' and 'mpc8349'
compatiables.

Acked-by: Dan Williams <dan.j.williams@xxxxxxxxx>
Signed-off-by: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>

commit 96ce1b6dc5824cc6027c954b9a2e4717c70e01b5
Author: Kim Phillips <kim.phillips@xxxxxxxxxxxxx>
Date: Fri Mar 28 10:51:33 2008 -0500

[POWERPC] sata_fsl: reduce compatibility to fsl,pq-sata

as prescribed in Documentation/powerpc/booting-without-of.txt.

Signed-off-by: Kim Phillips <kim.phillips@xxxxxxxxxxxxx>
Acked-by: Jeff Garzik <jeff@xxxxxxxxxx>
Signed-off-by: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>

commit 58bb7a973b1d3c0a5127477fb049bbfc5ce02fb5
Author: Kim Phillips <kim.phillips@xxxxxxxxxxxxx>
Date: Fri Mar 28 10:51:29 2008 -0500

[POWERPC] 83xx: enable usb in 837x rdb and 83xx defconfigs

Signed-off-by: Kim Phillips <kim.phillips@xxxxxxxxxxxxx>
Signed-off-by: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>

commit 8e8ff3a309ebdaad51fd7a64a6fd2a2f88b30d87
Author: Anton Vorontsov <avorontsov@xxxxxxxxxxxxx>
Date: Wed Mar 12 23:02:13 2008 +0300

[POWERPC] 83xx: Fix wrong USB phy type in mpc837xrdb dts

Due to chip constraint MPC837x USB DR module can only use
ULPI and serial PHY interfaces. The patch fixes the wrong
type in dts.

This patch fixes USB malfunctioning on the MPC837xE-RDB boards.

Similar patch has been already applied for the MDS boards:

commit 28b958859206b7010d03129611c2e444898e3ee4
Author: Li Yang <leoli@xxxxxxxxxxxxx>
Date: Thu Mar 6 18:42:26 2008 +0800

[POWERPC] 83xx: Fix wrong USB phy type in mpc837xmds dts

Signed-off-by: Anton Vorontsov <avorontsov@xxxxxxxxxxxxx>
Signed-off-by: Kim Phillips <kim.phillips@xxxxxxxxxxxxx>
Signed-off-by: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/