[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/

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 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

[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] 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 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 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 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

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

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 =

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 > +

[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

[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 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 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 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

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

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

[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

[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 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 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 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 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 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 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 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 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 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 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 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 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 7/21] [POWERPC] Add early udbg support for 40x processors

2007-12-20 Thread Benjamin Herrenschmidt
This adds some basic real mode based early udbg support for 40x in order to debug things more easily Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig.debug | 13 +++ arch/powerpc/kernel/misc_32.S | 39

[PATCH 6/21] [POWERPC] PCI support for 4xx Ebony board

2007-12-20 Thread Benjamin Herrenschmidt
This wires up the 4xx PCI support & device tree bits for 440GP based Ebony platform. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/ebony.dts| 41 - arch/powerpc/platforms/44x/Kconfig |1 2 files changed, 37 inse

[PATCH 5/21] [POWERPC] 4xx PLB to PCI Express support

2007-12-20 Thread Benjamin Herrenschmidt
This adds to the previous 2 patches the support for the 4xx PCI Express cells as found in the 440SPe revA, revB and 405EX. Unfortunately, due to significant differences between these, and other interesting "features" of those pieces of HW, the code isn't as simple as it is for PCI and PCI-X and so

[PATCH 4/21] [POWERPC] 4xx PLB to PCI 2.x support

2007-12-20 Thread Benjamin Herrenschmidt
This adds to the previous patch the support for the 4xx PCI 2.x bridges. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- This version implement the basic support for the 405GP bridge, I haven't yet looked at differences that other implementations may have for the PCI 2.x part. arc

[PATCH 3/21] [POWERPC] 4xx PLB to PCI-X support

2007-12-20 Thread Benjamin Herrenschmidt
This adds base support code for the 4xx PCI-X bridge. It also provides placeholders for the PCI and PCI-E version but they aren't supported with this patch. The bridges are configured based on device-tree properties. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- Tested on 440GP o

[PATCH 2/21] [POWERPC] Improve support for 4xx indirect DCRs

2007-12-20 Thread Benjamin Herrenschmidt
Accessing indirect DCRs is done via a pair of address/data DCRs. Such accesses are thus inherently racy, vs. interrupts, preemption and possibly SMP if 4xx SMP cores are ever used. This updates the mfdcri/mtdcri macros in dcr-native.h (which were so far unused) to use a spinlock. In addition, ad

[PATCH 1/21] [POWERPC] Reworking machine check handling and Fix 440/440A

2007-12-20 Thread Benjamin Herrenschmidt
This adds a cputable function pointer for the CPU-side machine check handling. The semantic is still the same as the old one, the one in ppc_md. overrides the one in cputable, though ultimately we'll want to change that so the CPU gets first. This removes CONFIG_440A which was a problem for multip

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

2007-12-20 Thread Stephen Rothwell
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 from the combined build. The precis is that to build a 64 bit kernel with no

[PATCH] [POWERPC] pointers marked as __iomem do not need to be volatile

2007-12-20 Thread Stephen Rothwell
Fixes this warning: arch/powerpc/platforms/powermac/pci.c: In function 'u3_ht_cfg_access': arch/powerpc/platforms/powermac/pci.c:354: warning: return discards qualifiers from pointer target type arch/powerpc/platforms/powermac/pci.c:358: warning: return discards qualifiers from pointer target ty

[PATCH] [POWERPC] constify the of_device_id passed to of_platform_bus_probe

2007-12-20 Thread Stephen Rothwell
This will allow us to declare const all the statically declared arrrays of these. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/of_platform.c |8 include/asm-powerpc/of_platform.h |2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/

[PATCH] [POWERPC] The builtin matches for ibmebus.c can be __initdata

2007-12-20 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ibmebus.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/ibmebus.c b/arch/powerpc/kernel/ibmebus.c index 72fd871..caae49f 100644 --- a/arch/powerpc/kernel/ibmebus.c +++ b/arc

Re: [PATCH 0/4] arch/powerpc support for SBC8560 board

2007-12-20 Thread David Gibson
On Thu, Dec 20, 2007 at 10:38:15PM -0500, Paul Gortmaker wrote: > In message: Re: [PATCH 0/4] arch/powerpc support for SBC8560 board > on 20/12/2007 Kumar Gala wrote: > > >> 3) Add device tree source for Wind River SBC8560 board > >> > >> This is probably the most interesting part of the group, gi

[PATCH] [POWERPC] Add EHEA and EHCA as modules in the ppc64_defconfig

2007-12-20 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/configs/ppc64_defconfig |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/configs/ppc64_defconfig b/arch/powerpc/configs/ppc64_defconfig index 5760b9f..7695a4c 100644 --- a/arch/powerp

[PATCH] [POWERPC] Fix possible NULL deref in ppc32 PCI

2007-12-20 Thread Benjamin Herrenschmidt
The 32-bit PCI code tests if "bus" is non-NULL after calling pci_scan_bus_parented() in one place but not another before derefencing it. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/kernel/pci_32.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- l

Re: [PATCH 0/4] arch/powerpc support for SBC8560 board

2007-12-20 Thread Paul Gortmaker
In message: Re: [PATCH 0/4] arch/powerpc support for SBC8560 board on 20/12/2007 Kumar Gala wrote: >> 3) Add device tree source for Wind River SBC8560 board >> >> This is probably the most interesting part of the group, given that the >> board doesn't use the CPM2 to provide the serial console. I

[DTC PATCH 2/2] Add support for binary includes.

2007-12-20 Thread Scott Wood
A property's data can be populated with a file's contents as follows: node { prop = /bin-include/ "path/to/data"; }; Search paths are not yet implemented; non-absolute lookups are relative to the directory from which dtc was invoked. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- dtc

Enable RTC for Ebony and Walnut

2007-12-20 Thread David Gibson
This patch extends the Ebony and Walnut platform code to instantiate the existing ds1742 RTC class driver for the DS1743 RTC/NVRAM chip found on both those boards. The patch uses a helper function to scan the device tree and instantiate the appropriate platform_device based on it, so it should be

Re: [PATCH v3 2/2] mpc82xx: Embedded Planet EP8248E support

2007-12-20 Thread David Gibson
On Thu, Dec 20, 2007 at 11:45:24AM -0600, Scott Wood wrote: > This board is also resold by Freescale under the names > "QUICCStart MPC8248 Evaluation System" and "CWH-PPC-8248N-VE". > > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> [snip] > + [EMAIL PROTECTED],0 { > +

Re: [RESEND DTC PATCH 2/2] Add support for binary includes.

2007-12-20 Thread David Gibson
On Thu, Dec 20, 2007 at 01:52:59PM -0600, Scott Wood wrote: > A property's data can be populated with a file's contents > as follows: > > node { > prop = /bin-include/ "path/to/data"; > }; I'd be inclined to use /incbin/ rather than /bin-include/. It's only slightly less obvious, but it's

Re: patch pci-fix-bus-resource-assignment-on-32-bits-with-64b-resources.patch added to gregkh-2.6 tree

2007-12-20 Thread Greg KH
On Fri, Dec 21, 2007 at 10:56:13AM +1100, Benjamin Herrenschmidt wrote: > > > The current pci_assign_unassigned_resources() code doesn't work properly > > on 32 bits platforms with 64 bits resources. The main reason is the use > > of unsigned long in various places instead of resource_size_t. > >

Re: [DTC PATCH 1/2] Add yyerrorf() for formatted error messages.

2007-12-20 Thread David Gibson
On Thu, Dec 20, 2007 at 10:48:23AM -0600, Scott Wood wrote: > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> No need for a new function. If yyerror() is defined as a varargs function it's still compatible with bison's built-in usage. Oh, and while you're at it, you can kill off the bogus prototyp

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

2007-12-20 Thread David Gibson
On Thu, Dec 20, 2007 at 06:13:31PM -0500, Jon Smirl wrote: > On 12/20/07, Scott Wood <[EMAIL PROTECTED]> wrote: > > Timur Tabi wrote: > > > Jon Smirl wrote: > > > > > >> mpc5200 does it like this: > > >> of_platform_bus_probe(NULL, NULL, NULL); > > > > > > I think that tells the OF base code to pro

Re: [PATCH 3/4] sbc8560: Add device tree source for Wind River SBC8560 board

2007-12-20 Thread David Gibson
On Thu, Dec 20, 2007 at 09:54:31AM -0500, Paul Gortmaker wrote: > This adds the device tree source for the Wind River SBC8560 board. The > biggest difference between this and the MPC8560ADS reference platform > is the use of an external 16550 compatible UART instead of the CPM2. > > Signed-off-by

Re: [PATCH 0/4] arch/powerpc support for SBC8560 board

2007-12-20 Thread Paul Gortmaker
Kumar Gala wrote: > Can we get ride of sbc85xx in arch/ppc with these patches? > > - k That was the plan, yes. P. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 0/5] Version 17, series to add device tree naming to i2c

2007-12-20 Thread Jon Smirl
Are there any other objections to this patch? If not, can it be targeted for 2.6.25? On 12/19/07, Jon Smirl <[EMAIL PROTECTED]> wrote: > Since copying i2c-mpc.c to maintain support for the ppc architecture seems to > be an issue; instead rework i2c-mpc.c to use CONFIG_PPC_MERGE #ifdefs to > supp

Re: [PATCH 0/4] arch/powerpc support for SBC8560 board

2007-12-20 Thread Kumar Gala
> 3) Add device tree source for Wind River SBC8560 board > > This is probably the most interesting part of the group, given that > the > board doesn't use the CPM2 to provide the serial console. I've made a > duart dts entry that is kind of similar to what is done for the tsi108 > on the mpc7448

Re: patch pci-fix-bus-resource-assignment-on-32-bits-with-64b-resources.patch added to gregkh-2.6 tree

2007-12-20 Thread Benjamin Herrenschmidt
> The current pci_assign_unassigned_resources() code doesn't work properly > on 32 bits platforms with 64 bits resources. The main reason is the use > of unsigned long in various places instead of resource_size_t. > > This fixes it, along with some tricks to avoid casting to 64 bits on > platform

Re: [PATCH 3/4] sbc8560: Add device tree source for Wind River SBC8560 board

2007-12-20 Thread Kumar Gala
On Dec 20, 2007, at 8:54 AM, Paul Gortmaker wrote: > This adds the device tree source for the Wind River SBC8560 board. > The > biggest difference between this and the MPC8560ADS reference platform > is the use of an external 16550 compatible UART instead of the CPM2. > > Signed-off-by: Paul G

Re: [PATCH v2 3/4] [POWERPC][SPI] use brg-frequency for SPI in QE

2007-12-20 Thread Anton Vorontsov
On Thu, Dec 20, 2007 at 11:33:22PM +0300, Anton Vorontsov wrote: > In case of QE we can use brg-frequency (which is qeclk/2). > Thus no need to divide sysclk in the spi_mpc83xx. > > This patch also adds code to use get_brgfreq() on QE chips. > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> >

Re: [PATCH 0/4] arch/powerpc support for SBC8560 board

2007-12-20 Thread Kumar Gala
Can we get ride of sbc85xx in arch/ppc with these patches? - k ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 1/4] sbc8560: add basic support for Wind River SBC8560 as powerpc

