[PATCH 8/21] [POWERPC] EP405 boards support for arch/powerpc

2007-12-20 Thread Benjamin Herrenschmidt
Brings EP405 support to arch/powerpc. The IRQ routing for the CPLD comes from a device-tree property, PCI is working to the point where I can see the video card, USB device, and south bridge. This should work with both EP405 and EP405PC. I've not totally figured out how IRQs are wired on this har

[PATCH 9/21] [POWERPC] Add PCI to Walnut platform

2007-12-20 Thread Benjamin Herrenschmidt
This wires up the 4xx PCI support & device-tree bits for the 405GP based Walnut platform. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- This one is untested, haven't had time to dig my walnut and put it back into working condition. Josh, can you verify that IRQs are working (routi

[PATCH 10/21] [POWERPC] Base support for 440GX Taishan eval board

2007-12-20 Thread Benjamin Herrenschmidt
From: Hugh Blemings <[EMAIL PROTECTED]> This patch adds base support for the AMCC Taishan 440GX evaluation board. Signed-off-by: Hugh Blemings <[EMAIL PROTECTED]> Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig.debug |6 arch/powerpc/boot/Make

[PATCH 11/21] [POWERPC] Wire up PCI on Bamboo board

2007-12-20 Thread Benjamin Herrenschmidt
This adds the device-tree bits & call to ppc4xx_pci_find_bridges() to make PCI work on the Bamboo board Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/bamboo.dts | 40 - arch/powerpc/platforms/44x/Kconfig |1 2 fil

[PATCH 12/21] [POWERPC] Wire up 440EP USB controlle support to Bamboo board

2007-12-20 Thread Benjamin Herrenschmidt
This adds the definition of the on-chip OHCI controller to the Bamboo board's device-tree. This is enough to get it probed and working, though a separate patch fixing a bug in the OHCI driver is needed to make it reliable. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerp

[PATCH 13/21] [POWERPC] Adds decoding of 440SPE memory size to boot wrapper library

2007-12-20 Thread Benjamin Herrenschmidt
This adds a function to the bootwrapper 4xx library to decode memory size on 440SPE processors. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/boot/4xx.c | 85 +--- arch/powerpc/boot/4xx.h |3 - arch/powerp

[PATCH 14/21] [POWERPC] Add mfspr/mtspr inline macros to 4xx bootwrapper

2007-12-20 Thread Benjamin Herrenschmidt
The 4xx bootwrapper occasionally needs to access SPR registers, this adds mfspr/mtspr wrappers to it. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- === arch/powerpc/boot/reg.h |8 1 file changed, 8 inser

[PATCH 15/21] [POWERPC] Adds 44x CPR0 accessors to boot wrapper

2007-12-20 Thread Benjamin Herrenschmidt
This adds macros to the boot wrapper to access the CPR registers from the boot wrappers. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/boot/dcr.h | 27 +++ 1 file changed, 27 insertions(+) --- linux-merge.orig/arch/powerpc/boot/dcr.h200

[PATCH 16/21] [POWERPC] Rework 4xx clock probing in boot wrapper

2007-12-20 Thread Benjamin Herrenschmidt
This reworks the boot wrapper library function that probes the chip clocks. Better separate the base function that is used on 440GX,SPe,EP,... from the uart fixups as those need different device-tree path on different processors. Also, rework the function itself based on the arch/ppc code from Eug

[PATCH 17/21] [POWERPC] Base support for 440SPe "Katmai" eval board

2007-12-20 Thread Benjamin Herrenschmidt
This adds base support for the Katmai board, including PCI-X and PCI-Express (but no RTC, nvram, etc... yet). Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Acked-by: Stefan Roese <[EMAIL PROTECTED]> --- As for Taishan, the bootwrapper code can be simplified. In fact, we probably don't

[PATCH 18/21] [POWERPC] bamboo: remove bogus "ranges" property in EBC node

2007-12-20 Thread Benjamin Herrenschmidt
This removes a bogus empty "ranges" property in the EBC device node of the Bamboo board device-tree. The "ranges" property will be created by the boot wrapper, there is no need to have an empty property there, and that causes recent dtc to complain. Signed-off-by: Benjamin Herrenschmidt <[EMAIL P

[PATCH 19/21] [POWERPC] 4xx PCI-E Link setup improvements

2007-12-20 Thread Benjamin Herrenschmidt
This improves the way the 4xx PCI-E code handles checking for a link and adds explicit testing of CRS result codes on config space accesses. This should make it more reliable. Also, bridges with no link are now still created, though config space accesses beyond the root complex are filtered. This

[PATCH 20/21] [POWERPC] pci32: 4xx embedded platforms want to reassign all PCI resources

2007-12-20 Thread Benjamin Herrenschmidt
This makes 4xx embedded platforms re-assign all PCI resources as we pretty much never care about what the various firmwares have done on these, it's generally not compatible with the way the kernel will map the bridges. We still need to also enable bus renumbering on some of them, but I will do th

[PATCH 21/21] [POWERPC] 4xx: Add 440SPe revA runtime detection to PCIe

2007-12-20 Thread Benjamin Herrenschmidt
From: Stefan Roese <[EMAIL PROTECTED]> This patch adds runtime detection of the 440SPe revision A chips. These chips are equipped with a slighly different PCIe core and need special/ different initialization. The compatible node is changed to "plb-pciex-440spe" ("A" and "B" dropped). This is neede

Re: [PATCH] [POWERPC] Make non-PCI build work again

2007-12-20 Thread Olof Johansson
On Fri, Dec 21, 2007 at 03:37:07PM +1100, Stephen Rothwell wrote: > Maple and pasemi both require PCI as does CONFIG_OF_PLATFORM_PCI. > The default setting of CONFIG_ISA_DMA_API is set to match the protection > around the relevant routines in asm/dma.h. > > I also had to remove the PMAC platform f

Re: [patch v2] PS3: Fix printing of os-area magic numbers

2007-12-20 Thread Paul Mackerras
Geoff Levand writes: > Fix a bug in the printing of the os-area magic numbers which assumed that > magic numbers were zero terminated strings. The magic numbers are represented > in memory as integers. If the os-area sections are not initialized correctly > they could contained random data that

[PATCH 1/3] [POWERPC] the pci_dn class_code is only used by EEH

2007-12-20 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- include/asm-powerpc/pci-bridge.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h index 9b16d3b..07cdb5b 100644 --- a/include/asm-powerpc/pci-bridge

[PATCH 2/3] [POWERPC] the pci_dn pcidev is only used by EEH

2007-12-20 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/platforms/iseries/pci.c |1 - include/asm-powerpc/pci-bridge.h |2 +- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/iseries/pci.c b/arch/powerpc/platforms/iseries/pci.c index

[PATCH 3/3] [POWERPC] iSeries: eliminate pci_dn bussubno

2007-12-20 Thread Stephen Rothwell
xlate_iomm_address() really wants the ds_addr to pass to the HV, so store that value (instead of the BAR number) when we allocate the device bars. This is not a fast path, so we can look up the device_node property there instead of using the bussubno field of the pci_dn. The other user of iseries_

[PATCH] [POWERPC] eeh.c: use for_each_child_of_node

2007-12-20 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/platforms/pseries/eeh.c | 43 - 1 files changed, 21 insertions(+), 22 deletions(-) diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c index aa14a85..9eb53

[PATCH] [POWERPC] pci_32.c: use for_each_child_of_node

2007-12-20 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/pci_32.c | 20 +--- 1 files changed, 13 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c index 37cb7b9..b5121b8 100644 --- a/arch/powerpc/kernel/pci

Re: Enable RTC for Ebony and Walnut

2007-12-20 Thread Stephen Rothwell
On Fri, 21 Dec 2007 13:21:30 +1100 David Gibson <[EMAIL PROTECTED]> wrote: > > +++ working-2.6/arch/powerpc/sysdev/of_rtc.c 2007-12-21 13:11:34.0 > +1100 > +#include Use linux/of_platform.h, please. > + > +static struct { const or __initdata > + char *compatible; const > +

Re: [alsa-devel] [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Lee Revell
On Dec 20, 2007 8:54 AM, Takashi Iwai <[EMAIL PROTECTED]> wrote: > At Thu, 20 Dec 2007 08:24:35 -0600, > Timur Tabi wrote: > > > > >> +static int fsl_dma_new(struct snd_card *card, struct snd_soc_codec_dai > > >> *dai, > > >> + struct snd_pcm *pcm) > > >> +{ > > >> + static u64 fsl_dma_dmamask =

kernel stops at probing MTD CFI driver

2007-12-20 Thread Ishizaki Kou
When I build the MTD Common Flush Interface(CFI) driver as modules, the kernel stops at BUG() in symbol_put_addr() called by cfi_cmdset_unknown()[gen_probe.c] and shows the following message. I found this problem on Toshiba Cell Reference Set. I think this problem relates with powerpc64 ABI. ker

[PATCH 0/3] Powerpc support for SBC8548 board

2007-12-20 Thread Paul Gortmaker
The following three patches add support for the Wind River SBC8548 board onto the powerpc branch. The patches are as follows: 1) Add basic support for Wind River SBC8548 as powerpc This adds in the basic platform support file -- closely matching that which exists for the MPC8548CDS board. Thes

[PATCH 1/3] sbc8548: Add basic support for Wind River SBC8548 as powerpc

2007-12-20 Thread Paul Gortmaker
This adds the basic support for the Wind River SBC8548 board, implemented as powerpc. It closely follows the implementation of the MPC8548CDS. Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/platforms/85xx/Kconfig | 10 ++- arch/powerpc/platforms/85xx/Makefile |1 + a

[PATCH 2/3] sbc8548: Add device tree source for Wind River SBC8548 board

2007-12-20 Thread Paul Gortmaker
This adds the device tree source for the Wind River SBC8548 board. The biggest difference between this and the MPC8548CDS reference platform is the absence of the CDS's Arcadia peripherals and physical access to PCI#2. Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/s

[PATCH 3/3] sbc8548: Add default .config file for Wind River SBC8548

2007-12-20 Thread Paul Gortmaker
This is a suitable .config file for building the WRS SBC8548 kernel to be used for NFS root via one of the TSEC interfaces and with serial console via the soc/16550 compatible UART. Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/configs/sbc8548_defconfig | 740 +++

[PATCH 1/3] [POWERPC] Add AMCC Makalu board support to platforms/40x

2007-12-20 Thread Stefan Roese
This patch adds basic support for the AMCC Makalu board to arch/powerpc. Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> --- arch/powerpc/platforms/40x/Kconfig | 10 ++ arch/powerpc/platforms/40x/Makefile |1 + arch/powerpc/platforms/40x/makalu.c | 61

[PATCH 3/3] [POWERPC] Makalu defconfig

2007-12-20 Thread Stefan Roese
Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> --- arch/powerpc/configs/makalu_defconfig | 812 + 1 files changed, 812 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/configs/makalu_defconfig diff --git a/arch/powerpc/configs/makalu_defconfig b/ar

Re: [PATCH -mm 18/43] powerpc compat_binfmt_elf

2007-12-20 Thread Christoph Hellwig
On Thu, Dec 20, 2007 at 03:58:16AM -0800, Roland McGrath wrote: > +obj-$(CONFIG_PPC64) += ../../../fs/compat_binfmt_elf.o Building files from another directory is nasty. Please add a CONFIG_BINFMT_COMPAT_ELF so we can simply build it in fs/ __

[PATCH 2/3] [POWERPC] Makalu dts

2007-12-20 Thread Stefan Roese
Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/makalu.dts | 347 ++ 1 files changed, 347 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/boot/dts/makalu.dts diff --git a/arch/powerpc/boot/dts/makalu.dts b/arch/powerpc/

<    1   2