2007-12-20 Thread Kumar Gala
On Dec 20, 2007, at 8:54 AM, Paul Gortmaker wrote: > This adds the basic support for the Wind River SBC8560 board, > implemented > as powerpc. It closely follows the implementation of the MPC8560ADS. > > Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> > --- > arch/powerpc/platforms/85xx/Kcon

patch pci-fix-warning-in-setup-res.c-on-32-bit-platforms-with-64-bit-resources.patch added to gregkh-2.6 tree

2007-12-20 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: PCI: Fix warning in setup-res.c on 32-bit platforms with 64-bit resources to my gregkh-2.6 tree. Its filename is pci-fix-warning-in-setup-res.c-on-32-bit-platforms-with-64-bit-resources.patch This tree c

patch pci-fix-bus-resource-assignment-on-32-bits-with-64b-resources.patch added to gregkh-2.6 tree

2007-12-20 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: PCI: Fix bus resource assignment on 32 bits with 64b resources to my gregkh-2.6 tree. Its filename is pci-fix-bus-resource-assignment-on-32-bits-with-64b-resources.patch This tree can be found at http

Re: More patches added to for-2.6.25 and master branches of powerpc.git

2007-12-20 Thread Michael Neuling
Paulus, Can you take the crash shutdown hook patches as well? http://patchwork.ozlabs.org/linuxppc/patch?person=414&id=15546 http://patchwork.ozlabs.org/linuxppc/patch?person=414&id=15547 Mikey In message <[EMAIL PROTECTED]> you wrote: > Andre Detsch (1): > [POWERPC] cell: safer of_has_v

Re: [PATCH 1/4] sbc8560: add basic support for Wind River SBC8560 as powerpc

2007-12-20 Thread Stephen Rothwell
Hi Paul, Just a couple of comments. On Thu, 20 Dec 2007 09:54:29 -0500 Paul Gortmaker <[EMAIL PROTECTED]> wrote: > > +++ b/arch/powerpc/platforms/85xx/sbc8560.c > +static void cpm2_cascade(unsigned int irq, struct irq_desc *desc) > +{ > + int cascade_irq; > + > + while ((cascade_irq = cpm

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

2007-12-20 Thread Jon Smirl
On 12/20/07, Scott Wood <[EMAIL PROTECTED]> wrote: > Timur Tabi wrote: > > Jon Smirl wrote: > > > >> mpc5200 does it like this: > >> of_platform_bus_probe(NULL, NULL, NULL); > > > > I think that tells the OF base code to probe everything in the device tree, > > which is probably overkill. I think

Re: [spi-devel-general] [PATCH v2 3/4] [POWERPC][SPI] use brg-frequency for SPI in QE

2007-12-20 Thread David Brownell
On Thursday 20 December 2007, Anton Vorontsov wrote: > In case of QE we can use brg-frequency (which is qeclk/2). > Thus no need to divide sysclk in the spi_mpc83xx. > > This patch also adds code to use get_brgfreq() on QE chips. > > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> > --- >  arc

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

2007-12-20 Thread Scott Wood
Timur Tabi wrote: > Jon Smirl wrote: > >> mpc5200 does it like this: >> of_platform_bus_probe(NULL, NULL, NULL); > > I think that tells the OF base code to probe everything in the device tree, > which is probably overkill. I think fsl_soc.c covers most of the device > tree, > but the SSI is n

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

2007-12-20 Thread Scott Wood
Timur Tabi wrote: > Olof Johansson wrote: > >>> I was just following the example from another board file. However, the >>> 'soc' >>> node in the device tree does not have a compatible property, so I don't how >>> to >>> change this. >> Then add an appropriate compatible entry to it, please. >

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

2007-12-20 Thread Timur Tabi
Jon Smirl wrote: > mpc5200 does it like this: > of_platform_bus_probe(NULL, NULL, NULL); I think that tells the OF base code to probe everything in the device tree, which is probably overkill. I think fsl_soc.c covers most of the device tree, but the SSI is not defined in fsl_soc.c. -- Timur

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

2007-12-20 Thread Jon Smirl
On 12/20/07, Timur Tabi <[EMAIL PROTECTED]> wrote: > Jon Smirl wrote: > > > How is of_platform_bus_probe() supposed to be called? mpc5200/virtex > > call it with three NULLs. Is it necessary to name all of the buses in > > a of_device_id? If it's not necessary to list the buses the > > of_platform_

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

2007-12-20 Thread Timur Tabi
Olof Johansson wrote: >> I was just following the example from another board file. However, the >> 'soc' >> node in the device tree does not have a compatible property, so I don't how >> to >> change this. > > Then add an appropriate compatible entry to it, please. None of the SOC nodes in

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

2007-12-20 Thread Olof Johansson
On Thu, Dec 20, 2007 at 08:24:35AM -0600, Timur Tabi wrote: > Olof Johansson wrote: > > >> +static struct of_device_id mpc8610_ids[] = { > >> + { .type = "soc", }, > >> + {} > > > > Please scan based on compatible instead of device_type. > > I was just following the example from another board

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

2007-12-20 Thread Timur Tabi
Jon Smirl wrote: > How is of_platform_bus_probe() supposed to be called? mpc5200/virtex > call it with three NULLs. Is it necessary to name all of the buses in > a of_device_id? If it's not necessary to list the buses the > of_platform_bus_probe() call could be moved to common code. I added the a

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

2007-12-20 Thread Jon Smirl
On 12/19/07, Timur Tabi <[EMAIL PROTECTED]> wrote: > +static struct of_device_id mpc8610_ids[] = { > + { .type = "soc", }, > + {} > +}; > + > +static int __init mpc8610_declare_of_platform_devices(void) > +{ > + if (!machine_is(mpc86xx_hpcd)) > + return 0; > + > +

Re: Oops: Kernel access of bad area

2007-12-20 Thread Nathan Lynch
Christian Kujau wrote: > Hi, > > I started some x11 application (here: firefox) through an ssh connection > on a remote host and it crashed somehow. OK, no biggie, killed the > application and be done with it. However, I noticed that the load of the > machine is now constantly at 7. It's an iBo

[RESEND DTC PATCH 2/2] Add support for binary includes.

2007-12-20 Thread Scott Wood
A property's data can be populated with a file's contents as follows: node { prop = /bin-include/ "path/to/data"; }; Search paths are not yet implemented; non-absolute lookups are relative to the directory from which dtc was invoked. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- Apol

[PATCH 4/4] sbc8560: Add default .config file for Wind River SBC8560

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

Re: [PATCH 11/20] [POWERPC] Wire up PCI on Bamboo board

2007-12-20 Thread Benjamin Herrenschmidt
On Thu, 2007-12-20 at 23:26 +0300, Valentine Barshak wrote: > Just checked the ppc440ep user manual again. > Special cycle/IACK registers are at 0xeed0 instead of 0xeed8. > Looks like the same typo as in the internal registers. > It works because all these registers are mirrored at 0x8000

[PATCH v2 4/4] [POWERPC] fsl_spi_init and users: stop using device_type = "spi"

2007-12-20 Thread Anton Vorontsov
..also rename "fsl_spi" to "fsl,spi" and add cell-index property. Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8313erdb.dts|4 ++-- arch/powerpc/boot/dts/mpc832x_mds.dts|8 ++

[PATCH v2 3/4] [POWERPC][SPI] use brg-frequency for SPI in QE

2007-12-20 Thread Anton Vorontsov
In case of QE we can use brg-frequency (which is qeclk/2). Thus no need to divide sysclk in the spi_mpc83xx. This patch also adds code to use get_brgfreq() on QE chips. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_soc.c | 37 ---

[PATCH v2 2/4] [POWERPC][NET] ucc_geth_mii and users: get rid of device_type

2007-12-20 Thread Anton Vorontsov
device_type property is bogus, thus use proper compatible. Also change compatible property to "fsl,ucc-mdio". Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc832x_mds.dts |3 +-- arch/powe

[PATCH v2 1/4] [POWERPC] qe_lib and users: get rid of device_type and model

2007-12-20 Thread Anton Vorontsov
Now we're searching for "fsl,qe", "fsl,qe-muram", "fsl,qe-muram-data". Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc832x_mds.dts |7 --- arch/powerpc/boot/dts/mpc832x_rdb.dts |7

Re: [PATCH 11/20] [POWERPC] Wire up PCI on Bamboo board

2007-12-20 Thread Valentine Barshak
Benjamin Herrenschmidt wrote: > On Wed, 2007-12-19 at 16:34 +0300, Valentine Barshak wrote: > >>> --- linux-work.orig/arch/powerpc/boot/dts/bamboo.dts2007-12-10 >>> 15:56:59.0 +1100 >>> +++ linux-work/arch/powerpc/boot/dts/bamboo.dts 2007-12-10 >>> 16:39:51.0 +1100 >>

[PATCH v2 0/4] device_type/compatible cleanups

2007-12-20 Thread Anton Vorontsov
Hi all, Here is the second version. Changes since v1: - Device tree lookup changes should be backward compatible with older dtbs; - Few of_put_node() cleanups; - cell-index property added to spi nodes; - cpm-muram{,-data} added as an addition to qe-muram{,-data}. Thanks, -- Anton Vorontsov

Re: [PATCH 1/3] ps3: vuart: fix error path locking

2007-12-20 Thread Daniel Walker
On Thu, 2007-12-20 at 12:06 -0800, Andrew Morton wrote: > On Thu, 20 Dec 2007 11:32:25 -0800 Daniel Walker <[EMAIL PROTECTED]> wrote: > > > On Tue, 2007-12-18 at 19:04 -0800, Geoff Levand wrote: > > > > > Unfortunately there wasn't enough context in the patch to see > > > that there is a down() e

Re: [PATCH 1/3] ps3: vuart: fix error path locking

2007-12-20 Thread Andrew Morton
On Thu, 20 Dec 2007 11:32:25 -0800 Daniel Walker <[EMAIL PROTECTED]> wrote: > On Tue, 2007-12-18 at 19:04 -0800, Geoff Levand wrote: > > > Unfortunately there wasn't enough context in the patch to see > > that there is a down() earlier in the routine, and that the patch > > does indeed remove an

[PATCH 0/2] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Timur Tabi
These patches add ALSA SoC device drivers for the Freescale MPC8610 SoC and the MPC8610-HPCD reference board. The first patch updates some files in arch/powerpc and booting-without-of.txt. The second patch adds the new audio driver files to sound/soc. Both must be applied in order to avoid a bu

[PATCH 1/2] [POWERPC] Update MPC8610 HPCD to support audio drivers

2007-12-20 Thread Timur Tabi
Update the MPC8610 HPCD files to support the audio driver. Update booting-without-of.txt with information on the SSI device. Signed-off-by: Timur Tabi <[EMAIL PROTECTED]> --- This patch applies on top of git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa.git. Documentation/powerpc/bootin

[PATCH 1/4] sbc8560: add basic support for Wind River SBC8560 as powerpc

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

Re: [PATCH 1/3] ps3: vuart: fix error path locking

2007-12-20 Thread Daniel Walker
On Tue, 2007-12-18 at 19:04 -0800, Geoff Levand wrote: > Unfortunately there wasn't enough context in the patch to see > that there is a down() earlier in the routine, and that the patch > does indeed remove an incorrectly placed down(). Here is the > entire routine, marked with what the patch re

[PATCH 3/4] sbc8560: Add device tree source for Wind River SBC8560 board

2007-12-20 Thread Paul Gortmaker
This adds the device tree source for the Wind River SBC8560 board. The biggest difference between this and the MPC8560ADS reference platform is the use of an external 16550 compatible UART instead of the CPM2. Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/sbc8560.dt

[PATCH 2/4] CPM2: Make support for the CPM2 optional on 8560 based boards

2007-12-20 Thread Paul Gortmaker
Currently there is no way to disable the CPM2 support. Some boards, like the SBC8560 have their own external UART and don't have any direct dependencies on the CPM for a serial console or anything else. Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/platforms/85xx/Kconfig |

[PATCH 0/4] arch/powerpc support for SBC8560 board

2007-12-20 Thread Paul Gortmaker
The following four patches add support for the Wind River SBC8560 board onto the powerpc branch. The patches are as follows: 1) Add basic support for Wind River SBC8560 as powerpc This adds in the basic platform support file -- closely matching that which exists for the MPC8560ADS board. b/a

[PATCH v3 2/2] mpc82xx: Embedded Planet EP8248E support

2007-12-20 Thread Scott Wood
This board is also resold by Freescale under the names "QUICCStart MPC8248 Evaluation System" and "CWH-PPC-8248N-VE". Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- Resent with dts-v1 and aliases. arch/powerpc/boot/Makefile |3 +- arch/powerpc/boot/dts/ep8248e.dts | 205

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

2007-12-20 Thread Timur Tabi
Takashi Iwai wrote: > All? No, only a few... > For PCI, usually pci_set_dma_mask() and pci_set_consistent_dma_mask() > are used, of course. Hmm, ok I was wrong. I took this code from the ASoC at91 driver. Unfortunately, I don't understand what this code is trying to do. The AT91 driver isn't

Re: [patch/rfc 3/7] ps3: Use the HVs storage device notification mechanism properly

2007-12-20 Thread Geert Uytterhoeven
On Wed, 28 Nov 2007, Geert Uytterhoeven wrote: > From: Geert Uytterhoeven <[EMAIL PROTECTED]> > > ps3: Use the HV's storage device notification mechanism properly > > The hypervisor has a storage device notification mechanism to wait until a > storage device is ready. Unfortunately the storage de

[DTC PATCH 1/2] Add yyerrorf() for formatted error messages.

2007-12-20 Thread Scott Wood
Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- dtc-parser.y | 16 srcpos.h |1 + 2 files changed, 17 insertions(+), 0 deletions(-) diff --git a/dtc-parser.y b/dtc-parser.y index 002ea7f..4a0181d 100644 --- a/dtc-parser.y +++ b/dtc-parser.y @@ -318,6 +318,22 @@ void y

  1   2   >